File tree 4 files changed +0
-26
lines changed
encrypted/hello_encrypted
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)
72
72
# create linker script to ensure it doesn't overwrite the bootloader at 0x20070000
73
73
add_linker_script(hello_serial_enc "0x20000000" "448k" )
74
74
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
-
82
75
# configure otp output
83
76
pico_set_otp_key_output_file(hello_serial_enc ${CMAKE_CURRENT_BINARY_DIR} /otp.json)
84
77
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)
26
26
# set tbyb (optional)
27
27
# target_compile_definitions(hello_encrypted PRIVATE PICO_CRT0_IMAGE_TYPE_TBYB=1)
28
28
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
-
36
29
# configure otp output
37
30
pico_set_otp_key_output_file(hello_encrypted ${CMAKE_CURRENT_BINARY_DIR} /otp.json)
38
31
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments