1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/cpu/pmp_noexec_ram/README.md

12 lines
394 B
Markdown
Raw Normal View History

2023-06-06 17:30:51 +02:00
# mpu_noexec_ram
Tests for the `pmp_noexec_ram` pseudomodule.
Only supported on RISC-V devices with PMP.
## Output
With `USEMODULE += pmp_noexec_ram` in `Makefile` this application should
execute a kernel panic, stating `Instruction access fault` (0x01) in the
`mcause` register. Without this pseudomodule activated, the hard fault
will be triggered by `Illegal instruction` (0x02) instead.