2018-09-11 01:44:12 +00:00
|
|
|
set(COMPONENT_SRCS "bootloader_start.c")
|
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS "")
|
2019-05-10 02:53:08 +00:00
|
|
|
set(COMPONENT_REQUIRES bootloader bootloader_support)
|
2018-09-11 01:44:12 +00:00
|
|
|
register_component()
|
2019-05-10 02:53:08 +00:00
|
|
|
|
|
|
|
idf_build_get_property(target IDF_TARGET)
|
|
|
|
|
2019-04-03 05:05:35 +00:00
|
|
|
target_linker_script(${COMPONENT_LIB}
|
|
|
|
"ld/${target}/bootloader.ld"
|
|
|
|
"ld/${target}/bootloader.rom.ld"
|
|
|
|
)
|
|
|
|
|
|
|
|
set(scripts
|
|
|
|
"${IDF_PATH}/components/esp_rom/${target}/ld/${target}.rom.ld"
|
|
|
|
"${IDF_PATH}/components/esp_rom/${target}/ld/${target}.rom.newlib-funcs.ld"
|
|
|
|
"${IDF_PATH}/components/${target}/ld/${target}.peripherals.ld")
|
|
|
|
|
|
|
|
target_linker_script(${COMPONENT_LIB} ${scripts})
|