feat(esp_hw_support): Support memory protection using PMA and PMP for ESP32-C5

This commit is contained in:
harshal.patil
2024-05-31 22:31:57 +05:30
parent 980ac9bcf5
commit 84afc6a955
6 changed files with 86 additions and 73 deletions

View File

@@ -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
}