Skip to content

Commit 34792e6

Browse files
committed
Correct "defalut" typo
1 parent 1d9fd83 commit 34792e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/toolchains/arm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self, target, notify=None, macros=None,
5656
raise NotSupportedException(
5757
"this compiler does not support the core %s" % target.core)
5858

59-
if getattr(target, "defalut_lib", "std") == "small":
59+
if getattr(target, "default_lib", "std") == "small":
6060
if "-DMBED_RTOS_SINGLE_THREAD" not in self.flags['common']:
6161
self.flags['common'].append("-DMBED_RTOS_SINGLE_THREAD")
6262
if "--library_type=microlib" not in self.flags['ld']:
@@ -92,7 +92,7 @@ def __init__(self, target, notify=None, macros=None,
9292
self.SHEBANG += " --cpu=%s" % cpu
9393

9494
def _get_toolchain_labels(self):
95-
if getattr(self.target, "defalut_lib", "std") == "small":
95+
if getattr(self.target, "default_lib", "std") == "small":
9696
return ["ARM", "ARM_MICRO"]
9797
else:
9898
return ["ARM", "ARM_STD"]

0 commit comments

Comments
 (0)