Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/tools/
Dmkuf2.py68 def _write_block(self, addr, chunk, len_chunk, block_no, blocks): argument
69 assert len_chunk > 0
70 assert len_chunk <= self.CHUNK_SIZE
76 block += self._to_uint32(len_chunk)
83 md5_part += self._to_uint32(len_chunk)
88 block += b'\x00' * (self.UF2_DATA_SIZE - self.UF2_MD5_PART_SIZE - len_chunk)
98 len_chunk = len(chunk)
99 self._write_block(a, chunk, len_chunk, i, blocks)
100 a += len_chunk