Hello,
I just try to get FreeRTOS to run under CW 10.2 with GCC compiler. I have also tried to download the original FreeRTOS sources and use the GCC / ARM_CM4 portable files. All compiles fine except the vPortSVCHandler and xPortPendSVHandler functions, that end up in illegal operand error. I first wanted to use the CM3 file but there is an addition orr r14 , 0xD instruction that will fail to compile and is not in the CM4F port.c. So I turned on hardware floating point support and changed the __VFP_FP__ macro to __VFPV4_ as it is called in the GCC, now the only problematic lines are
" ldr r3, pxCurrentTCBConst2 \n" and
"pxCurrentTCBConst2: .word pxCurrentTCB \n"
I assume there is some asm syntax problem but I cannot identify this yet , any ideas?
I've also downloaded and installed the FreeRTOS and Utility processor packages from your website and it works but it the handlers are in asm only and the orr function is used (still don't know what it does.