This is an example to test srv32 on FreeRTOS
git clone https://github.com/kuopinghsu/FreeRTOS-RISCV
cd FreeRTOS-RISCV && make
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 |
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.