Description
Short version:
a) Can you for each of the timers defines multiple pins that one might use, which may have different settings.
b) If not, Are there Portenta Preferred ones? Like on GIGA something like pins D2-12...
Longer version: On MBED, I believe when you your code calls analogWrite(...) (assuming not DAC pin), it will go through MBED to the table in
https://github.com/arduino/mbed-os/blob/extrapatches-6.17.0/targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/PeripheralPins.c#L154-L262
This table (actually whole file) is identical to the GIGA variant.
And it finds the port/pin the the table and setups the corresponding timer/channel.
Now suppose there are valid pins on the Portenta that can all map down to the same timer/channel. Can the device tree handle it.
For example:
TIM3_CH1 PA_6
TIM3_CH1 PB_4
TIM3_CH1 PC_6
And that is not including maybe some that might be TIM3_CH1N. Can we define all of these and hope the user only uses one at a time?
If not is there anything in current documentation which suggests which one should be defined? Guessing maybe in this case PC_6?