I’ve got a strange problem on an STM32F4Discovery board which is probably sticky fingers, but has got me fooled. This is FreeRTOS 7.4.0.
I’ve created an extremely simple build (summon-arm-toolchain) with no active tasks. I have
When I set
to 1, everything is cool, and I can set/trigger a breakpoint in
which implies the code is all cushty.
When I set it to 2, I never seem to reach
. I have taken the expansion for
and pasted it into
, then replaced the
which results in
getting called again (and no, I’m not running out of stack, I’ve got breakpoints in there and I’ve tried setting the stack huge with no change).
Hand stepping through
doesn’t reveal anything strange going on either. Its getting late and I will have missed something obvious, but wondered if anyone else had seen any similar behaviour?