Skip to content

Commit

Permalink
Merge pull request #9398 from kjbracey-arm/no_armc6_warn
Browse files Browse the repository at this point in the history
Revert "Warn with ARMC6 and not v8m"
  • Loading branch information
0xc0170 committed Jan 21, 2019
2 parents 344a301 + d17d43b commit 2a7a326
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tools/toolchains/arm.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
from shutil import rmtree
from distutils.version import LooseVersion

from tools.targets import CORE_ARCH
from tools.toolchains import mbedToolchain, TOOLCHAIN_PATHS
from tools.hooks import hook_tool
from tools.utils import mkdir, NotSupportedException, run_cmd
Expand Down Expand Up @@ -377,14 +376,6 @@ def __init__(self, target, *args, **kwargs):
if target.core not in self.SUPPORTED_CORES:
raise NotSupportedException(
"this compiler does not support the core %s" % target.core)
if CORE_ARCH[target.core] < 8:
self.notify.cc_info({
'severity': "Error", 'file': "", 'line': "", 'col': "",
'message': "ARMC6 does not support ARM architecture v{}"
" targets".format(CORE_ARCH[target.core]),
'text': '', 'target_name': self.target.name,
'toolchain_name': self.name
})

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

0 comments on commit 2a7a326

Please sign in to comment.