esptool::BaseFirmwareImage¶
詳細情報¶
メンバー¶
SEG_HEADER_LEN¶
int esptool.BaseFirmwareImage::SEG_HEADER_LEN
SHA256_DIGEST_LEN¶
int esptool.BaseFirmwareImage::SHA256_DIGEST_LEN
segments¶
esptool.BaseFirmwareImage::segments
entrypoint¶
esptool.BaseFirmwareImage::entrypoint
elf_sha256¶
esptool.BaseFirmwareImage::elf_sha256
elf_sha256_offset¶
esptool.BaseFirmwareImage::elf_sha256_offset
init()¶
def esptool.BaseFirmwareImage.__init__(self)
引数
- self ``
戻り値
def
load_common_header()¶
def esptool.BaseFirmwareImage.load_common_header(self, load_file, expected_magic)
引数
- expected_magic ``
戻り値
def
verify()¶
def esptool.BaseFirmwareImage.verify(self)
引数
- self ``
戻り値
def
load_segment()¶
def esptool.BaseFirmwareImage.load_segment(self, f, is_irom_segment=False)
引数
- is_irom_segment ``
戻り値
def
warn_if_unusual_segment()¶
def esptool.BaseFirmwareImage.warn_if_unusual_segment(self, offset, size, is_irom_segment)
引数
- is_irom_segment ``
戻り値
def
maybe_patch_segment_data()¶
def esptool.BaseFirmwareImage.maybe_patch_segment_data(self, f, segment_data)
引数
- segment_data ``
戻り値
def
save_segment()¶
def esptool.BaseFirmwareImage.save_segment(self, f, segment, checksum=None)
引数
- checksum ``
戻り値
def
read_checksum()¶
def esptool.BaseFirmwareImage.read_checksum(self, f)
引数
- f ``
戻り値
def
calculate_checksum()¶
def esptool.BaseFirmwareImage.calculate_checksum(self)
引数
- self ``
戻り値
def
append_checksum()¶
def esptool.BaseFirmwareImage.append_checksum(self, f, checksum)
引数
- checksum ``
戻り値
def
write_common_header()¶
def esptool.BaseFirmwareImage.write_common_header(self, f, segments)
引数
- segments ``
戻り値
def
is_irom_addr()¶
def esptool.BaseFirmwareImage.is_irom_addr(self, addr)
引数
- addr ``
戻り値
def
get_irom_segment()¶
def esptool.BaseFirmwareImage.get_irom_segment(self)
引数
- self ``
戻り値
def
get_non_irom_segments()¶
def esptool.BaseFirmwareImage.get_non_irom_segments(self)
引数
- self ``
戻り値
def