Bläddra i källkod

Merge branch 'bugfix/esptool_flash_autodetect_build_issue' into 'master'

esptool: fix elf2image conversion with "--dont-append-digest"

See merge request espressif/esp-idf!18444
Roland Dobai 3 år sedan
förälder
incheckning
a280ecd83a
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      components/esptool_py/project_include.cmake

+ 1 - 1
components/esptool_py/project_include.cmake

@@ -66,7 +66,7 @@ if(CONFIG_ESPTOOLPY_FLASHSIZE_DETECT)
     # Flash size detection updates the image header which would invalidate the appended
     # Flash size detection updates the image header which would invalidate the appended
     # SHA256 digest. Therefore, a digest is not appended in that case.
     # SHA256 digest. Therefore, a digest is not appended in that case.
     # This argument requires esptool>=4.1.
     # This argument requires esptool>=4.1.
-    set(esptool_elf2image_args --dont-append-digest)
+    list(APPEND esptool_elf2image_args --dont-append-digest)
 endif()
 endif()
 
 
 if(CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME)
 if(CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME)