mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
bootloader: Include FreeRTOS component for the FREERTOS_UNICORE header, only
This commit is contained in:
parent
309376f51a
commit
d5f5fadbee
@ -17,7 +17,8 @@ endif()
|
||||
|
||||
if(BOOTLOADER_BUILD)
|
||||
set(include_dirs "include" "include_bootloader")
|
||||
set(priv_requires micro-ecc spi_flash efuse)
|
||||
# freertos is included just for the CONFIG_FREERTOS_UNICORE macro
|
||||
set(priv_requires micro-ecc spi_flash efuse freertos)
|
||||
list(APPEND srcs
|
||||
"src/bootloader_init.c"
|
||||
"src/${IDF_TARGET}/bootloader_sha.c"
|
||||
|
@ -1,4 +1,10 @@
|
||||
set(srcs
|
||||
if(BOOTLOADER_BUILD)
|
||||
# bootloader only needs FreeRTOS for config, not for anything else
|
||||
idf_component_register()
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(srcs
|
||||
"croutine.c"
|
||||
"event_groups.c"
|
||||
"FreeRTOS-openocd.c"
|
||||
|
Loading…
Reference in New Issue
Block a user