Ignore PSA secure targets

pull/8745/head
Oren Cohen 2018-12-06 17:43:34 +02:00
parent cb58b34581
commit c4c21d2d1f
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,7 @@ from .paths import (MBED_CMSIS_PATH, MBED_TARGETS_PATH, MBED_LIBRARIES,
BUILD_DIR)
from .resources import Resources, FileType, FileRef
from .notifier.mock import MockNotifier
from .targets import TARGET_NAMES, TARGET_MAP, CORE_ARCH
from .targets import TARGET_NAMES, TARGET_MAP, CORE_ARCH, Target
from .libraries import Library
from .toolchains import TOOLCHAIN_CLASSES
from .config import Config
@ -263,6 +263,7 @@ def get_mbed_official_release(version):
) for target in TARGET_NAMES \
if (hasattr(TARGET_MAP[target], 'release_versions')
and version in TARGET_MAP[target].release_versions)
and not Target.get_target(target).is_PSA_secure_target
)
)