diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-06-15 10:56:08 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-06-15 10:56:08 -0600 |
commit | 123f7dc4f8825a277f2e416558bbb49fa19cc2b7 (patch) | |
tree | e54dd6223c6040d670644783235ae9ee6d96900f /nuttx/configs/sam4s-xplained/nsh/setenv.sh | |
parent | 9c82995c7a5847034355250dd9438649151ca58c (diff) | |
download | px4-nuttx-123f7dc4f8825a277f2e416558bbb49fa19cc2b7.tar.gz px4-nuttx-123f7dc4f8825a277f2e416558bbb49fa19cc2b7.tar.bz2 px4-nuttx-123f7dc4f8825a277f2e416558bbb49fa19cc2b7.zip |
Add support for the SAM4L Xplained Pro I/O1 module
Diffstat (limited to 'nuttx/configs/sam4s-xplained/nsh/setenv.sh')
-rwxr-xr-x | nuttx/configs/sam4s-xplained/nsh/setenv.sh | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/nuttx/configs/sam4s-xplained/nsh/setenv.sh b/nuttx/configs/sam4s-xplained/nsh/setenv.sh index cf9df57ed..493fe18c1 100755 --- a/nuttx/configs/sam4s-xplained/nsh/setenv.sh +++ b/nuttx/configs/sam4s-xplained/nsh/setenv.sh @@ -32,27 +32,23 @@ # POSSIBILITY OF SUCH DAMAGE. # - -if [ "$_" = "$0" ] ; then - echo "You must source this script, not run it!" 1>&2 - exit 1 -fi - -WD=`pwd` -if [ ! -x "setenv.sh" ]; then - echo "This script must be executed from the top-level NuttX build directory" - exit 1 -fi - -if [ -z "${PATH_ORIG}" ]; then - export PATH_ORIG="${PATH}" -fi +# This is the Cygwin path to the location where I installed the Atmel GCC +# toolchain under Windows. You will also have to edit this if you install +# this toolchain in any other location +#export TOOLCHAIN_BIN="/cygdrive/c/Program Files (x86)/Atmel/Atmel Toolchain/ARM GCC/Native/4.7.3.99/arm-gnu-toolchain/bin" # This is the Cygwin path to the location where I installed the CodeSourcery # 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)/CodeSourcery/Sourcery G++ Lite/bin" +# 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 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" + # This is the Cygwin path to the location where I build the buildroot # toolchain. export TOOLCHAIN_BIN="${WD}/../misc/buildroot/build_arm_nofpu/staging_dir/bin" |