We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdc61ca commit 230dd3eCopy full SHA for 230dd3e
tools/CMakeLists.txt
@@ -491,6 +491,14 @@ function(pico_encrypt_binary TARGET AESFILE IVFILE)
491
set_target_properties(${TARGET} PROPERTIES
492
PICOTOOL_EMBED_DECRYPTION TRUE
493
)
494
+
495
+ # Embedded decryption stage only works with packaged binaries
496
+ get_target_property(uf2_package_addr ${TARGET} PICOTOOL_UF2_PACKAGE_ADDR)
497
+ if (NOT uf2_package_addr)
498
+ set_target_properties(${TARGET} PROPERTIES
499
+ PICOTOOL_UF2_PACKAGE_ADDR 0x10000000
500
+ )
501
+ endif()
502
endif()
503
504
if (ENC_MBEDTLS)
0 commit comments