Loading...
 
Skip to main content

System Workbench for STM32


RTOS TICK_RATE_HZ Update error

When I set non-default tick rate, say 200 Hz, for FreeRTOS in CubeMX, the only place changed
is FreeRTOSConfih.h
It looks like one more place has to be updated inside SystemClock_Config:

Copy to clipboard
HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq()/1000);