Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
simensrostad committed Sep 17, 2024
1 parent e5f413c commit a881ab9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions app/src/modules/fota/fota.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,14 @@ static void fota_status(enum nrf_cloud_fota_status status, const char *const sta
case NRF_CLOUD_FOTA_SUCCEEDED:
LOG_DBG("Firmware update succeeded");

/* Currently there is a bug that prevents the modem to go into bootloader mode
* after a full modem FOTA image is downloaded. To cirumvent this we apply the image
* again. This will be removed when the bug is fixed.
*/
if (s_obj.fota_ctx.img_type == DFU_TARGET_IMAGE_TYPE_FULL_MODEM) {
(void)nrf_cloud_fota_fmfu_apply();
}

/* Dont */
status_events_notify(FOTA_STATUS_STOP);
return;
Expand Down
2 changes: 1 addition & 1 deletion tests/on_target/tests/test_fota.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

WAIT_FOR_FOTA_AVAILABLE = 60 * 4
APP_FOTA_TIMEOUT = 60 * 10
FULL_MFW_FOTA_TIMEOUT = 60 * 20
FULL_MFW_FOTA_TIMEOUT = 60 * 30


def wait_for_fota_available(t91x_board):
Expand Down

0 comments on commit a881ab9

Please sign in to comment.