mirror of https://github.com/ARMmbed/mbed-os.git
Add the only part of the "data" module that was used
parent
6d754fe96c
commit
2a4a73cab6
|
@ -21,8 +21,7 @@ from tools.paths import MBED_LIBRARIES,\
|
|||
CPPUTEST_PLATFORM_SRC, CPPUTEST_TESTRUNNER_SCR, CPPUTEST_LIBRARY,\
|
||||
CPPUTEST_INC, CPPUTEST_PLATFORM_INC, CPPUTEST_TESTRUNNER_INC,\
|
||||
CPPUTEST_INC_EXT
|
||||
from tools.data.support import DEFAULT_SUPPORT
|
||||
from tools.tests import TEST_MBED_LIB
|
||||
from tools.tests import TEST_MBED_LIB, DEFAULT_SUPPORT
|
||||
|
||||
|
||||
LIBRARIES = [
|
||||
|
|
|
@ -15,9 +15,21 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
"""
|
||||
from tools.paths import *
|
||||
from tools.data.support import DEFAULT_SUPPORT, CORTEX_ARM_SUPPORT
|
||||
from argparse import ArgumentTypeError
|
||||
from tools.utils import columnate
|
||||
from tools.targets import TARGETS
|
||||
|
||||
DEFAULT_SUPPORT = {}
|
||||
CORTEX_ARM_SUPPORT = {}
|
||||
|
||||
for target in TARGETS:
|
||||
DEFAULT_SUPPORT[target.name] = target.supported_toolchains
|
||||
|
||||
if target.core.startswith('Cortex'):
|
||||
CORTEX_ARM_SUPPORT[target.name] = [
|
||||
t for t in target.supported_toolchains
|
||||
if (t == 'ARM' or t == 'uARM')
|
||||
]
|
||||
|
||||
TEST_CMSIS_LIB = join(TEST_DIR, "cmsis", "lib")
|
||||
TEST_MBED_LIB = join(TEST_DIR, "mbed", "env")
|
||||
|
|
Loading…
Reference in New Issue