raiden00pl opened a new issue, #15436: URL: https://github.com/apache/nuttx/issues/15436
### Description `CONFIG_PWM_MULTICHAN` seems to be redundant and unnecessarily complicates the PWM implementation in `arch/`. We can achieve the same functionality as `CONFIG_PWM_MUTLICHAN=n` by just setting `CONFIG_PWM_NCHANNELS=1` which is the default value in Kconfig. If a given architecture doesn't support multichanel PWM, then we can just add a simple `#if CONFIG_PWM_NCHANNELS > 1` which returns a compilation error. ### Verification - [X] I have verified before submitting the report. -- 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: commits-unsubscr...@nuttx.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org