File tree 3 files changed +156
-143
lines changed
3 files changed +156
-143
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,15 @@ target_include_directories(picow_ota_update_background PRIVATE
13
13
target_link_libraries (picow_ota_update_background
14
14
pico_cyw43_arch_lwip_threadsafe_background
15
15
pico_stdlib
16
+ pico_sha256
16
17
boot_uf2_headers
17
18
)
18
19
19
- pico_sign_binary(picow_ota_update_background)
20
+ pico_hash_binary(picow_ota_update_background)
21
+ get_target_property (hasSigfile picow_ota_update_background PICOTOOL_SIGFILE)
22
+ if (hasSigfile)
23
+ pico_sign_binary(picow_ota_update_background)
24
+ endif ()
20
25
# pico_set_binary_type(picow_ota_update_background no_flash)
21
26
# pico_package_uf2_output(picow_ota_update_background 0x10000000)
22
27
@@ -37,9 +42,15 @@ target_include_directories(picow_ota_update_poll PRIVATE
37
42
target_link_libraries (picow_ota_update_poll
38
43
pico_cyw43_arch_lwip_poll
39
44
pico_stdlib
45
+ pico_sha256
40
46
boot_uf2_headers
41
47
)
42
48
49
+ pico_hash_binary(picow_ota_update_poll)
50
+ get_target_property (hasSigfile picow_ota_update_poll PICOTOOL_SIGFILE)
51
+ if (hasSigfile)
52
+ pico_sign_binary(picow_ota_update_poll)
53
+ endif ()
43
54
# pico_set_binary_type(picow_ota_update_background no_flash)
44
55
# pico_package_uf2_output(picow_ota_update_background 0x10000000)
45
56
You can’t perform that action at this time.
0 commit comments