esp32c2: Enable IRAM/DRAM split using PMP

This commit is contained in:
Sachin Parekh
2022-05-18 14:46:03 +05:30
parent 64604dcfe0
commit 9a763f4ff2
4 changed files with 82 additions and 17 deletions

View File

@@ -151,6 +151,10 @@ config SOC_CPU_WATCHPOINT_SIZE
hex
default 0x80000000
config SOC_CPU_IDRAM_SPLIT_USING_PMP
bool
default y
config SOC_GDMA_GROUPS
int
default 1

View File

@@ -80,6 +80,8 @@
#define SOC_CPU_WATCHPOINT_SIZE 0x80000000 // bytes
#define SOC_CPU_IDRAM_SPLIT_USING_PMP 1
/*-------------------------- GDMA CAPS -------------------------------------*/
#define SOC_GDMA_GROUPS (1U) // Number of GDMA groups
#define SOC_GDMA_PAIRS_PER_GROUP (1U) // Number of GDMA pairs in each group