FelipeMdeO opened a new pull request, #18649: URL: https://github.com/apache/nuttx/pull/18649
## Summary This PR adds PWM support for the HT32F491x3 ESK32 board. ## Changes included: add HT32F491x3 TMR3 PWM lower-half driver support register /dev/pwm0 on the ESK32 board add board-level PWM pin mapping for TMR3 channels 1 to 4 add esk32:pwm configuration for board-level PWM validation document PWM support, pin mapping, and test procedure for ESK32 ## Impact Is new feature added? Yes Impact on user: esk32:pwm now provides /dev/pwm0 and the pwm example application for board-level PWM testing Impact on build: No global build changes Impact on hardware: Yes, ARM/HT32F491x3 ESK32 board support Impact on documentation: Yes Impact on security: No ## Testing ``` ./tools/configure.sh -l esk32:pwm make olddefconfig make -j source /home/mouraf/projects/nuttxspace/.venv-tools/bin/activate ./tools/checkpatch.sh -m -g origin/master..HEAD ``` ## Hardware tested on HT32F49163 Starter Kit: NSH boot on USART1 /dev/pwm0 registered successfully pwm example executed successfully PWM output measured with a logic analyzer 1 kHz PWM generated on PA6 with 50% duty cycle as expected PWM start and stop behavior matched the command duration -- 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]
