Skip to content

Commit 17471ea

Browse files
author
Bogdan Marinescu
committed
Changed name of LPC4088 cmdline hook function
For compatibility with the on-line build system
1 parent 7a7c14e commit 17471ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workspace_tools/targets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ def __init__(self):
175175
def init_hooks(self, hook, toolchain_name):
176176
if toolchain_name in ['ARM_STD', 'ARM_MICRO']:
177177
hook.hook_add_binary("post", self.binary_hook)
178-
hook.hook_cmdline_linker(self.cmdline_hook)
178+
hook.hook_cmdline_linker(self.link_cmdline_hook)
179179

180180
@staticmethod
181-
def cmdline_hook(toolchain, cmdline):
181+
def link_cmdline_hook(toolchain, cmdline):
182182
return cmdline + ["--any_placement=first_fit"]
183183

184184
@staticmethod

0 commit comments

Comments
 (0)