From 8746f44c74311c35a525e5a63f75968585e1a8bd Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Mon, 5 Aug 2024 11:18:36 +0800 Subject: [PATCH] fix(efuse): fix efuse examples not compiling on c2 --- examples/system/efuse/main/efuse_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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