[FEATURE] PWM Pulse Counter needs board example and application
Is your feature request related to a problem? Please describe.
STM32 supports PULSECOUNT feature, however someone who added CONFIG_PWM_PULSECOUNT support didn't include any board config or usage example.
In theory the apps/example/pwm has support to CONFIG_EXAMPLES_PWM_PULSECOUNT, but there is no board with it enable, so probably this feature never was really well tested.
Describe the solution you'd like
Add some board profiles using the PWM PULSECOUNT.
Describe alternatives you've considered
No response
Verification
- [x] I have verified before submitting the report.
@raiden00pl did you test PWM PULSECOUNT ?
here is some discussion also on PWM PULSECOUNT: https://github.com/apache/nuttx/issues/12381
This feature should not be included in the PWM driver at all and should be a separate driver :)
Last time I tested it it worked for stm32
Thank you @raiden00pl !!! Yes, I agree with you. Looking the code it seems like when the PULSECOUNT is enabled the normal PWM configure function will not be enabled (even if someone want to use it in another TIM peripheral)