Hey there, I am new to raspbian/FreeRTOS environments. I want to port FreeRTOS into my raspberry pi2 board.
The raspberry pi2 board now runs at raspbian OS from the SD card. My idea is to build the FreeRTOS demo source at the raspbian environment. Then replace the FreeRTOS kernel image file with raspbian kernel img file, at the SD card. Finally boot the pi2 using FreeRTOS kernel - then to start the game all over.
But the problem is in building FreeRTOS source at raspbian environment. Its giving this error,
Syntax error: word unexpected (expecting ")")
All I did was....
1. downloaded FreeRTOS demo source from below link - to the path /home/pi/FreeRTOS/ - Got it untar-ed at the same path.
2. downloaded gcc-arm-none-eabi-49-2015q3 tool chain from the below link. Untar-ed it to /usr/lib/gcc/ - coz this is path used at the makefile of FreeRTOS demo source.
3. exported the tool chain PATH,
4. run the 'make' command.
But all it gave me was...
/usr/lib/gcc/gcc-arm-none-eabi-49-2015q3/bin/arm-none-eabi-gcc: 1: /usr/lib/gcc/gcc-arm-none-eabi-49-2015q3/bin/arm-none-eabi-gcc: Syntax error: word unexpected (expecting ")")
/home/pi/FreeRTOS/RaspberryPi-FreeRTOS-master/.dbuild/c-objects.mk:25: recipe for target '/home/pi/FreeRTOS/RaspberryPi-FreeRTOS-master/build/FreeRTOS/Source/portable/GCC/RaspberryPi/port.o' failed
make: * [/home/pi/FreeRTOS/RaspberryPi-FreeRTOS-master/build/FreeRTOS/Source/portable/GCC/RaspberryPi/port.o] Error 2
Please guide me further. What am I missing ?
I'm afraid I have no knowledge of that environment at all. You are also
using code from a repository which is not provided or maintained by us,
so I would recommend asking the repository's owner.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.