Correct "defalut" typo

pull/7197/head
Jimmy Brisson 2018-06-13 09:51:50 -05:00
parent 1d9fd830af
commit 34792e60c6
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ class ARM(mbedToolchain):
raise NotSupportedException(
"this compiler does not support the core %s" % target.core)
if getattr(target, "defalut_lib", "std") == "small":
if getattr(target, "default_lib", "std") == "small":
if "-DMBED_RTOS_SINGLE_THREAD" not in self.flags['common']:
self.flags['common'].append("-DMBED_RTOS_SINGLE_THREAD")
if "--library_type=microlib" not in self.flags['ld']:
@ -92,7 +92,7 @@ class ARM(mbedToolchain):
self.SHEBANG += " --cpu=%s" % cpu
def _get_toolchain_labels(self):
if getattr(self.target, "defalut_lib", "std") == "small":
if getattr(self.target, "default_lib", "std") == "small":
return ["ARM", "ARM_MICRO"]
else:
return ["ARM", "ARM_STD"]