Home
last modified time | relevance | path

Searched refs:curr_off (Results 1 – 1 of 1) sorted by relevance

/mcuboot-2.7.6/boot/boot_serial/src/
Dboot_serial.c92 static uint32_t curr_off; variable
284 curr_off = 0; in bs_upload()
296 if (off != curr_off) { in bs_upload()
301 if (curr_off + img_blen > img_size) { in bs_upload()
308 if ((curr_off + img_blen < img_size) && rem_bytes) { in bs_upload()
314 rc = flash_area_sector_from_off(curr_off + img_blen, &sector); in bs_upload()
330 BOOT_LOG_INF("Writing at 0x%x until 0x%x", curr_off, curr_off + img_blen); in bs_upload()
337 rc = flash_area_write(fap, curr_off, img_data, w_size); in bs_upload()
341 curr_off += w_size; in bs_upload()
350 rc = flash_area_write(fap, curr_off, wbs_aligned, flash_area_align(fap)); in bs_upload()
[all …]