From 09ee7219322c127aaa102a4809d8f29e9bf67cad Mon Sep 17 00:00:00 2001 From: KonstantinKondrashov Date: Thu, 4 Jul 2019 15:54:13 +0800 Subject: [PATCH] efuse: Fix mode EFUSE_SECURE_VERSION_EMULATE --- components/efuse/CMakeLists.txt | 2 +- components/esp32/cpu_start.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/efuse/CMakeLists.txt b/components/efuse/CMakeLists.txt index 9a05e7cc14..5fe2cde147 100644 --- a/components/efuse/CMakeLists.txt +++ b/components/efuse/CMakeLists.txt @@ -13,7 +13,7 @@ list(APPEND srcs "src/esp_efuse_utility.c") idf_component_register(SRCS "${srcs}" - PRIV_REQUIRES bootloader_support soc + PRIV_REQUIRES bootloader_support soc spi_flash INCLUDE_DIRS "${include_dirs}") set(GEN_EFUSE_TABLE_ARG --max_blk_len ${CONFIG_EFUSE_MAX_BLK_LEN}) diff --git a/components/esp32/cpu_start.c b/components/esp32/cpu_start.c index b7b35e16f0..4b8c2d5c4b 100644 --- a/components/esp32/cpu_start.c +++ b/components/esp32/cpu_start.c @@ -70,6 +70,7 @@ #include "esp_private/pm_impl.h" #include "trax.h" #include "esp_ota_ops.h" +#include "esp_efuse.h" #define STRINGIFY(s) STRINGIFY2(s) #define STRINGIFY2(s) #s