enjoy-digital / litex

Build your hardware, easily!
Other
2.86k stars 550 forks source link

How used FreeRTOS with LiteX ? #1664

Open Marcelin000000 opened 1 year ago

Marcelin000000 commented 1 year ago

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.

enjoy-digital commented 1 year ago

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).