File tree Expand file tree Collapse file tree 4 files changed +0
-26
lines changed
encrypted/hello_encrypted Expand file tree Collapse file tree 4 files changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -72,13 +72,6 @@ pico_set_binary_type(hello_serial_enc no_flash)
7272# create linker script to ensure it doesn't overwrite the bootloader at 0x20070000
7373add_linker_script(hello_serial_enc "0x20000000" "448k" )
7474
75- # Copy otp.json file to build directory
76- add_custom_command (OUTPUT ${CMAKE_CURRENT_BINARY_DIR} /otp.json
77- COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_LIST_DIR} /otp.json" "${CMAKE_CURRENT_BINARY_DIR} /otp.json"
78- DEPENDS ${CMAKE_CURRENT_LIST_DIR} /otp.json)
79- add_custom_target (otp_json DEPENDS ${CMAKE_CURRENT_BINARY_DIR} /otp.json)
80- add_dependencies (hello_serial_enc otp_json)
81-
8275# configure otp output
8376pico_set_otp_key_output_file(hello_serial_enc ${CMAKE_CURRENT_BINARY_DIR} /otp.json)
8477
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,13 +26,6 @@ pico_set_binary_version(hello_encrypted MAJOR 7 MINOR 3)
2626# set tbyb (optional)
2727# target_compile_definitions(hello_encrypted PRIVATE PICO_CRT0_IMAGE_TYPE_TBYB=1)
2828
29- # Copy otp.json file to build directory
30- add_custom_command (OUTPUT ${CMAKE_CURRENT_BINARY_DIR} /otp.json
31- COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_LIST_DIR} /otp.json" "${CMAKE_CURRENT_BINARY_DIR} /otp.json"
32- DEPENDS ${CMAKE_CURRENT_LIST_DIR} /otp.json)
33- add_custom_target (hello_encrypted_otp_json DEPENDS ${CMAKE_CURRENT_BINARY_DIR} /otp.json)
34- add_dependencies (hello_encrypted hello_encrypted_otp_json)
35-
3629# configure otp output
3730pico_set_otp_key_output_file(hello_encrypted ${CMAKE_CURRENT_BINARY_DIR} /otp.json)
3831
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments