MCPcopy Create free account
hub / github.com/ExpressLRS/ExpressLRS / mem_block

Method mem_block

src/python/external/esptool/esptool/loader.py:750–757  ·  view source on GitHub ↗

Send a block of an image to RAM

(self, data, seq)

Source from the content-addressed store, hash-verified

748 )
749
750 def mem_block(self, data, seq):
751 """Send a block of an image to RAM"""
752 return self.check_command(
753 "write to target RAM",
754 self.ESP_MEM_DATA,
755 struct.pack("<IIII", len(data), seq, 0, 0) + data,
756 self.checksum(data),
757 )
758
759 def mem_finish(self, entrypoint=0):
760 """Leave download mode and run the application"""

Callers 2

run_stubMethod · 0.95
load_ramFunction · 0.80

Calls 2

check_commandMethod · 0.95
checksumMethod · 0.95

Tested by

no test coverage detected