Systick

Posted by bachadamin on March 14, 2017

Hello Guys , I'm using freertos v9.0 with stm32f051, my question is "Do I need to configure the systick of my core or i just #define xPortSysTickHandler SysTick_Handler and it's gonna work without configuring thr systick ?"


Systick

Posted by rtel on March 14, 2017

If you are using STM32Cube then you probably need to do neither. Otherwise you don't need to configure SysTick yourself, but you do need to install the FreeRTOS SysTick handler. If your vector table names the SysTick hanlder SysTick_Handler then you are correct, #defining to that name in FreeRTOSConfig.h will work.