Searched refs:img_chunk (Results 1 – 1 of 1) sorted by relevance
/mcuboot-latest/boot/boot_serial/src/ |
D | boot_serial.c | 780 const uint8_t *img_chunk = NULL; /* Pointer to buffer with received image chunk */ in bs_upload() local 821 img_chunk = img_chunk_data.value; in bs_upload() 834 if (img_chunk_off == SIZE_MAX || img_chunk == NULL) { in bs_upload() 948 (((size_t)img_chunk) & (flash_area_align(fap) - 1)) != 0) { in bs_upload() 959 memcpy(wbs_aligned, img_chunk, write_size); in bs_upload() 968 img_chunk += write_size; in bs_upload() 972 rc = flash_area_write(fap, curr_off, img_chunk, img_chunk_len); in bs_upload() 975 rc = flash_area_write(fap, curr_off, img_chunk, img_chunk_len); in bs_upload() 986 memcpy(wbs_aligned, img_chunk + img_chunk_len, rem_bytes); in bs_upload()
|