Importing the demo of freeRTOS to Eclipse, and build.. "no such instruction: `swi 0'"

zan-1 wrote on Friday, January 22, 2016:

Hello.

I tried importing the demo of freeRTOS to Eclipse, and built
as describing in following pase.

But following error appeared.

cc686g4b.s:220: Error: no such instruction: `swi 0’

How can I solve this problem?

Using compiler is MinGW.
Eclipse is Ver.MARS.1 (4.5.1)

edwards3 wrote on Friday, January 22, 2016:

swi 0 is an ARM instruction, MinGW is an x86 compiler. What did you intend to build, and ARM or x86 project?

zan-1 wrote on Saturday, January 23, 2016:

Thanks for reply.
I didn’t know that I have to use ARM compiler.

I refer to this site:

http://www.acmesystems.it/foxg20_eclipse_windows_c