esp32c6: Fix incorrect PMP configuration

- Enable pytest memprot tests for C6
This commit is contained in:
Sachin Parekh
2023-02-20 15:41:48 +05:30
parent 7bd5d93905
commit ed0a1f7b52
7 changed files with 81 additions and 38 deletions

View File

@@ -179,6 +179,9 @@
#define SOC_DIRAM_DRAM_LOW 0x40800000
#define SOC_DIRAM_DRAM_HIGH 0x40880000
#define MAP_DRAM_TO_IRAM(addr) (addr)
#define MAP_IRAM_TO_DRAM(addr) (addr)
// Region of memory accessible via DMA. See esp_ptr_dma_capable().
#define SOC_DMA_LOW 0x40800000
#define SOC_DMA_HIGH 0x40880000