Skip to content

Commit 885b058

Browse files
committed
Update to work with latest SDK version
1 parent 6e8e154 commit 885b058

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pico_w/wifi/ota_update/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ target_link_libraries(picow_ota_update_background
1717
boot_uf2_headers
1818
)
1919

20-
pico_use_partition_firmware(picow_ota_update_background)
20+
pico_use_wifi_firmware_partition(picow_ota_update_background)
2121

2222
pico_hash_binary(picow_ota_update_background)
2323
pico_sign_binary(picow_ota_update_background)
@@ -45,7 +45,7 @@ target_link_libraries(picow_ota_update_poll
4545
boot_uf2_headers
4646
)
4747

48-
pico_use_partition_firmware(picow_ota_update_poll)
48+
pico_use_wifi_firmware_partition(picow_ota_update_poll)
4949

5050
pico_hash_binary(picow_ota_update_poll)
5151
pico_sign_binary(picow_ota_update_poll)

pico_w/wifi/ota_update/main.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
},
3535
{
3636
"name": "Firmware A",
37-
"id": "0x123456789abcdef0",
37+
"id": "0x776966696669726d",
3838
"start": "3500k",
3939
"size": "240K",
40-
"families": ["0x12345678"],
40+
"families": ["data"],
4141
"permissions": {
4242
"secure": "rw",
4343
"nonsecure": "rw",
@@ -50,7 +50,7 @@
5050
"name": "Firmware B",
5151
"id": 12345,
5252
"size": "240K",
53-
"families": ["0x12345678"],
53+
"families": ["data"],
5454
"permissions": {
5555
"secure": "rw",
5656
"nonsecure": "rw",

0 commit comments

Comments
 (0)