# Restricting to ESP32C5 CONFIG_IDF_TARGET="esp32c5" # Enabling memory protection CONFIG_ESP_SYSTEM_PMP_IDRAM_SPLIT=y # Enable memprot test CONFIG_TEST_MEMPROT=y # Enable SPIRAM to check the alignment gap's memory protection CONFIG_SPIRAM=y CONFIG_SPIRAM_USE_CAPS_ALLOC=y