Home
last modified time | relevance | path

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

/mcuboot-latest/boot/zephyr/
DCMakeLists.txt551 set(write_size ${write_size_slot0}) variable
553 set(write_size ${write_size_slot1}) variable
556 set(write_size ${write_size_slot0}) variable
558 set(write_size ${write_size_slot1}) variable
562 dt_prop(write_size PATH "${slot0_flash}" PROPERTY "write-block-size")
566 dt_prop(write_size PATH "${slot0_flash}" PROPERTY "write-block-size")
574 if(NOT DEFINED write_size)
576 set(write_size 8) variable
579 if(${write_size} LESS 8)
582 set(max_align_size ${write_size})
[all …]
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c1089 size_t write_size = MCUBOOT_SERIAL_UNALIGNED_BUFFER_SIZE; in bs_upload() local
1093 if (write_size > img_chunk_len) { in bs_upload()
1094 write_size = img_chunk_len; in bs_upload()
1098 memcpy(wbs_aligned, img_chunk, write_size); in bs_upload()
1101 rc = flash_area_write(fap, curr_off + start_off, wbs_aligned, write_size); in bs_upload()
1103 rc = flash_area_write(fap, curr_off, wbs_aligned, write_size); in bs_upload()
1110 curr_off += write_size; in bs_upload()
1111 img_chunk += write_size; in bs_upload()
1112 img_chunk_len -= write_size; in bs_upload()
/mcuboot-latest/scripts/imgtool/
Dimage.py759 def _trailer_size(self, write_size, max_sectors, overwrite_only, enckey, argument
767 if write_size not in set([1, 2, 4, 8, 16, 32]):
769 write_size))
771 trailer = m * 3 * write_size # status area