MCPcopy Create free account
hub / github.com/ARMmbed/DAPLink / set_bin_path

Method set_bin_path

test/target.py:138–144  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

136 self._hex_path = path
137
138 def set_bin_path(self, path):
139 base_name = os.path.basename(path)
140 assert self._bin_path is None
141 assert base_name == self._name + '.bin'
142 path = os.path.abspath(path)
143 assert os.path.isfile(path)
144 self._bin_path = path
145
146 @property
147 def valid(self):

Callers 2

__init__Method · 0.95
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected