Searched refs:chunk_size (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-3.4.0/tools/test_mkuf2/ |
D | test_mkuf2.py | 108 def generate_uf2(self, chip_id, iter_addr_offset_tuples, chunk_size=None): argument 114 com_args += [] if chunk_size is None else ['--chunk-size', str(chunk_size)] 183 def common(self, t, chunk_size=None): argument 185 parsed_t = self.process_blocks(self.generate_uf2(chip_id, t, chunk_size), chip_id) 217 chunk_size = 256 218 self.common([(0x100, self.generate_binary(chunk_size)), 219 (0x200, self.generate_binary(chunk_size + 1)), 220 (0x300, self.generate_binary(chunk_size - 1))], 221 chunk_size)
|
/hal_espressif-3.4.0/tools/ |
D | mkuf2.py | 52 def __init__(self, chip_id, output_file, chunk_size): argument 54 …self.CHUNK_SIZE = self.UF2_DATA_SIZE - self.UF2_MD5_PART_SIZE if chunk_size is None else chunk_size 205 'chunk_size': args.chunk_size,
|
/hal_espressif-3.4.0/components/nvs_flash/nvs_partition_generator/ |
D | nvs_partition_gen.py | 251 chunk_size = 0 259 chunk_size = tailroom 261 chunk_size = remaining_size 263 remaining_size = remaining_size - chunk_size 269 datachunk_rounded_size = (chunk_size + 31) & ~31 281 data_chunk = data[offset:offset + chunk_size] 284 struct.pack_into('<H', entry_struct, 24, chunk_size) 302 if remaining_size or (tailroom - chunk_size) < Page.SINGLE_ENTRY_SIZE: 306 offset = offset + chunk_size
|