I’m trying to use FreeRTOS with GCC 4.4.1 from CodeSourcery for
I have compiled FreeRTOS CodeWarrior demo for MCF51CN128 with GCC.
Adapted makefile from MCF52233 demo and trying to run an LED task.
It look like I have a problem with context switching. Inserting
breakpoints into vPortYieldISR and stepping it look like it crashes after switching back to LED task:
- vPortStartFirstTask: (LED)
- vPortYieldISR: (IDLE)
stores context of current task, restores context of LED task (doesn’t
look like a garbage or pointing out of stack)
Compiler options are the same as for MCF52233 apart from cpuid and liker