2019-05-27 06:29:43 +00:00
|
|
|
idf_component_register(SRCS "bootloader_start.c"
|
|
|
|
REQUIRES bootloader bootloader_support)
|
2019-05-10 02:53:08 +00:00
|
|
|
|
|
|
|
idf_build_get_property(target IDF_TARGET)
|
2019-05-27 06:29:43 +00:00
|
|
|
set(scripts "ld/${target}/bootloader.ld"
|
|
|
|
"ld/${target}/bootloader.rom.ld")
|
2019-05-10 02:53:08 +00:00
|
|
|
|
2019-05-27 06:29:43 +00:00
|
|
|
target_linker_script(${COMPONENT_LIB} "${scripts}")
|