Skip to content

Commit 5286de1

Browse files
committed
cpu/rp2350: provide pmp
1 parent 9447293 commit 5286de1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ extern "C" {
2323

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

2930
#ifdef __cplusplus

0 commit comments

Comments
 (0)