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

Method set_hex_path

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

Source from the content-addressed store, hash-verified

128 return "Name=%s" % self.name
129
130 def set_hex_path(self, path):
131 base_name = os.path.basename(path)
132 assert self._hex_path is None
133 assert base_name == self._name + '.hex'
134 path = os.path.abspath(path)
135 assert os.path.isfile(path)
136 self._hex_path = path
137
138 def set_bin_path(self, path):
139 base_name = os.path.basename(path)

Callers 2

__init__Method · 0.95
__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected