File tree 4 files changed +11
-10
lines changed
4 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ function(add_subdirectory_exclude_platforms NAME)
42
42
add_subdirectory (${NAME} )
43
43
endfunction ()
44
44
45
+ # Set signing file for entire project
46
+ set_property (GLOBAL PROPERTY PICOTOOL_SIGFILE "${CMAKE_CURRENT_LIST_DIR} /sample_keys/private.pem" )
47
+
45
48
# Add blink example
46
49
add_subdirectory_exclude_platforms(blink)
47
50
add_subdirectory_exclude_platforms(blink_simple)
Original file line number Diff line number Diff line change @@ -17,11 +17,10 @@ target_link_libraries(picow_ota_update_background
17
17
boot_uf2_headers
18
18
)
19
19
20
+ pico_use_partition_firmware(picow_ota_update_background)
21
+
20
22
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 ()
23
+ pico_sign_binary(picow_ota_update_background)
25
24
# pico_set_binary_type(picow_ota_update_background no_flash)
26
25
# pico_package_uf2_output(picow_ota_update_background 0x10000000)
27
26
@@ -46,11 +45,10 @@ target_link_libraries(picow_ota_update_poll
46
45
boot_uf2_headers
47
46
)
48
47
48
+ pico_use_partition_firmware(picow_ota_update_poll)
49
+
49
50
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 ()
51
+ pico_sign_binary(picow_ota_update_poll)
54
52
# pico_set_binary_type(picow_ota_update_background no_flash)
55
53
# pico_package_uf2_output(picow_ota_update_background 0x10000000)
56
54
Original file line number Diff line number Diff line change 12
12
{
13
13
"name" : " Main A" ,
14
14
"id" : 0 ,
15
- "size" : " 500K " ,
15
+ "size" : " 1748K " ,
16
16
"families" : [" rp2350-arm-s" , " rp2350-riscv" ],
17
17
"permissions" : {
18
18
"secure" : " rw" ,
23
23
{
24
24
"name" : " Main B" ,
25
25
"id" : 0 ,
26
- "size" : " 500K " ,
26
+ "size" : " 1748K " ,
27
27
"families" : [" rp2350-arm-s" , " rp2350-riscv" ],
28
28
"permissions" : {
29
29
"secure" : " rw" ,
File renamed without changes.
You can’t perform that action at this time.
0 commit comments