boards/arm/ht32f491x3: Add PWM support for the HT32F49163 Starter Kit board#18649
Open
FelipeMdeO wants to merge 2 commits intoapache:masterfrom
Open
boards/arm/ht32f491x3: Add PWM support for the HT32F49163 Starter Kit board#18649FelipeMdeO wants to merge 2 commits intoapache:masterfrom
FelipeMdeO wants to merge 2 commits intoapache:masterfrom
Conversation
Add a TMR3-based PWM lower-half driver for the HT32F491x3 port, register /dev/pwm0 on the esk32 board, and add an esk32:pwm configuration for board-level validation. Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
Document the esk32:pwm configuration, the default TMR3 PWM pin mapping, the NSH validation command and expected output, and add a peripheral support table covering the current board status. Signed-off-by: Felipe Moura <moura.fmo@gmail.com>
Contributor
Author
|
Hello @xiaoxiang781216 , @acassis , @linguini1 . I am working with this board daily, so I am porting drivers step by step. |
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