Skip to content

Commit

Permalink
Merge branch 'bugfix/esptool_secure_boot_signing_key_path_v4.4' into …
Browse files Browse the repository at this point in the history
…'release/v4.4'

esptool: (re)populate the secure boot signing key path (v4.4)

See merge request espressif/esp-idf!20423
  • Loading branch information
dobairoland committed Sep 29, 2022
2 parents 3911a1b + b62b197 commit d7bad4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/esptool_py/project_include.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ endif()
if(NOT BOOTLOADER_BUILD AND CONFIG_SECURE_SIGNED_APPS)
if(CONFIG_SECURE_BOOT_BUILD_SIGNED_BINARIES)
# for locally signed secure boot image, add a signing step to get from unsigned app to signed app
get_filename_component(secure_boot_signing_key "${CONFIG_SECURE_BOOT_SIGNING_KEY}"
ABSOLUTE BASE_DIR "${project_dir}")
add_custom_command(OUTPUT "${build_dir}/.signed_bin_timestamp"
COMMAND ${ESPSECUREPY} sign_data --version ${secure_boot_version} --keyfile ${secure_boot_signing_key}
-o "${build_dir}/${PROJECT_BIN}" "${build_dir}/${unsigned_project_binary}"
Expand Down

0 comments on commit d7bad4a

Please sign in to comment.