bootloader: fix external 32k xtal not found error

This commit is contained in:
Li Shuai 2020-11-06 18:39:16 +08:00 committed by ninh
parent cfdd7f0f22
commit 6ef2a7def0
2 changed files with 8 additions and 1 deletions

View File

@ -27,7 +27,8 @@ set(COMPONENTS
spi_flash
micro-ecc
main
efuse)
efuse
esp_system)
set(BOOTLOADER_BUILD 1)
include("${IDF_PATH}/tools/cmake/project.cmake")
set(common_req log esp_rom esp_common esp_hw_support hal)

View File

@ -1,3 +1,9 @@
if(BOOTLOADER_BUILD)
# Bootloader relies on some Kconfig options defined in esp_system.
idf_component_register()
return()
endif()
idf_component_register(SRCS "intr_alloc.c"
"esp_async_memcpy.c"
"panic.c"