Closed zdebanos closed 5 months ago
I see this was already merged. We can resolve the comments here and then do the fixup patch.
The problem is that PWM_CPOL_HIGH was introduced into NuttX at August 2023, so if you have older NuttX export then the pysimCoder NuttX devices build would fail.
But recompiling is ok (tested on my F7 board)...
I'll look into it further and I'll try to implement some changes into NuttX that should set the default PWM's output values when turned off.
Some attributes of the info could have been uninitialized.
Set all channels' polarity to active high (PWM_CPOL_HIGH).