boards/arm/ht32f491x3: Add PWM support for the HT32F49163 Starter Kit board#18649
Open
FelipeMdeO wants to merge 1 commit intoapache:masterfrom
Open
boards/arm/ht32f491x3: Add PWM support for the HT32F49163 Starter Kit board#18649FelipeMdeO wants to merge 1 commit intoapache:masterfrom
FelipeMdeO wants to merge 1 commit intoapache:masterfrom
Conversation
Contributor
Author
|
Hello @xiaoxiang781216 , @acassis , @linguini1 . I am working with this board daily, so I am porting drivers step by step. |
Contributor
|
Hi @FelipeMdeO please fix |
acassis
reviewed
Mar 30, 2026
9dbbd23 to
ffb5c68
Compare
ffb5c68 to
9c3c69c
Compare
6d8b785 to
12a7ad2
Compare
acassis
previously approved these changes
Mar 31, 2026
Contributor
Author
|
Hello @acassis , I can't understand pipeline issue, can you help me, please? |
Contributor
|
@FelipeMdeO I think you need to normalize this config: More info: https://nuttx.apache.org/docs/latest/components/tools/refresh.html @simbit18 could you please take a look too? The CI is not clear what the issue is |
linguini1
previously approved these changes
Mar 31, 2026
simbit18
reviewed
Apr 1, 2026
Use static lower-half instances per timer and select the channel through Kconfig and board data instead of passing runtime PWM routing into the driver. This keeps the HT32 PWM support aligned with the existing NuttX pattern and documents the esk32 single-device TMR3 routing. Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
12a7ad2 to
f5dd77e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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