File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
encrypted/hello_encrypted Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ pico_embed_pt_in_binary(enc_bootloader ${CMAKE_CURRENT_LIST_DIR}/enc-pt.json)
5050
5151# create absolute uf2, and package in flash
5252pico_set_uf2_family(enc_bootloader "absolute" )
53- pico_package_uf2_output(enc_bootloader 0x10000000 )
53+ pico_package_uf2_output(enc_bootloader)
5454
5555# optionally enable USB output in addition to UART
5656# pico_enable_stdio_usb(enc_bootloader 1)
@@ -86,7 +86,7 @@ pico_hash_binary(hello_serial_enc)
8686pico_encrypt_binary(hello_serial_enc ${CMAKE_CURRENT_LIST_DIR} /privateaes.bin ${CMAKE_CURRENT_LIST_DIR} /ivsalt.bin)
8787
8888# package uf2 in flash
89- pico_package_uf2_output(hello_serial_enc 0x10000000 )
89+ pico_package_uf2_output(hello_serial_enc)
9090
9191# optionally enable USB output in addition to UART
9292# pico_enable_stdio_usb(hello_serial_enc 1)
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ target_link_libraries(uart_binary pico_stdlib)
2929pico_set_binary_type(uart_binary no_flash)
3030
3131# package uf2 in flash
32- pico_package_uf2_output(uart_binary 0x10000000 )
32+ pico_package_uf2_output(uart_binary)
3333
3434# create map/bin/hex/uf2 file etc.
3535pico_add_extra_outputs(uart_binary)
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ pico_encrypt_binary(hello_encrypted
3838 EMBED)
3939
4040# package uf2 in flash
41- pico_package_uf2_output(hello_encrypted 0x10000000 )
41+ pico_package_uf2_output(hello_encrypted)
4242
4343# create map/bin/hex/uf2 file etc.
4444pico_add_extra_outputs(hello_encrypted)
@@ -86,7 +86,7 @@ pico_encrypt_binary(hello_encrypted_mbedtls
8686 OTP_KEY_PAGE 29)
8787
8888# package uf2 in flash
89- pico_package_uf2_output(hello_encrypted_mbedtls 0x10000000 )
89+ pico_package_uf2_output(hello_encrypted_mbedtls)
9090
9191# create map/bin/hex/uf2 file etc.
9292pico_add_extra_outputs(hello_encrypted_mbedtls)
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ function(pico_add_extra_outputs TARGET)
5252 get_target_property (BINARY_TYPE ${SOURCE_TARGET} PICO_TARGET_BINARY_TYPE)
5353 if (${BINARY_TYPE} STREQUAL "no_flash" )
5454 message ("Packaging no_flash universal binary to SRAM, so it has a load_map" )
55- pico_package_uf2_output (${SOURCE_TARGET} 0x20000000 )
55+ pico_ensure_load_map (${SOURCE_TARGET} )
5656 endif ()
5757 endif ()
5858 _pico_add_extra_outputs(${SOURCE_TARGET} )
You can’t perform that action at this time.
0 commit comments