Home
last modified time | relevance | path

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

/mcuboot-latest/boot/zephyr/
DCMakeLists.txt482 set(write_size ${write_size_slot0}) variable
484 set(write_size ${write_size_slot1}) variable
487 set(write_size ${write_size_slot0}) variable
489 set(write_size ${write_size_slot1}) variable
493 dt_prop(write_size PATH "${slot0_flash}" PROPERTY "write-block-size")
497 dt_prop(write_size PATH "${slot0_flash}" PROPERTY "write-block-size")
505 if(NOT DEFINED write_size)
507 set(write_size 8) variable
510 if(${write_size} LESS 8)
513 set(max_align_size ${write_size})
[all …]
/mcuboot-latest/boot/boot_serial/src/
Dboot_serial.c950 size_t write_size = MCUBOOT_SERIAL_UNALIGNED_BUFFER_SIZE; in bs_upload() local
954 if (write_size > img_chunk_len) { in bs_upload()
955 write_size = img_chunk_len; in bs_upload()
959 memcpy(wbs_aligned, img_chunk, write_size); in bs_upload()
961 rc = flash_area_write(fap, curr_off, wbs_aligned, write_size); in bs_upload()
967 curr_off += write_size; in bs_upload()
968 img_chunk += write_size; in bs_upload()
969 img_chunk_len -= write_size; in bs_upload()
/mcuboot-latest/scripts/imgtool/
Dimage.py733 def _trailer_size(self, write_size, max_sectors, overwrite_only, enckey, argument
741 if write_size not in set([1, 2, 4, 8, 16, 32]):
743 write_size))
745 trailer = m * 3 * write_size # status area