vespaman2 wrote on Thursday, January 22, 2009:
Hi,
Finally, I am at the point where I am trying my first steps with FreeRTOS!
But, I run in to problem immedialetly, in that I can’t even build the demo example;
I have FreeRTOS 5.1.1, gcc version 4.3.2 (Sourcery G++ Lite 4.3-54)
Since I normally don’t use Eclipse, I simply tried to ‘make’ from within the folder where the makefile is, and I got some path errors, which might be expected. (see output below)
So I instead tried using Eclipse, where I selected the workspace as suggested in the guide, and I set the root dir for FreeRTOS, I hit refresh on the project, and ‘Build All’ and … and … Nothing! No output window or anything. Nothing gets build and no errors…
Since I never used Eclipse, I don’t know how to carry on from here.
Or should I instead try to make a new makefile, and forget about Eclipse?
Output from make at command line;
~/projects/FreeRTOS/Demo/ColdFire_MCF52233_Eclipse/RTOSDemo $ make
m68k-elf-gcc -I./webserver -I"./…/…/Common/ethernet/FreeRTOS-uIP" -I"./…/…/…/Source/include" -I"include" -I"./…/…/Common/Minimal/…/include" -I"./…/…/…/Source/portable/GCC/ColdFire_V2" -I./MCF5223x -I. -D COLDFIRE_V2_GCC -D PACK_STRUCT_END=__attribute\(\(packed\)\) -D ALIGN_STRUCT_END=__attribute\(\(aligned\(4\)\)\) -O0 -D bktPRIMARY_PRIORITY=4 -D bktSECONDARY_PRIORITY=3 -fno-strict-aliasing -g3 -gdwarf-2 -Wall -Wextra -c -ffunction-sections -fdata-sections -fmessage-length=0 -funsigned-char -Wextra -mcpu=52235 -MMD -MP -MF"bin/main.d" -MT"bin/main.d" -o"bin/main.o" “main.c”
In file included from ./…/…/…/Source/include/FreeRTOS.h:66,
from main.c:79:
./…/…/…/Source/include/portable.h:206:65: error: …/…/…/source/portable/GCC/ColdFire_V2/portmacro.h: No such file or directory
In file included from ./…/…/…/Source/include/FreeRTOS.h:66,
from main.c:79:
./…/…/…/Source/include/portable.h:264: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
./…/…/…/Source/include/portable.h:277: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘xPortStartScheduler’
In file included from main.c:79:
.
Cheers,
Micael