Question
Timer Prescaler Setting Math operation will produce wrong code
I am not sure if this should be in github or here. But I encounter erroneous code when I use math operation on Timer Prescaler setting, details are below
Describe the set-up
- The board : NUCLEO-G474RE
- IDE or at least the compiler and its version : CubeIDe 1.5.1 and CubeMX 6.1.1-RC2, F1.3.0
- Win10
Describe the bug
TIM6 LL in CubeIDE/MX prescaler cannot use math operation like 170 - 1, (170-1), 170-2, etc.
This is not a problem with ARR.
posted in https://github.com/STMicroelectronics/STM32CubeG4/issues/24
