2017-02-04 10:00 AM
Hi,
I used to use cubemx with 1.5.1 firmware.
I am using NUCLEO-F767ZI board. After formatting my computer, I realize that there is something new in timer configuration lines. It comes as:htim(anyofthem).Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
After cubemx, I am adding configuration files to the mbed OS and it returns error for that lines.
If I just delete that line, is the board works properly?
#cube-mx #nucleo-f767zi2017-02-04 11:34 AM
Yes, it is a new provision that is included for CubeMX 4.19. If you delete the line, it will default to
TIM_AUTORELOAD_PRELOAD_DISABLE, and the ARPE bit in the timer will not be set.
If your code does not rely on the ability to pre-load a new timing period on-the-fly (without stopping the timer first), then you don't need to worry if it is disabled.
2018-04-13 03:41 AM
then why is it in production version when its just generate errors? if its for future the enable it when its ready to implement
>:(