FreeRTOS for RISC-V
This is an example to test srv32 on FreeRTOS
Build
git clone https://github.com/kuopinghsu/FreeRTOS-RISCV
cd FreeRTOS-RISCV && make
Folder Lists
Folder / File | Description |
---|---|
FreeRTOS-POSIX/ | FreeRTOS POSIX pthread source |
FreeRTOS-Kernel/ | FreeRTOS kernel source |
Demo/examples/perf.c | performance test |
Demo/examples/pi_pthread.c | PI pthread example |
Demo/examples/pthread.c | pthread example |
Demo/examples/queue.c | queue example |
Demo/examples/sem.c | semaphore example |
Demo/examples/task.c | task creation example |
Demo/hartstone/ | Hartstone benchmark |
Run
Requirement: Install the toolchains. See details in srv32 Building toolchains section.
Clone srv32 and copy the FreeRTOS's demo to srv32 'sw' folder. The demo can be run in the RTL and ISS simultor of srv32. See details in FreeRTOS support of srv32.