2024-12-13 06:28 AM - last edited on 2024-12-13 06:47 AM by Andrew Neil
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
2024-12-13 07:05 AM
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.
2024-12-17 12:06 AM
Hello,
I'm using STM32CubeIDE 1.17.0.
From what I can see in the Help / Installation details / Installed software menu, it uses STM32CubeMX 6.13.0.202411220809
Regards,
Nicolas
2024-12-17 01:10 AM