2026-02-24 1:06 AM
Folks,
I have FreeRTOS running on an H563, trust zone not used. Created the basic setup from an ioc. I have an ocassional task starvation issue and want to double check there's no stack overflow (unlikely but must check).
If I set configCHECK_FOR_STACK_OVERFLOW to 1 in FreeRTOS.h
In cmsis_os2.c, vApplicationStackOverflowHook is still greyed out and hovering over configCHECK_FOR_STACK_OVERFLOW claims it's set to 0. control clicking on it takes me to the defintion where it is set to 1.
Anyone know what is going on here please? And why is it set in FreeRTOS.h, not FreeRTOSConfig.h?
Thanks
Solved! Go to Solution.
2026-02-24 1:34 AM
In STM32CubeIDE: Project->C/C++ Index->rebuild
2026-02-24 1:15 AM
Did you build? Have you tried rebuilding the index?
2026-02-24 1:18 AM
Yep, naturally I built it. I don't know what you mean by rebuilding the index though, sorry.
2026-02-24 1:34 AM
In STM32CubeIDE: Project->C/C++ Index->rebuild
2026-02-24 1:37 AM
That has done it, many thanks.
2026-02-24 1:47 AM
@DiBosco wrote:That has done it, many thanks.
Great to hear. Please mark the reply containing the solution as solution (drop down menu on top right of post) so others know this problem is solved. Thanks in advance.