OVMS3-idf/components/bootloader/subproject/main/CMakeLists.txt

9 lines
292 B
CMake
Raw Normal View History

idf_component_register(SRCS "bootloader_start.c"
REQUIRES bootloader bootloader_support)
idf_build_get_property(target IDF_TARGET)
set(scripts "ld/${target}/bootloader.ld"
"ld/${target}/bootloader.rom.ld")
target_linker_script(${COMPONENT_LIB} "${scripts}")