wmrsouza opened a new pull request, #20329: URL: https://github.com/apache/nuttx/pull/20329
Some RISC-V ESP32 SoCs such as the ESP32-C2 have no RTC retention memory, so RTC_DATA_ATTR cannot be used for the persistent RTC time. This PR places the backup data in DRAM on those chips, where the saved time does not survive deep sleep. ## Impact Impact on user: No. Impact on build: No. Impact on hardware: No. Impact on documentation: No. Impact on security: No. Impact on compatibility: No. ## Testing ### Building ``` make distclean && ./tools/configure.sh -S esp8684-devkitm:rtc && make -j && make flash ESPTOOL_PORT=/dev/ttyUSB0 && picocom -b 115200 /dev/ttyUSB0 ``` ### Running ``` nsh> alarm 10 ``` ### Results ``` Opening /dev/oneshot Maximum delay is 18446744073709551615 Starting oneshot timer with delay 2000000 microseconds Waiting... Finished ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
