mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 00:21:44 +01:00
fix: cleanup memprot files for C6/H2/P4
There is no separate permission control peripheral in C6/H2/P4. Memory protection is achieved using built-in PMA/PMP and hence removing permission control specific files.
This commit is contained in:
@@ -36,7 +36,7 @@ enum {
|
||||
/* COMMON_CAPS is the set of attributes common to all types of memory on this chip */
|
||||
#define ESP32P4_MEM_COMMON_CAPS (MALLOC_CAP_DEFAULT | MALLOC_CAP_32BIT | MALLOC_CAP_8BIT)
|
||||
|
||||
#ifdef CONFIG_ESP_SYSTEM_MEMPROT_FEATURE
|
||||
#ifdef CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT
|
||||
#define MALLOC_L2MEM_BASE_CAPS ESP32P4_MEM_COMMON_CAPS | MALLOC_CAP_INTERNAL | MALLOC_CAP_DMA
|
||||
#define MALLOC_RTCRAM_BASE_CAPS ESP32P4_MEM_COMMON_CAPS | MALLOC_CAP_INTERNAL
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user