Skip to content

Commit 8a0ad0e

Browse files
committed
cpu/rp2350: provide pmp
1 parent 1ac5c7c commit 8a0ad0e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

cpu/rp2350_riscv/Makefile.features

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ CPU_CORE := rv32imac
22
CPU_FAM := RP2350
33
CPU_MODEL = rp2350_hazard3
44

5+
FEATURES_PROVIDED += periph_pmp
56
FEATURES_PROVIDED += periph_xh3irq
67

78
include $(RIOTCPU)/rp2350_common/Makefile.features

cpu/rp2350_riscv/include/cpu_conf.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ extern "C" {
2323

2424
#define CPU_DEFAULT_IRQ_PRIO 1u
2525
#define CPU_IRQ_NUMOF 52u
26+
#define NUM_PMP_ENTRIES 16u
2627
/** This tells rp2350_common that we are using the RISC-V core */
2728
#define RP2350_USE_RISCV 1
2829

0 commit comments

Comments
 (0)