From d17d43bdfa70515ce826daab7f4aac1d8889cdac Mon Sep 17 00:00:00 2001 From: Kevin Bracey Date: Tue, 15 Jan 2019 16:11:21 +0200 Subject: [PATCH] Revert "Warn with ARMC6 and not v8m" This reverts commit 3f684113b0611674d4def765450b82453fd7fb92. --- tools/toolchains/arm.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tools/toolchains/arm.py b/tools/toolchains/arm.py index 1fba7f06c5..ea3c6b6190 100644 --- a/tools/toolchains/arm.py +++ b/tools/toolchains/arm.py @@ -25,7 +25,6 @@ from tempfile import mkstemp 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 @@ -377,14 +376,6 @@ class ARMC6(ARM_STD): 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")