Skip to content

Commit 2a7a326

Browse files
authored
Merge pull request #9398 from kjbracey-arm/no_armc6_warn
Revert "Warn with ARMC6 and not v8m"
2 parents 344a301 + d17d43b commit 2a7a326

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tools/toolchains/arm.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
from shutil import rmtree
2626
from distutils.version import LooseVersion
2727

28-
from tools.targets import CORE_ARCH
2928
from tools.toolchains import mbedToolchain, TOOLCHAIN_PATHS
3029
from tools.hooks import hook_tool
3130
from tools.utils import mkdir, NotSupportedException, run_cmd
@@ -377,14 +376,6 @@ def __init__(self, target, *args, **kwargs):
377376
if target.core not in self.SUPPORTED_CORES:
378377
raise NotSupportedException(
379378
"this compiler does not support the core %s" % target.core)
380-
if CORE_ARCH[target.core] < 8:
381-
self.notify.cc_info({
382-
'severity': "Error", 'file': "", 'line': "", 'col': "",
383-
'message': "ARMC6 does not support ARM architecture v{}"
384-
" targets".format(CORE_ARCH[target.core]),
385-
'text': '', 'target_name': self.target.name,
386-
'toolchain_name': self.name
387-
})
388379

389380
if not set(("ARM", "ARMC6")).intersection(set(target.supported_toolchains)):
390381
raise NotSupportedException("ARM/ARMC6 compiler support is required for ARMC6 build")

0 commit comments

Comments
 (0)