mirror of https://github.com/ARMmbed/mbed-os.git
Removed extraneous file open
parent
cdbae994d1
commit
f689ace3e3
|
@ -458,7 +458,6 @@ def merge_region_list(region_list, destination, notify, padding=b'\xFF'):
|
||||||
makedirs(dirname(destination))
|
makedirs(dirname(destination))
|
||||||
notify.info("Space used after regions merged: 0x%x" %
|
notify.info("Space used after regions merged: 0x%x" %
|
||||||
(merged.maxaddr() - merged.minaddr() + 1))
|
(merged.maxaddr() - merged.minaddr() + 1))
|
||||||
with open(destination, "wb+") as output:
|
|
||||||
merged.tofile(destination, format=format.strip("."))
|
merged.tofile(destination, format=format.strip("."))
|
||||||
|
|
||||||
def scan_resources(src_paths, toolchain, dependencies_paths=None,
|
def scan_resources(src_paths, toolchain, dependencies_paths=None,
|
||||||
|
|
Loading…
Reference in New Issue