Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

example-freertos-pmp-blinky can't work well #622

@sudashannon

Description

@sudashannon

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions