Skip to content

Commit c4c21d2

Browse files
author
Oren Cohen
committed
Ignore PSA secure targets
1 parent cb58b34 commit c4c21d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/build_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
BUILD_DIR)
4444
from .resources import Resources, FileType, FileRef
4545
from .notifier.mock import MockNotifier
46-
from .targets import TARGET_NAMES, TARGET_MAP, CORE_ARCH
46+
from .targets import TARGET_NAMES, TARGET_MAP, CORE_ARCH, Target
4747
from .libraries import Library
4848
from .toolchains import TOOLCHAIN_CLASSES
4949
from .config import Config
@@ -263,6 +263,7 @@ def get_mbed_official_release(version):
263263
) for target in TARGET_NAMES \
264264
if (hasattr(TARGET_MAP[target], 'release_versions')
265265
and version in TARGET_MAP[target].release_versions)
266+
and not Target.get_target(target).is_PSA_secure_target
266267
)
267268
)
268269

0 commit comments

Comments
 (0)