File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ bool eraseActiveFirmware(uint32_t firmwareSize)
255
255
tr_error (" Firmware size 0x%" PRIX32 " rounded up to the nearest sector boundary 0x%" \
256
256
PRIX32 " is larger than the maximum application size 0x%" PRIX32,
257
257
firmwareSize, erase_end_addr - MBED_CONF_MBED_BOOTLOADER_APPLICATION_START_ADDRESS,
258
- MBED_CONF_MBED_BOOTLOADER_MAX_APPLICATION_SIZE);
258
+ ( uint32_t ) MBED_CONF_MBED_BOOTLOADER_MAX_APPLICATION_SIZE);
259
259
}
260
260
}
261
261
@@ -284,7 +284,7 @@ bool writeActiveFirmwareHeader(arm_uc_firmware_details_t *details)
284
284
285
285
/* coverity[no_escape] */
286
286
MBED_BOOTLOADER_ASSERT ((programSize <= fw_metadata_hdr_size),
287
- " Header program size %" PRIu32 " bigger than expected header %d \r\n " ,
287
+ " Header program size %" PRIu32 " bigger than expected header %" PRIu32 " \r\n " ,
288
288
programSize, fw_metadata_hdr_size);
289
289
290
290
/* pad buffer to 0xFF */
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ const arm_uc_installer_details_t bootloader = {
53
53
binary size if ARM_UC_USE_PAL_BLOCKDEVICE is set and not running tests */
54
54
#if defined(ARM_UC_USE_PAL_BLOCKDEVICE) && (ARM_UC_USE_PAL_BLOCKDEVICE==1) && \
55
55
(!defined(BOOTLOADER_POWER_CUT_TEST) || (BOOTLOADER_POWER_CUT_TEST != 1 ))
56
+ #undef MBED_CLOUD_CLIENT_UPDATE_STORAGE
56
57
#define MBED_CLOUD_CLIENT_UPDATE_STORAGE ARM_UCP_FLASHIAP_BLOCKDEVICE_READ_ONLY
57
58
#endif
58
59
You can’t perform that action at this time.
0 commit comments