Can FreeRTOS run on qemu for CORTEX-R?

Hi everyone,

I’m trying to build and run a FreeRTOS image for the ARM Cortex-R5 processor on QEMU, but I’m having trouble figuring out how to generate the correct image using only linux command-line tools.

From the official documentation, it looks like the build process is using an IDE, but I’d like to replicate the same process manually — using only GNU Arm Embedded Toolchain (arm-none-eabi-gcc) and Make/CMake (no IDE).

So far, I have cloned the FreeRTOS git repo and located the demos for CORTEX-R. I have Tried compiling manually with arm-none-eabi-gcc , but I’m not sure how to correctly generate the ELF or BIN image that QEMU expects.
I wish to know how I can build the FreeRTOS demo for CORTEX-R5 and run on qemu.

Any help or reference is appreciated.

Regards

Which documentation are you talking about? Can you share link?

I was referring to the following document ARM Cortex-R5 Xilinx UltraScale MPSoC - FreeRTOS™

This example if for a Xilinx hardware and not for Qemu. Your best bet would be to first get a bare metal application running on Qemu for Cortex-R and then you can add FreeRTOS to the application. We can help with the later if you face any issues.