Skip to content

Commit 3bffb49

Browse files
committed
Change fromELF parameter bin to bincombined so that elf files with multiple regions are converted to a single binary and not a folder of regions
1 parent a0d5503 commit 3bffb49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/arm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def archive(self, objects, lib_path):
238238
@hook_tool
239239
def binary(self, resources, elf, bin):
240240
_, fmt = splitext(bin)
241-
bin_arg = {".bin": "--bin", ".hex": "--i32"}[fmt]
241+
bin_arg = {".bin": "--bincombined", ".hex": "--i32"}[fmt]
242242
cmd = [self.elf2bin, bin_arg, '-o', bin, elf]
243243
cmd = self.hook.get_cmdline_binary(cmd)
244244
self.cc_verbose("FromELF: %s" % ' '.join(cmd))

0 commit comments

Comments
 (0)