Home
last modified time | relevance | path

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

/mcuboot-3.4.0/boot/boot_serial/src/
Dboot_serial.c614 static uint32_t curr_off; /* Expected current offset */ in bs_upload() local
691 curr_off = 0; in bs_upload()
732 } else if (img_chunk_off != curr_off) { in bs_upload()
739 } else if (curr_off + img_chunk_len > img_size) { in bs_upload()
749 curr_off + img_chunk_len - 1); in bs_upload()
765 if (curr_off + img_chunk_len + rem_bytes < img_size) { in bs_upload()
769 BOOT_LOG_INF("Writing at 0x%x until 0x%x", curr_off, curr_off + img_chunk_len); in bs_upload()
786 rc = flash_area_write(fap, curr_off, wbs_aligned, write_size); in bs_upload()
792 curr_off += write_size; in bs_upload()
797 rc = flash_area_write(fap, curr_off, img_chunk, img_chunk_len); in bs_upload()
[all …]