NOTE:This is a read only archive of threads posted to the FreeRTOS support forum. Use these archive pages to search previous posts. New forum support threads can be started at the
FreeRTOS forums.
FreeRTOS Support Archive
The FreeRTOS support forum can be used for active support both from Amazon Web Services and the community. In return for using our software for free, we request you play fair and do your bit to help others! Sign up for an account and 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. Use these archive pages to search previous posts. New forum support threads can be started at the FreeRTOS forums.
[FreeRTOS Home]
[Live FreeRTOS Forum]
[FAQ]
[Archive Top]
[March 2018 Threads]
Compile FreeRTOS for Cortex-r7
Posted by
casey_55 on March 12, 2018
I am trying to compile FreeRTOS for cortex-r7. Every toolchain I have tried (4 toolchains so far), gives
me the same errors. I’ve verified that it is invoking the correct gcc & as.
[src$:537]
$CC -c ../src/queue.c -I ../inc -mthumb -mcpu=cortex-r7
/tmp/ccW9m3Rr.s: Assembler messages:
/tmp/ccW9m3Rr.s:86: Error: unexpected character l' in type specifier
/tmp/ccW9m3Rr.s:86: Error: bad instruction
push.l R10′
/tmp/ccW9m3Rr.s:87: Error: unexpected character l' in type specifier
/tmp/ccW9m3Rr.s:87: Error: bad instruction
mov.l #0x872E0,R10′
My development environment is ubuntu 16.04 virtualbox running on x86 windows.
1. Which toolchain I should be using for bare metal cross compiles? So far, I’ve tried:
arm-none-eabi
gcc-linaro-5.1-2015.08-x8664arm-eabi
gcc-linaro-5.2-2015.11-2-x8664arm-linux-gnueabihf
gcc-arm-none-eabi-7-2017-q4-major
2. Appropriate command line options. I don’t care for optimization at this point. My target is
the Cortext-R7 cpu in a Renesas M3 device.
Thanks
Compile FreeRTOS for Cortex-r7
Posted by
rtel on March 12, 2018
I think the arm-none-eabi-gcc compiler from
https://launchpad.net/gcc-arm-embedded will work, but for Renesas I
previously used the KPIT provided toolchains:
https://interactive.freertos.org/hc/en-us/community/topics/200480246-Renesas
Compile FreeRTOS for Cortex-r7
Posted by
casey_55 on March 13, 2018
launchpad.net links to ARM download page where there is gcc-arm-none-eabi-7-2017-q4-major-linux.tar.bz2. I already tried that with the same problems.
I’ll try the KPIT toolchain tomorrow.
Compile FreeRTOS for Cortex-r7
Posted by
casey_55 on March 13, 2018
KPIT does not seem to have any compilers for the cortex-r7. I think their tools are for other
(Renesas specific) architectures. Did not seem to be ARM related. I am not familiar with the CPU names there.
Compile FreeRTOS for Cortex-r7
Posted by
casey_55 on March 14, 2018
Finally built this. In ubuntu, install gcc-arm-none-eabi. Use these command line options:
-Os -g -Wall $(INCLUDES) -mcpu=cortex-r7 -marm -mfpu=vfpv4 -mfloat-abi=hard
Compile FreeRTOS for Cortex-r7
Posted by
rtel on March 14, 2018
Thanks for reporting back.
Compile FreeRTOS for Cortex-r7
Posted by
mani111ece on March 27, 2018
Newly started freeRTOS. I don’t know how to make it work.but I wanna learn freeRTOS so please guide me.
how you are building and running the sample apps for any board.please suggest any one board so that I can explore more.
so please let me know how to build and run.
Compile FreeRTOS for Cortex-r7
Posted by
rtel on March 27, 2018
There is a documentation page that tells you how to build the demo for
each demo in the download. The best place to start is here:
https://www.freertos.org/FreeRTOS-quick-start-guide.html
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.