Merge branch 'feature/esp32c5_memory_protection' into 'master'

Support memory protection using PMA and PMP for ESP32-C5

Closes IDF-8833

See merge request espressif/esp-idf!31245
This commit is contained in:
Mahavir Jain
2024-06-26 19:18:39 +08:00
9 changed files with 101 additions and 85 deletions
@@ -47,6 +47,6 @@ void bootloader_init_mem(void)
#ifdef CONFIG_BOOTLOADER_REGION_PROTECTION_ENABLE
// protect memory region
esp_cpu_configure_region_protection(); // TODO: [ESP32C5] IDF-8833 PSRAM support write
esp_cpu_configure_region_protection();
#endif
}