Skip to content

Commit 83d4fac

Browse files
committed
Added support for GCC_ARM
1 parent 5aad98a commit 83d4fac

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

workspace_tools/export/gccarm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class GccArm(Exporter):
2222
NAME = 'GccArm'
2323
TOOLCHAIN = 'GCC_ARM'
24-
TARGETS = ['LPC1768']
24+
TARGETS = ['LPC1768', 'LPC4088']
2525
DOT_IN_RELATIVE_PATH = True
2626

2727
def generate(self):

workspace_tools/targets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def __init__(self):
167167

168168
self.extra_labels = ['NXP', 'LPC408X']
169169

170-
self.supported_toolchains = ["ARM", "GCC_CR"]
170+
self.supported_toolchains = ["ARM", "GCC_CR", "GCC_ARM"]
171171

172172
# Use this target to generate the custom binary image for LPC4088 EA boards
173173
class LPC4088_EA(LPC4088):

workspace_tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def __init__(self, target, options=None, notify=None, macros=None):
167167

168168
# Use latest gcc nanolib
169169
self.ld.append("--specs=nano.specs")
170-
if target.name in ["LPC1768"]:
170+
if target.name in ["LPC1768", "LPC4088"]:
171171
self.ld.extend(["-u", "_printf_float", "-u", "_scanf_float"])
172172

173173
self.sys_libs.append("nosys")

0 commit comments

Comments
 (0)