diff --git a/examples/system/efuse/main/efuse_main.c b/examples/system/efuse/main/efuse_main.c index 14f548b695..c004133e5e 100644 --- a/examples/system/efuse/main/efuse_main.c +++ b/examples/system/efuse/main/efuse_main.c @@ -17,11 +17,11 @@ #include "esp_efuse_table.h" #include "esp_efuse_custom_table.h" -#if CONFIG_SECURE_BOOT +#if CONFIG_SECURE_BOOT || CONFIG_IDF_TARGET_ESP32C2 #include "esp_secure_boot.h" #endif -#if CONFIG_SECURE_FLASH_ENC_ENABLED +#if CONFIG_SECURE_FLASH_ENC_ENABLED || CONFIG_IDF_TARGET_ESP32C2 #include "esp_flash_encrypt.h" #endif