nuttx/arch/xtensa/src
yushuailong c11029848e arch/xtensa/espressif: Fix non-atomic clock read in esp_rtc_rdalarm.
esp_rtc_rdalarm() computed tv_sec and tv_nsec from two separate
evaluations of esp_hr_timer_time_us() + offset + deadline. The
high-resolution timer advances between the two calls, so a read that
straddles a second boundary yields an inconsistent timespec.

Compute the microsecond value once into a local variable and derive
both fields from that single snapshot.

Signed-off-by: yushuailong <yyyusl@qq.com>
2026-06-11 02:59:10 +08:00
..
cmake build/cmake: Add toolchain C++ library linking for all platforms. 2026-01-24 19:30:21 +08:00
common arch/xtensa/espressif: Fix non-atomic clock read in esp_rtc_rdalarm. 2026-06-11 02:59:10 +08:00
esp32 xtensa/esp32: Fix RWDT register offsets. 2026-05-27 09:36:43 +08:00
esp32s2 xtensa/esp32s2: Re-apply WDT prescaler and timeout at start. 2026-05-27 09:36:43 +08:00
esp32s3 xtensa/esp32s3: Re-apply WDT prescaler and timeout at start. 2026-05-27 09:36:43 +08:00
lx6 arch\xtensa: Fix Make style 2026-03-23 18:16:46 -04:00
lx7 arch\xtensa: Fix Make style 2026-03-23 18:16:46 -04:00
.gitignore
CMakeLists.txt arch/xtensa: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Makefile arch/*/src/Makefile: Avoid uncessary relinking of the nuttx binary. 2026-05-18 09:33:58 +02:00