I get the compiler error:
Error: missing expression - `swi’ in queue.c at the line(s) taskYIELD. I am using RTOS 6.0.1 for the ARM7 in the GCC version. However I tried a 5.x queue.c file with the same result. Additionally I generated a list file of queue. c that has the following appearence:
485:C:/ARM7Programme/workspace/RTOS/rtos/source\queue.c **** taskYIELD
308 .loc 1 486 0
309 @ 486 “C:/ARM7Programme/workspace/RTOS/rtos/source/queue.c” 1
311 @ 0 “” 2
So in principle the replacement of taskYIELD() to SWI seems OK. So my guess is more of an assembler syntax problem. I also tried the different portmacro.h versions for the ARM7 that are available without any success.
I am using the gcc version 4.4.2 and assembler 2.2.
Does anybody has a hint ?