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.
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-x86_64_arm-eabi
gcc-linaro-5.2-2015.11-2-x86_64_arm-linux-gnueabihf
gcc-arm-none-eabi-7-2017-q4-major
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.
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.
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
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.