We use FreeRTOS in a bootloader. When the bootloader’s job is finished we need to stop the scheduler and jump to a different location where the main application starts. When trying to compile the “new” vPortEndScheduler (which I moved to portISR.c for compilation in ARM Mode) I get the following junk thrown at me:
/cygdrive/c/DOCUME~1/RFI~1.LOD/LOCALS~1/Temp/cczKqAza.s: Assembler messages:
/cygdrive/c/DOCUME~1/RFI~1.LOD/LOCALS~1/Temp/cczKqAza.s:12: Error: flag for {c}psr instruction expected – `msr CPSR_C,#0xD3’
/cygdrive/c/DOCUME~1/RFI~1.LOD/LOCALS~1/Temp/cczKqAza.s:14: Error: bad instruction `sbx LR’
make[1]: *** [Source/portable/GCC/ARM7_AT91SAM7/portISR.o] Error 1
I have no idea what this means. Can someone help me here ?