Skip to content

Commit dd75287

Browse files
TMO Shell: Fix DFU and update URL after directory changes.
This is related to commit: https://github.com/TheNameIsNigel/DevEdge-IoTDevKit-Binaries/commit/77546ed46e5ba44f21c8673e6aa28216b1978429.patch Signed-off-by: Nigel Norris <[email protected]>
1 parent 9aed673 commit dd75287

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dfu_gecko/dfu_gecko_lib.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,25 @@ const struct dfu_file_t dfu_files_mcu[] = {
3131
{
3232
"Gecko MCU 1/4",
3333
"/tmo/zephyr.slot0.bin",
34-
"tmo_shell.tmo_dev_edge.slot0.bin",
34+
"tmo_shell/pg12b/latest/tmo_shell.tmo_dev_edge.slot0.bin",
3535
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
3636
},
3737
{
3838
"Gecko MCU 2/4",
3939
"/tmo/zephyr.slot1.bin",
40-
"tmo_shell.tmo_dev_edge.slot1.bin",
40+
"tmo_shell/pg12b/latest/tmo_shell.tmo_dev_edge.slot1.bin",
4141
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
4242
},
4343
{
4444
"Gecko MCU 3/4",
4545
"/tmo/zephyr.slot0.bin.sha1",
46-
"tmo_shell.tmo_dev_edge.slot0.bin.sha1",
46+
"tmo_shell/pg12b/latest/tmo_shell.tmo_dev_edge.slot0.bin.sha1",
4747
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
4848
},
4949
{
5050
"Gecko MCU 4/4",
5151
"/tmo/zephyr.slot1.bin.sha1",
52-
"tmo_shell.tmo_dev_edge.slot1.bin.sha1",
52+
"tmo_shell/pg12b/latest/tmo_shell.tmo_dev_edge.slot1.bin.sha1",
5353
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
5454
},
5555

samples/tmo_shell/src/tmo_dfu_download.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct fs_dirent* my_finfo;
4040
static char base_url_s[MAX_BASE_URL_LEN];
4141
static char user_base_url_s[MAX_BASE_URL_LEN] =
4242
"https://raw.githubusercontent.com/tmobile/DevEdge"
43-
"-IoTDevKit-Binaries/main/tmo/tmo_shell/silabs_pg12b/";
43+
"-IoTDevKit-Binaries/main/";
4444
static char dfu_auth_key[42];
4545

4646
static int iface_s = WIFI_ID; // Default iface is wifi

0 commit comments

Comments
 (0)