We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dba3962 commit 467305fCopy full SHA for 467305f
tools/build_api.py
@@ -337,12 +337,13 @@ def is_official_target(target_name, version):
337
("following toolchains: %s" %
338
", ".join(sorted(supported_toolchains)))
339
340
- elif not target.c_lib == 'std':
+ elif target.c_lib not in ['std', 'small']:
341
result = False
342
- reason = ("Target '%s' must set the " % target.name) + \
343
- ("'c_lib' to 'std' to be included in the ") + \
344
- ("mbed OS 5.0 official release." + linesep) + \
345
- ("Currently it is set to '%s'" % target.c_lib)
+ reason = (
+ "'target.c_lib' for the '{}' target must be set to 'std' or"
+ " 'small'.{}"
+ "It is currently set to '{}'"
346
+ ).format(target.name, linesep, target.c_lib)
347
348
else:
349
0 commit comments