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.
Dependencies: MAX44000 PWM_Tone_Library nexpaq_mdk
Fork of LED_Demo by
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 12:28:22 by
1.7.2
