summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm3240g-eval/nsh/setenv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/stm3240g-eval/nsh/setenv.sh')
-rwxr-xr-xnuttx/configs/stm3240g-eval/nsh/setenv.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/nuttx/configs/stm3240g-eval/nsh/setenv.sh b/nuttx/configs/stm3240g-eval/nsh/setenv.sh
index 8d502cbe5..4d92d6bbf 100755
--- a/nuttx/configs/stm3240g-eval/nsh/setenv.sh
+++ b/nuttx/configs/stm3240g-eval/nsh/setenv.sh
@@ -59,9 +59,11 @@ export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/CodeSourcery/Sourcery G++
# These are the Cygwin paths to the locations where I installed the Atollic
# toolchain under windows. You will also have to edit this if you install
-# the CodeSourcery toolchain in any other location
-#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for ARM Pro 2.3.0/ARMTools/bin"
-#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for STMicroelectronics STM32 Lite 2.3.0/ARMTools/bin"
+# the Atollic toolchain in any other location. /usr/bin is added before
+# the Atollic bin path because there is are binaries named gcc.exe and g++.exe
+# at those locations as well.
+#export TOOLCHAIN_BIN="/usr/bin:/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for ARM Pro 2.3.0/ARMTools/bin"
+#export TOOLCHAIN_BIN="/usr/bin:/cygdrive/c/Program Files (x86)/Atollic/TrueSTUDIO for STMicroelectronics STM32 Lite 2.3.0/ARMTools/bin"
# This the Cygwin path to the location where I build the buildroot
# toolchain.