- This topic has 0 replies, 1 voice, and was last updated 1 month, 2 weeks ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Homepage › Forums › General Support › Q&A: Crossworks 2.0.4 compile error
(This message was transferred over from our old forum)
Posted August 14, 2015
By Todd DeBoer
[hr]
On 11/6/09 wella asked, “Has anyone similar problem with Crosworks 2.0.4?
Building “uEZ” in configuration “ARM Flash Debug” — 9 errors
Compiling port.c
Compiling portISR.c
Compiling uEZRTOS_FreeRTOS.c
Compiling tasked.c — 9 errors
c:/VELEK/CKPNewGenerationSWDesign/uEZ/uEZ_SRC/ARM Flash Debug/tasked.asm: Assembler messages:
Error: missing expression — `swi’
Error: missing expression — `swi’
Error: missing expression — `swi’
Error: missing expression — `swi’
Error: missing expression — `swi’
Error: missing expression — `swi’
Error: missing expression — `swi’
Error: missing expression — `swi’
Error: missing expression — `swi’
Build failed
With 2.0.3 was everything ok.”
[hr]
(Follow up post)
Answered:
The problem is within FreeRTOS. There is a macro #define portYIELD() asm volatile ( “SWI” ). However the SWI instruction should take one parameter(number). So that
#define portYIELD() asm volatile ( “SWI 0” ) is working. Maybe Crosworks 2.0.4 was upgraded to the newer gnu asm I do not know. But I can compile it now.