cancel
Showing results for 
Search instead for 
Did you mean: 

FreeRTOS SysTick_Handler missing

DrPiWork
Associate

Moved from MPUs forum; STM32F072 is an MCU - not an MPU.


Hi,

I've just started a new project for a STM32F072 chip using STM32CubeIDE 1.17.0.
When adding FreeRTOS support to my project, the program hangs soon after osKernelStart() is called.
I had hard time finding the culprit.

The problem is that the SysTick_Handler() present in cmsis_os2.c is not used (It is surrounded with #if defined(SysTick) /  #endif).
Because os this, the default handler is called (infinite while loop).

I've worked around this problem by copying the SysTick_Handler() function in my code. But this problem should be fixed in the STM32CubeIDE code generator.

Best regards,

Nicolas

1 REPLY 1
Imen.D
ST Employee

Hello @DrPiWork 

Make sure to use the STM32CubeMX version 6.13.0.

If the issue is not resolved with this latest release, please share your ioc file to reproduce this.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen