FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [August 2016 Threads]
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.
https://github.com/jameswalmsley/RaspberryPi-FreeRTOS
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.
https://launchpad.net/gcc-arm-embedded/4.9/4.9-2015-q3-update/+download/gcc-arm-none-eabi-49-2015q3-20150921-linux.tar.bz2
3. exported the tool chain PATH,
export PATH="$PATH:/usr/lib/gcc/gcc-arm-none-eabi-4_9-2015q3/bin"
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.