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.
pull/3476/head
Brian Daniels 2016-12-20 11:14:18 -06:00
parent 20eb127f80
commit 19d56fd40f
1 changed files with 4 additions and 4 deletions

View File

@ -28,19 +28,19 @@ ROOT = abspath(join(dirname(__file__), ".."))
BUILD_DIR = abspath(join(ROOT, "BUILD"))
# ARM Compiler 5
ARM_PATH = "C:/Keil_v5/ARM/ARMCC"
ARM_PATH = ""
# GCC ARM
GCC_ARM_PATH = ""
# GCC CodeRed
GCC_CR_PATH = "C:/code_red/RedSuite_4.2.0_349/redsuite/Tools/bin"
GCC_CR_PATH = ""
# IAR
IAR_PATH = "C:/Program Files (x86)/IAR Systems/Embedded Workbench 7.3/arm"
IAR_PATH = ""
# Goanna static analyser. Please overload it in mbed_settings.py
GOANNA_PATH = "c:/Program Files (x86)/RedLizards/Goanna Central 3.2.3/bin"
GOANNA_PATH = ""
# cppcheck path (command) and output message format
CPPCHECK_CMD = ["cppcheck", "--enable=all"]