GNUARM + FreeRTOS

OP #1776270
Rate this post
useful
not useful
Hi,

I am trying to study FreeRTOS on ARM. For  this I downloaded FreeRTOS 
examples folder and installed GNUARM and UNXUTILS as it is described on 
their site. The problem is that I can not compile any examples with 
gnuarm:

//******************************************************
C:\FreeRTOS\Demo\ARM7_LPC2106_GCC>make
arm-elf-gcc -c -Wall -Wextra -Wshadow -Wpointer-arith 
-Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused 
-D R
_FROM_RAM -D GCC_ARM7 -I. -I../../Source/include -I../Common/include -g 
-mcpu=arm7tdmi -Tlpc2106-ram.ld -O0 -fomit-frame-pointer 
-fno-strict-aliasing -fno-dwarf2-cfi-asm ../../Source/portable/GCC/AR
_LPC2000/portISR.c -o ../../Source/portable/GCC/ARM7_LPC2000/portISR.o
process_begin: CreateProcess((null), arm-elf-gcc -c -Wall -Wextra 
-Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare 
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
Wmissing-declarations -Wunused -D RUN_FROM_RAM -D GCC_ARM7 -I. 
-I../../Source/include -I../Common/include -g -mcpu=arm7tdmi 
-Tlpc2106-ram.ld -O0 -fomit-frame-pointer -fno-strict-aliasing 
-fno-dwarf2
fi-asm ../../Source/portable/GCC/ARM7_LPC2000/portISR.c -o 
../../Source/portable/GCC/ARM7_LPC2000/portISR.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [../../Source/portable/GCC/ARM7_LPC2000/portISR.o] Error 2
//*****************************************************

I have similar output for all GCC examples. The Gnuarm\bin and 
UnxUtils\usr\local\wbin are included to the PATH e.g. I can run make or 
arm-elf-gcc from the command line without problem.
OP #1777073
Rate this post
useful
not useful
Just a little update, maybe it will be useful for someone else. There is 
an easy way to setup an Eclipse GUI to work with a free version of the 
CodeSourcery that I tested 5 minutes ago and it really works:

http://developers.stf12.net/eclipse-demo

It has some little problems (like the example they refer to is not 
included in the latest FreeRTOS release, but it is still available on 
their site) which can be fixed relatively easily.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now