Skip to content

Commit a242799

Browse files
committed
Disable make_armc6 on v8m
1 parent 9899862 commit a242799

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tools/export/makefile/__init__.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,17 @@ class Armc6(Arm):
258258
NAME = 'Make-ARMc6'
259259
TOOLCHAIN = "ARMC6"
260260

261+
@classmethod
262+
def is_target_supported(cls, target_name):
263+
target = TARGET_MAP[target_name]
264+
if target.core in (
265+
"Cortex-M23", "Cortex-M23-NS",
266+
"Cortex-M33", "Cortex-M33-NS"
267+
):
268+
return False
269+
return apply_supported_whitelist(
270+
cls.TOOLCHAIN, cls.POST_BINARY_WHITELIST, target)
271+
261272

262273
class IAR(Makefile):
263274
"""IAR specific makefile target"""

0 commit comments

Comments
 (0)