Skip to content

Commit 90d56a0

Browse files
committed
Fix "binary" function parameters
1 parent acdd9db commit 90d56a0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

workspace_tools/toolchains/arm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def link(self, output, objects, libraries, lib_dirs, mem_map):
129129

130130
@hook_tool
131131

132-
def binary(self, elf, bin):
132+
def binary(self, resources, elf, bin):
133133
args = [self.elf2bin, '--bin', '-o', bin, elf]
134134

135135
if hasattr(self.target, "binary_cmdline_hook"):

workspace_tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def link(self, output, objects, libraries, lib_dirs, mem_map):
158158
self.default_cmd(self.hook.get_cmdline_linker(self.ld + ["-T%s" % mem_map, "-o", output] +
159159
objects + ["-L%s" % L for L in lib_dirs] + libs))
160160

161-
def binary(self, elf, bin):
161+
def binary(self, resources, elf, bin):
162162
self.default_cmd(self.hook.get_cmdline_binary([self.elf2bin, "-O", "binary", elf, bin]))
163163

164164

workspace_tools/toolchains/iar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,5 @@ def link(self, output, objects, libraries, lib_dirs, mem_map):
102102
args = [self.ld, "-o", output, "--config", mem_map]
103103
self.default_cmd(self.hook.get_cmdline_linker(args + objects + libraries))
104104

105-
def binary(self, elf, bin):
105+
def binary(self, resources, elf, bin):
106106
self.default_cmd(self.hook.get_cmdline_binary([self.elf2bin, '--bin', elf, bin]))

0 commit comments

Comments
 (0)