litex icon indicating copy to clipboard operation
litex copied to clipboard

How used FreeRTOS with LiteX ?

Open Marcelin000000 opened this issue 2 years ago • 2 comments

Hi !

I want to implement RTOS in my SoC built with LiteX. I want to use FreeRTOS on the CVA6 CPU. But, I don't see how to link FreeRTOS to my SoC csr.h file.

Marcelin000000 avatar Mar 28 '23 13:03 Marcelin000000

Hi @Marcelin000000,

we don't yet have FreeRTOS support in LiteX, but you can probably use ChatGPT to simplify adding FreeRTOS support. Here is an outline of the steps you could follow:

image image

Feel free to also play yourself with ChatGPT to get more indications (ChatGPT has a general understanding of both FreeRTOS and LiteX, it will not create the port for you, but can help you figure our the different steps involved).

enjoy-digital avatar Apr 04 '23 06:04 enjoy-digital

commenting here since I just was trying to answer the same question. It appears that neorv32 has a funtional FreeRTOS port. I have yet to try it myself, but that seems to be the simplest starting point without respect to platform specific peripherals.

LukeGary462 avatar Aug 04 '25 15:08 LukeGary462