File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 46
46
from .targets import TARGET_NAMES , TARGET_MAP , CORE_ARCH , Target
47
47
from .libraries import Library
48
48
from .toolchains import TOOLCHAIN_CLASSES , TOOLCHAIN_PATHS
49
- from .toolchains .arm import ARMC5_MIGRATION_WARNING
50
49
from .toolchains .arm import UARM_TOOLCHAIN_WARNING
51
50
from .config import Config
52
51
@@ -242,9 +241,11 @@ def find_valid_toolchain(target, toolchain):
242
241
).format (toolchain_name , search_path )
243
242
else :
244
243
if toolchain_name == "ARMC5" :
245
- end_warnings .append (ARMC5_MIGRATION_WARNING )
244
+ raise NotSupportedException (
245
+ "Arm Compiler 5 is no longer supported, please upgrade to Arm Compiler 6."
246
+ )
246
247
if (
247
- toolchain_name in ["uARM" , "ARMC5" , " ARMC6" ]
248
+ toolchain_name in ["uARM" , "ARMC6" ]
248
249
and "uARM" in {toolchain_name , target .default_toolchain }
249
250
):
250
251
end_warnings .append (UARM_TOOLCHAIN_WARNING )
Original file line number Diff line number Diff line change 29
29
from tools .utils import mkdir , NotSupportedException , run_cmd
30
30
from tools .resources import FileRef
31
31
32
- ARMC5_MIGRATION_WARNING = (
33
- "Warning: We noticed that you are using Arm Compiler 5. "
34
- "We are deprecating the use of Arm Compiler 5. "
35
- "Please upgrade your environment to Arm Compiler 6 "
36
- "which is free to use with Mbed OS. For more information, "
37
- "please visit https://os.mbed.com/docs/mbed-os/latest/tools/index.html"
38
- )
39
-
40
32
UARM_TOOLCHAIN_WARNING = (
41
33
"Warning: We noticed that you are using uARM Toolchain either via --toolchain command line or default_toolchain option. "
42
34
"We are deprecating the use of the uARM Toolchain. "
You can’t perform that action at this time.
0 commit comments