# Restricting to ESP32S2 CONFIG_IDF_TARGET="esp32s2" # Enabling memory protection CONFIG_ESP_SYSTEM_MEMPROT_FEATURE=y CONFIG_ESP_SYSTEM_MEMPROT_FEATURE_LOCK=y # Enabling DCACHE CONFIG_ESP32S2_DATA_CACHE_8KB=y # Enable memprot test CONFIG_TEST_MEMPROT=y