mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(cmake): Create a merged hints database in the build directory
This commit is contained in:
@@ -741,7 +741,8 @@ function(__project_default)
|
||||
TARGET app-flash
|
||||
NAME "app"
|
||||
FLASH)
|
||||
idf_build_generate_metadata(BINARY "${executable}_binary_signed")
|
||||
idf_build_generate_metadata(BINARY "${executable}_binary_signed"
|
||||
HINTS_OUTPUT_FILE "${BUILD_DIR}/hints.yml")
|
||||
else()
|
||||
idf_build_binary("${executable}"
|
||||
OUTPUT_FILE "${build_dir}/${executable}.bin"
|
||||
@@ -758,12 +759,14 @@ function(__project_default)
|
||||
|
||||
idf_create_dfu("${executable}_binary"
|
||||
TARGET dfu)
|
||||
idf_build_generate_metadata(BINARY "${executable}_binary")
|
||||
idf_build_generate_metadata(BINARY "${executable}_binary"
|
||||
HINTS_OUTPUT_FILE "${BUILD_DIR}/hints.yml")
|
||||
endif()
|
||||
|
||||
idf_build_generate_flasher_args()
|
||||
else()
|
||||
idf_build_generate_metadata(EXECUTABLE "${executable}")
|
||||
idf_build_generate_metadata(EXECUTABLE "${executable}"
|
||||
HINTS_OUTPUT_FILE "${BUILD_DIR}/hints.yml")
|
||||
endif()
|
||||
|
||||
idf_create_menuconfig("${executable}"
|
||||
|
||||
Reference in New Issue
Block a user