mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Merge branch 'feat/cmake_add_partition_flash_binary_function_v6.0' into 'release/v6.0'
feat(esp_partition): Add esp_partition_register_target Cmake function (v6.0) See merge request espressif/esp-idf!51045
This commit is contained in:
@@ -25,6 +25,7 @@ add_custom_target(blank_bin ALL DEPENDS ${blank_file})
|
||||
idf_build_get_property(target IDF_TARGET)
|
||||
|
||||
if(NOT ${target} STREQUAL "linux")
|
||||
add_dependencies(flash blank_bin)
|
||||
esptool_py_flash_to_partition(flash "${partition}" "${blank_file}")
|
||||
esp_partition_register_target("${partition}" "${blank_file}"
|
||||
DEPENDS blank_bin
|
||||
FLASH_IN_PROJECT)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user