Skip to content

Commit 19d56fd

Browse files
committed
Removing default toolchain paths
This change was spurred by a confusing error. I attempted to compile for the RZ_A1H (a Cortex-A device), and I had the standalone ARM compiler in my system path, which supports Cortex-A. However, the default path for the ARM compiler in settings.py uses a Keil installation, which only supports Cortex-M. It found my Keil installation and used that instead. This change proposes to remove this default behavior and instead requires the user to explicitly set the intended compiler, either by a settings file, mbed CLI, environment variables, or by placing the compiler in your PATH.
1 parent 20eb127 commit 19d56fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/settings.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@
2828
BUILD_DIR = abspath(join(ROOT, "BUILD"))
2929

3030
# ARM Compiler 5
31-
ARM_PATH = "C:/Keil_v5/ARM/ARMCC"
31+
ARM_PATH = ""
3232

3333
# GCC ARM
3434
GCC_ARM_PATH = ""
3535

3636
# GCC CodeRed
37-
GCC_CR_PATH = "C:/code_red/RedSuite_4.2.0_349/redsuite/Tools/bin"
37+
GCC_CR_PATH = ""
3838

3939
# IAR
40-
IAR_PATH = "C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.3/arm"
40+
IAR_PATH = ""
4141

4242
# Goanna static analyser. Please overload it in mbed_settings.py
43-
GOANNA_PATH = "c:/Program Files (x86)/RedLizards/Goanna Central 3.2.3/bin"
43+
GOANNA_PATH = ""
4444

4545
# cppcheck path (command) and output message format
4646
CPPCHECK_CMD = ["cppcheck", "--enable=all"]

0 commit comments

Comments
 (0)