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

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.