mirror of https://github.com/ARMmbed/mbed-os.git
Fix "binary" function parameters
parent
acdd9db330
commit
90d56a0234
|
@ -129,7 +129,7 @@ class ARM(mbedToolchain):
|
|||
|
||||
@hook_tool
|
||||
|
||||
def binary(self, elf, bin):
|
||||
def binary(self, resources, elf, bin):
|
||||
args = [self.elf2bin, '--bin', '-o', bin, elf]
|
||||
|
||||
if hasattr(self.target, "binary_cmdline_hook"):
|
||||
|
|
|
@ -158,7 +158,7 @@ class GCC(mbedToolchain):
|
|||
self.default_cmd(self.hook.get_cmdline_linker(self.ld + ["-T%s" % mem_map, "-o", output] +
|
||||
objects + ["-L%s" % L for L in lib_dirs] + libs))
|
||||
|
||||
def binary(self, elf, bin):
|
||||
def binary(self, resources, elf, bin):
|
||||
self.default_cmd(self.hook.get_cmdline_binary([self.elf2bin, "-O", "binary", elf, bin]))
|
||||
|
||||
|
||||
|
|
|
@ -102,5 +102,5 @@ class IAR(mbedToolchain):
|
|||
args = [self.ld, "-o", output, "--config", mem_map]
|
||||
self.default_cmd(self.hook.get_cmdline_linker(args + objects + libraries))
|
||||
|
||||
def binary(self, elf, bin):
|
||||
def binary(self, resources, elf, bin):
|
||||
self.default_cmd(self.hook.get_cmdline_binary([self.elf2bin, '--bin', elf, bin]))
|
||||
|
|
Loading…
Reference in New Issue