Home
last modified time | relevance | path

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

/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c880 size_t rem_bytes; /* Reminder bytes after aligning chunk write to in bs_upload() local
1076 rem_bytes = img_chunk_len % flash_area_align(fap); in bs_upload()
1077 img_chunk_len -= rem_bytes; in bs_upload()
1079 if (curr_off + img_chunk_len + rem_bytes < img_size) { in bs_upload()
1080 rem_bytes = 0; in bs_upload()
1129 if (rc == 0 && rem_bytes) { in bs_upload()
1137 memcpy(wbs_aligned, img_chunk + img_chunk_len, rem_bytes); in bs_upload()
1149 curr_off += img_chunk_len + rem_bytes; in bs_upload()