Skip to content

Commit

Permalink
TMO Shell: Fix DFU and update URL after directory changes.
Browse files Browse the repository at this point in the history
This is related to commit:
https://github.com/TheNameIsNigel/DevEdge-IoTDevKit-Binaries/commit/77546ed46e5ba44f21c8673e6aa28216b1978429.patch

Signed-off-by: Nigel Norris <r.norris@samsung.com>
  • Loading branch information
TheNameIsNigel committed Mar 28, 2023
1 parent 9aed673 commit dd75287
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions dfu_gecko/dfu_gecko_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,25 @@ const struct dfu_file_t dfu_files_mcu[] = {
{
"Gecko MCU 1/4",
"/tmo/zephyr.slot0.bin",
"tmo_shell.tmo_dev_edge.slot0.bin",
"tmo_shell/pg12b/latest/tmo_shell.tmo_dev_edge.slot0.bin",
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
},
{
"Gecko MCU 2/4",
"/tmo/zephyr.slot1.bin",
"tmo_shell.tmo_dev_edge.slot1.bin",
"tmo_shell/pg12b/latest/tmo_shell.tmo_dev_edge.slot1.bin",
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
},
{
"Gecko MCU 3/4",
"/tmo/zephyr.slot0.bin.sha1",
"tmo_shell.tmo_dev_edge.slot0.bin.sha1",
"tmo_shell/pg12b/latest/tmo_shell.tmo_dev_edge.slot0.bin.sha1",
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
},
{
"Gecko MCU 4/4",
"/tmo/zephyr.slot1.bin.sha1",
"tmo_shell.tmo_dev_edge.slot1.bin.sha1",
"tmo_shell/pg12b/latest/tmo_shell.tmo_dev_edge.slot1.bin.sha1",
{ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }
},

Expand Down
2 changes: 1 addition & 1 deletion samples/tmo_shell/src/tmo_dfu_download.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct fs_dirent* my_finfo;
static char base_url_s[MAX_BASE_URL_LEN];
static char user_base_url_s[MAX_BASE_URL_LEN] =
"https://raw.githubusercontent.com/tmobile/DevEdge"
"-IoTDevKit-Binaries/main/tmo/tmo_shell/silabs_pg12b/";
"-IoTDevKit-Binaries/main/";
static char dfu_auth_key[42];

static int iface_s = WIFI_ID; // Default iface is wifi
Expand Down

0 comments on commit dd75287

Please sign in to comment.