Home
last modified time | relevance | path

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

/mcuboot-3.4.0/boot/boot_serial/src/
Dboot_serial.c615 const uint8_t *img_chunk = NULL; /* Pointer to buffer with received image chunk */ in bs_upload() local
655 img_chunk = img_chunk_data.value; in bs_upload()
668 if (img_chunk_off == SIZE_MAX || img_chunk == NULL) { in bs_upload()
773 (((size_t)img_chunk) & (flash_area_align(fap) - 1)) != 0) { in bs_upload()
784 memcpy(wbs_aligned, img_chunk, write_size); in bs_upload()
793 img_chunk += write_size; in bs_upload()
797 rc = flash_area_write(fap, curr_off, img_chunk, img_chunk_len); in bs_upload()
800 rc = flash_area_write(fap, curr_off, img_chunk, img_chunk_len); in bs_upload()
811 memcpy(wbs_aligned, img_chunk + img_chunk_len, rem_bytes); in bs_upload()