Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
api.py
00001 import sys 00002 import os 00003 00004 ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..")) 00005 sys.path.insert(0, ROOT) 00006 00007 from tools.toolchains import TOOLCHAIN_CLASSES, LEGACY_TOOLCHAIN_NAMES 00008 from tools.targets import TARGET_MAP 00009 00010 def test_instantiation(): 00011 for name, Class in TOOLCHAIN_CLASSES.items(): 00012 CLS = Class(TARGET_MAP["K64F"]) 00013 assert name == CLS.name or name == LEGACY_TOOLCHAIN_NAMES[CLS.name]
Generated on Tue Jul 12 2022 13:04:42 by
1.7.2