Closed rzr closed 5 years ago
Pre UNIX convention devices start on 0 index while STM32 timers start on 1. So a -1 shift is applied:
eg: /dev/pwm0 is for used Timer1
It was tested along nucleo-144 (stm32f7) port
Relate-to: https://bitbucket.org/nuttx/nuttx/pull-requests/874/ Relate-to: https://github.com/rzr/webthing-iotjs/issues/3 Change-Id: Ia0b468bcb203f94107e472f837a5d38dbcfee71d IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com
Pre UNIX convention devices start on 0 index while STM32 timers start on 1. So a -1 shift is applied:
eg: /dev/pwm0 is for used Timer1
It was tested along nucleo-144 (stm32f7) port
Relate-to: https://bitbucket.org/nuttx/nuttx/pull-requests/874/ Relate-to: https://github.com/rzr/webthing-iotjs/issues/3 Change-Id: Ia0b468bcb203f94107e472f837a5d38dbcfee71d IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com