MCPcopy Create free account
hub / github.com/bitcraze/crazyflie-lib-python / read_cf1_config

Method read_cf1_config

cflib/bootloader/__init__.py:123–128  ·  view source on GitHub ↗

Read a flash page from the specified target

(self)

Source from the content-addressed store, hash-verified

121 return self._cload.request_info_update(target_id)
122
123 def read_cf1_config(self):
124 """Read a flash page from the specified target"""
125 target = self._cload.targets[0xFF]
126 config_page = target.flash_pages - 1
127
128 return self._cload.read_flash(addr=0xFF, page=config_page)
129
130 def write_cf1_config(self, data):
131 target = self._cload.targets[0xFF]

Callers

nothing calls this directly

Calls 1

read_flashMethod · 0.80

Tested by

no test coverage detected