I use e-sdk to test the freertos with pmp.
First, I test with the demo example-freertos-blinky and add the "PMP=ENABLE" in its makefile, but it can't work. The result shows like:
./Downloads/riscv-qemu-5.1.0-2020.08.1-x86_64-linux-ubuntu14/bin/qemu-system-riscv64 --machine sifive_u --bios none -kernel /home/administrator/work/sdk/freedom-e-sdk/software/example-freertos-blinky/debug/example-freertos-blinky.elf --nographic At least one of LEDs is null. FreeRTOS Demo start qemu-system-riscv64: QEMU: Program exited with code '100'
Then I turn to the demo example-freertos-pmp-blinky without changing anything, after building, the result shows like:
./Downloads/riscv-qemu-5.1.0-2020.08.1-x86_64-linux-ubuntu14/bin/qemu-system-riscv64 --machine sifive_u --bios none -kernel /home/administrator/work/sdk/freedom-e-sdk/software/example-freertos-pmp-blinky/debug/example-freertos-pmp-blinky.elf --nographic At least one of LEDs is null. FreeRTOS-PMP Demo start qemu-system-riscv64: QEMU: Program exited with code '100'
I use e-sdk to test the freertos with pmp. First, I test with the demo example-freertos-blinky and add the "PMP=ENABLE" in its makefile, but it can't work. The result shows like:
./Downloads/riscv-qemu-5.1.0-2020.08.1-x86_64-linux-ubuntu14/bin/qemu-system-riscv64 --machine sifive_u --bios none -kernel /home/administrator/work/sdk/freedom-e-sdk/software/example-freertos-blinky/debug/example-freertos-blinky.elf --nographic At least one of LEDs is null. FreeRTOS Demo start qemu-system-riscv64: QEMU: Program exited with code '100'
Then I turn to the demo example-freertos-pmp-blinky without changing anything, after building, the result shows like:./Downloads/riscv-qemu-5.1.0-2020.08.1-x86_64-linux-ubuntu14/bin/qemu-system-riscv64 --machine sifive_u --bios none -kernel /home/administrator/work/sdk/freedom-e-sdk/software/example-freertos-pmp-blinky/debug/example-freertos-pmp-blinky.elf --nographic At least one of LEDs is null. FreeRTOS-PMP Demo start qemu-system-riscv64: QEMU: Program exited with code '100'
So does the demo really work incorrectly?