mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-03 11:29:42 +08:00
tools(ci): add script to build all examples
Using new cmake project declare.
This commit is contained in:
@ -10,14 +10,12 @@ if(NOT IDF_PATH)
|
||||
"in by the parent build process.")
|
||||
endif()
|
||||
|
||||
set(COMPONENTS esptool_py bootloader bootloader_support spi_flash log esp8266 util partition_table)
|
||||
set(COMPONENTS esptool_py bootloader bootloader_support spi_flash log esp8266 util partition_table main)
|
||||
set(BOOTLOADER_BUILD 1)
|
||||
add_definitions(-DBOOTLOADER_BUILD=1)
|
||||
|
||||
set(COMPONENT_REQUIRES_COMMON log esp8266 spi_flash)
|
||||
|
||||
set(MAIN_SRCS main/bootloader_start.c)
|
||||
|
||||
include("${IDF_PATH}/tools/cmake/project.cmake")
|
||||
project(bootloader)
|
||||
|
||||
|
4
components/bootloader/subproject/main/CMakeLists.txt
Normal file
4
components/bootloader/subproject/main/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
||||
set(COMPONENT_SRCS "bootloader_start.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS "")
|
||||
set(COMPONENT_REQUIRES "bootloader_support")
|
||||
register_component()
|
Reference in New Issue
Block a user