Skip to content

Commit 0cf7b7e

Browse files
theotherjimmyCruz Monrreal II
authored andcommitted
Disable make_armc6 on v8m
1 parent decdc93 commit 0cf7b7e

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
@@ -256,6 +256,17 @@ class Armc6(Arm):
256256
NAME = 'Make-ARMc6'
257257
TOOLCHAIN = "ARMC6"
258258

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

260271
class IAR(Makefile):
261272
"""IAR specific makefile target"""

0 commit comments

Comments
 (0)