tmedicci opened a new pull request, #18686:
URL: https://github.com/apache/nuttx/pull/18686

   ## Summary
   
   Align RISC-V timer integration with Xtensa by replacing the legacy 
systimer-thread backend with esp_timer adapter layers.
   
   Rename local GPTIMER files to avoid header ambiguity, and update board/build 
integration plus sdkconfig timer task options for HAL compatibility.
   
   ## 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
   
   The `rtc` defconfig for ESP32-C3, ESP32-C6, ESP32-H2 and ESP32-P4 can be 
used to check this. All other defconfigs were tested on our internal CI. 
Considering the ESP32-C6-DevKitC board, for instance:
   
   ### Building
   
   ```
   make distclean
   ./tools/configure.sh -S esp32c6-devkitc:rtc
   make flash ESPTOOL_PORT=/dev/ttyUSB0
   ```
   
   ### Running
   
   Run `alarm 5` on NSH
   
   ### Results
   
   ```
   NuttShell (NSH) NuttX-10.4.0
   nsh> alarm 5
   alarm_daemon started
   alarm_daemon: Running
   Opening /dev/rtc0
   Alarm 0 set in 5 seconds
   nsh> alarm_daemon: alarm 0 received
   ```


-- 
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]

Reply via email to