mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-24 09:30:15 +00:00

This commit refactors the esptool_py component to move the flasher_args.json file generation to the main project level cmake file when idf_build_executable() runs.
14 lines
354 B
CMake
14 lines
354 B
CMake
idf_build_get_property(target IDF_TARGET)
|
|
idf_build_get_property(esp_tee_build ESP_TEE_BUILD)
|
|
|
|
if(${target} STREQUAL "linux")
|
|
return() # This component is not supported by the POSIX/Linux simulator
|
|
endif()
|
|
|
|
if(esp_tee_build)
|
|
idf_component_register()
|
|
return()
|
|
endif()
|
|
|
|
idf_component_register(REQUIRES bootloader PRIV_REQUIRES partition_table)
|