nuttx/arch/xtensa/src
Tiago Medicci Serrano fc5c01dc70 xtensa/esp32: Fix RWDT register offsets.
The RWDT register offsets were incorrectly set to ESP32-S3 values
instead of ESP32 values. This was introduced when the code was
refactored from using the local NuttX header hardware/esp32_rtccntl.h
(which had the correct offsets) to using the HAL library headers, and
the offsets were moved inline into esp32_wdt.c with wrong values.

Correct the offsets to match the actual ESP32 register layout from
soc/rtc_cntl_reg.h (RTC_CNTL_WDTCONFIG0_REG at 0x8c, INT_ENA at
0x3c, etc). Without this fix, all RWDT operations (enable, configure
timeout, enable interrupt, acknowledge interrupt, feed, write-protect)
were targeting wrong memory addresses, rendering the RWDT completely
non-functional.

Signed-off-by: Tiago Medicci Serrano <tiago.medicci@espressif.com>
2026-05-27 09:36:43 +08:00
..
cmake build/cmake: Add toolchain C++ library linking for all platforms. 2026-01-24 19:30:21 +08:00
common !nuttx: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-19 16:21:28 +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 build: Remve the unnecessary .gitignore 2020-05-23 18:00:40 +01:00
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