FreeRTOS on RISC-V QEMU for spike machine
- Install riscv-gnu tools.
- Install RISC-V QEMU
- Go to FreeRTOS/Demo/riscv-spike and edit makefile.inc for gcc path setup
- Build FreeRTOS using make command on terminal and it generates riscv-spike.elf file
- copy riscv-spike.elf file into RISC-V QEMU root folder and go to RISC-V QEMU root folder from command line.
- run "./riscv64-softmmu/qemu-system-riscv64 -machine spike_v1.9 -kernel riscv-spike.elf -nographic" or "./riscv64-softmmu/qemu-system-riscv64 -machine spike_v1.10 -kernel riscv-spike.elf -nographic"