I am trying to work with Efinix Trion board I can’t find any demo project for that specific board.
Can you post a link to the board and tell us what you are trying to do. Googling I just find FPGA’s so assume some kind of soft core.
I need demo code of RTOS for this specific board.
As per this document, this is an FPGA. Which core do you have on it?
VexRiscv RISC-V Core
Then you should be able to use our RISC-V port - FreeRTOS-Kernel/portable/GCC/RISC-V at main · FreeRTOS/FreeRTOS-Kernel · GitHub
Here are some RISC-V demos:
- FreeRTOS/FreeRTOS/Demo/RISC-V_RV32_QEMU_VIRT_GCC at main · FreeRTOS/FreeRTOS · GitHub
- FreeRTOS/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio at main · FreeRTOS/FreeRTOS · GitHub
- FreeRTOS/FreeRTOS/Demo/RISC-V_RV32M1_Vega_GCC_Eclipse at main · FreeRTOS/FreeRTOS · GitHub
If you are starting to learn FreeRTOS, I’d recommend to start with the QEMU example as it does not require a hardware and you will be able to play around with FreeRTOS features.
This book is also a good resource to learn about FreeRTOS - https://www.freertos.org/fr-content-src/uploads/2018/07/161204_Mastering_the_FreeRTOS_Real_Time_Kernel-A_Hands-On_Tutorial_Guide.pdf