Skip to content

Commit 7489853

Browse files
bridadanadbridge
authored andcommitted
Clean up some whitespace
1 parent 31bc472 commit 7489853

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tools/build_api.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def transform_release_toolchains(target, version):
263263
if version == '5':
264264
if 'ARMC5' in target.supported_toolchains:
265265
return ['ARMC5', 'GCC_ARM', 'IAR']
266-
else:
266+
else:
267267
return ['ARM', 'ARMC6', 'GCC_ARM', 'IAR']
268268
else:
269269
return target.supported_toolchains
@@ -356,19 +356,19 @@ def prepare_toolchain(src_paths, build_dir, target, toolchain_name,
356356
# If the configuration object was not yet created, create it now
357357
config = config or Config(target, src_paths, app_config=app_config)
358358
target = config.target
359-
359+
360360
if not target_supports_toolchain(target, toolchain_name):
361361
raise NotSupportedException(
362362
"Target {} is not supported by toolchain {}".format(
363363
target.name, toolchain_name))
364364

365365
selected_toolchain_name = get_toolchain_name(target, toolchain_name)
366366

367-
#If a target supports ARMC6 and we want to build UARM with it,
367+
#If a target supports ARMC6 and we want to build UARM with it,
368368
#then set the default_toolchain to uARM to link AC6 microlib.
369369
if(selected_toolchain_name == "ARMC6" and toolchain_name == "uARM"):
370370
target.default_toolchain = "uARM"
371-
toolchain_name = selected_toolchain_name
371+
toolchain_name = selected_toolchain_name
372372

373373
try:
374374
cur_tc = TOOLCHAIN_CLASSES[toolchain_name]
@@ -871,7 +871,7 @@ def build_mbed_libs(target, toolchain_name, clean=False, macros=None,
871871

872872
selected_toolchain_name = get_toolchain_name(target, toolchain_name)
873873

874-
#If a target supports ARMC6 and we want to build UARM with it,
874+
#If a target supports ARMC6 and we want to build UARM with it,
875875
#then set the default_toolchain to uARM to link AC6 microlib.
876876
if(selected_toolchain_name == "ARMC6" and toolchain_name == "uARM"):
877877
target.default_toolchain = "uARM"
@@ -1118,10 +1118,10 @@ def mcu_toolchain_matrix(verbose_html=False, platform_filter=None,
11181118
unique_supported_toolchains = get_unique_supported_toolchains(
11191119
release_targets)
11201120
#Add ARMC5 column as well to the matrix to help with showing which targets are in ARMC5
1121-
#ARMC5 is not a toolchain class but yet we use that as a toolchain id in supported_toolchains in targets.json
1121+
#ARMC5 is not a toolchain class but yet we use that as a toolchain id in supported_toolchains in targets.json
11221122
#capture that info in a separate column
11231123
unique_supported_toolchains.append('ARMC5')
1124-
1124+
11251125
prepend_columns = ["Target"] + ["mbed OS %s" % x for x in RELEASE_VERSIONS]
11261126

11271127
# All tests status table print

0 commit comments

Comments
 (0)