mirror of https://github.com/ARMmbed/mbed-os.git
Modified IntelHex tofile parameter to use path.
Py3 open(...) returns a BufferedReader instead of a file.pull/7092/head
parent
e65537790e
commit
cdbae994d1
|
@ -459,7 +459,7 @@ def merge_region_list(region_list, destination, notify, padding=b'\xFF'):
|
|||
notify.info("Space used after regions merged: 0x%x" %
|
||||
(merged.maxaddr() - merged.minaddr() + 1))
|
||||
with open(destination, "wb+") as output:
|
||||
merged.tofile(output, format=format.strip("."))
|
||||
merged.tofile(destination, format=format.strip("."))
|
||||
|
||||
def scan_resources(src_paths, toolchain, dependencies_paths=None,
|
||||
inc_dirs=None, base_path=None, collect_ignores=False):
|
||||
|
|
Loading…
Reference in New Issue