@@ -60,7 +60,7 @@ def __init__(self, target, notify=None, macros=None,
60
60
raise NotSupportedException (
61
61
"this compiler does not support the core %s" % target .core )
62
62
63
- if getattr (target , "default_lib " , "std " ) == "small " :
63
+ if getattr (target , "default_toolchain " , "ARM " ) == "uARM " :
64
64
if "-DMBED_RTOS_SINGLE_THREAD" not in self .flags ['common' ]:
65
65
self .flags ['common' ].append ("-DMBED_RTOS_SINGLE_THREAD" )
66
66
if "-D__MICROLIB" not in self .flags ['common' ]:
@@ -125,7 +125,7 @@ def version_check(self):
125
125
})
126
126
127
127
def _get_toolchain_labels (self ):
128
- if getattr (self .target , "default_lib " , "std " ) == "small " :
128
+ if getattr (self .target , "default_toolchain " , "ARM " ) == "uARM " :
129
129
return ["ARM" , "ARM_MICRO" ]
130
130
else :
131
131
return ["ARM" , "ARM_STD" ]
@@ -350,7 +350,7 @@ class ARM_MICRO(ARM):
350
350
def __init__ (self , target , notify = None , macros = None ,
351
351
silent = False , extra_verbose = False , build_profile = None ,
352
352
build_dir = None ):
353
- target .default_lib = "small "
353
+ target .default_toolchain = "uARM "
354
354
ARM .__init__ (self , target , notify , macros , build_dir = build_dir ,
355
355
build_profile = build_profile )
356
356
if not set (("ARM" , "uARM" )).intersection (set (target .supported_toolchains )):
0 commit comments