Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

porting FreeRTOS on raspberry pi2

Posted by divakarrajr on August 27, 2016

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 ?


porting FreeRTOS on raspberry pi2

Posted by rtel on August 27, 2016

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.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists