Compile FreeRTOS for Cortex-r7

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 instructionpush.l R10′ /tmp/ccW9m3Rr.s:87: Error: unexpected character l' in type specifier /tmp/ccW9m3Rr.s:87: Error: bad instructionmov.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

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

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

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

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

Thanks for reporting back.

Compile FreeRTOS for Cortex-r7

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

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