diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-03 13:39:27 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-03 13:39:27 +0000 |
commit | feff83cc2bca59bfab0b6f4a2d72355f63276214 (patch) | |
tree | 2ef00133ca90489fbcc3a288262b4a9ce6437b54 /nuttx/configs | |
parent | fe10483ec5700858086349844c1259bcf8113ccb (diff) | |
download | px4-nuttx-feff83cc2bca59bfab0b6f4a2d72355f63276214.tar.gz px4-nuttx-feff83cc2bca59bfab0b6f4a2d72355f63276214.tar.bz2 px4-nuttx-feff83cc2bca59bfab0b6f4a2d72355f63276214.zip |
Move LPC214X scripts to a subdirectory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1126 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rwxr-xr-x | nuttx/configs/mcu123-lpc214x/nsh/setenv.sh | 3 | ||||
-rwxr-xr-x | nuttx/configs/mcu123-lpc214x/ostest/setenv.sh | 3 | ||||
-rwxr-xr-x | nuttx/configs/mcu123-lpc214x/scripts/lpc21isp.sh (renamed from nuttx/configs/mcu123-lpc214x/lpc21isp.sh) | 0 | ||||
-rw-r--r-- | nuttx/configs/mcu123-lpc214x/usbserial/Make.defs | 2 | ||||
-rwxr-xr-x | nuttx/configs/mcu123-lpc214x/usbserial/setenv.sh | 3 | ||||
-rw-r--r-- | nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs | 2 | ||||
-rwxr-xr-x | nuttx/configs/mcu123-lpc214x/usbstorage/setenv.sh | 3 | ||||
-rwxr-xr-x | nuttx/configs/olimex-strp711/ostest/setenv.sh | 4 | ||||
-rw-r--r-- | nuttx/configs/olimex-strp711/src/up_spi.c | 3 |
9 files changed, 15 insertions, 8 deletions
diff --git a/nuttx/configs/mcu123-lpc214x/nsh/setenv.sh b/nuttx/configs/mcu123-lpc214x/nsh/setenv.sh index 45a9c5c14..5b8fc1108 100755 --- a/nuttx/configs/mcu123-lpc214x/nsh/setenv.sh +++ b/nuttx/configs/mcu123-lpc214x/nsh/setenv.sh @@ -41,6 +41,7 @@ if [ -z ${PATH_ORIG} ]; then export PATH_ORIG=${PATH}; fi WD=`pwd` export BUILDROOT_BIN=${WD}/../buildroot/build_arm_nofpu/staging_dir/bin -export PATH=${BUILDROOT_BIN}:/sbin:/usr/sbin:${PATH_ORIG} +export LPC214XSCRIPTS=$WD/configs/mcu123-lpc214x/scripts +export PATH=${BUILDROOT_BIN}:${LPC214XSCRIPTS}:/sbin:/usr/sbin:${PATH_ORIG} echo "PATH : ${PATH}" diff --git a/nuttx/configs/mcu123-lpc214x/ostest/setenv.sh b/nuttx/configs/mcu123-lpc214x/ostest/setenv.sh index 12915788d..fa840b656 100755 --- a/nuttx/configs/mcu123-lpc214x/ostest/setenv.sh +++ b/nuttx/configs/mcu123-lpc214x/ostest/setenv.sh @@ -41,6 +41,7 @@ if [ -z ${PATH_ORIG} ]; then export PATH_ORIG=${PATH}; fi WD=`pwd` export BUILDROOT_BIN=${WD}/../buildroot/build_arm_nofpu/staging_dir/bin -export PATH=${BUILDROOT_BIN}:/sbin:/usr/sbin:${PATH_ORIG} +export LPC214XSCRIPTS=$WD/configs/mcu123-lpc214x/scripts +export PATH=${BUILDROOT_BIN}:${LPC214XSCRIPTS}:/sbin:/usr/sbin:${PATH_ORIG} echo "PATH : ${PATH}" diff --git a/nuttx/configs/mcu123-lpc214x/lpc21isp.sh b/nuttx/configs/mcu123-lpc214x/scripts/lpc21isp.sh index ccb2025dd..ccb2025dd 100755 --- a/nuttx/configs/mcu123-lpc214x/lpc21isp.sh +++ b/nuttx/configs/mcu123-lpc214x/scripts/lpc21isp.sh diff --git a/nuttx/configs/mcu123-lpc214x/usbserial/Make.defs b/nuttx/configs/mcu123-lpc214x/usbserial/Make.defs index 1e2c433e7..66d4d8045 100644 --- a/nuttx/configs/mcu123-lpc214x/usbserial/Make.defs +++ b/nuttx/configs/mcu123-lpc214x/usbserial/Make.defs @@ -47,7 +47,7 @@ ARCHPICFLAGS = -fpic ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow ARCHDEFINES = ARCHINCLUDES = -I. -isystem $(TOPDIR)/include -ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nsh/ld.script +ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/usbserial/ld.script CROSSDEV = arm-elf- CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/mcu123-lpc214x/usbserial/setenv.sh b/nuttx/configs/mcu123-lpc214x/usbserial/setenv.sh index 4fab9f2f9..fe9114e63 100755 --- a/nuttx/configs/mcu123-lpc214x/usbserial/setenv.sh +++ b/nuttx/configs/mcu123-lpc214x/usbserial/setenv.sh @@ -41,6 +41,7 @@ if [ -z ${PATH_ORIG} ]; then export PATH_ORIG=${PATH}; fi WD=`pwd` export BUILDROOT_BIN=${WD}/../buildroot/build_arm_nofpu/staging_dir/bin -export PATH=${BUILDROOT_BIN}:/sbin:/usr/sbin:${PATH_ORIG} +export LPC214XSCRIPTS=$WD/configs/mcu123-lpc214x/scripts +export PATH=${BUILDROOT_BIN}:${LPC214XSCRIPTS}:/sbin:/usr/sbin:${PATH_ORIG} echo "PATH : ${PATH}" diff --git a/nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs b/nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs index cd04ff3ee..97a57de1f 100644 --- a/nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs +++ b/nuttx/configs/mcu123-lpc214x/usbstorage/Make.defs @@ -47,7 +47,7 @@ ARCHPICFLAGS = -fpic ARCHWARNINGS = -Wall -Wstrict-prototypes -Wshadow ARCHDEFINES = ARCHINCLUDES = -I. -isystem $(TOPDIR)/include -ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/nsh/ld.script +ARCHSCRIPT = -T$(TOPDIR)/configs/$(CONFIG_ARCH_BOARD)/usbstorage/ld.script CROSSDEV = arm-elf- CC = $(CROSSDEV)gcc diff --git a/nuttx/configs/mcu123-lpc214x/usbstorage/setenv.sh b/nuttx/configs/mcu123-lpc214x/usbstorage/setenv.sh index e24f06bf2..f5ca5a07e 100755 --- a/nuttx/configs/mcu123-lpc214x/usbstorage/setenv.sh +++ b/nuttx/configs/mcu123-lpc214x/usbstorage/setenv.sh @@ -41,6 +41,7 @@ if [ -z ${PATH_ORIG} ]; then export PATH_ORIG=${PATH}; fi WD=`pwd` export BUILDROOT_BIN=${WD}/../buildroot/build_arm_nofpu/staging_dir/bin -export PATH=${BUILDROOT_BIN}:/sbin:/usr/sbin:${PATH_ORIG} +export LPC214XSCRIPTS=$WD/configs/mcu123-lpc214x/scripts +export PATH=${BUILDROOT_BIN}:${LPC214XSCRIPTS}:/sbin:/usr/sbin:${PATH_ORIG} echo "PATH : ${PATH}" diff --git a/nuttx/configs/olimex-strp711/ostest/setenv.sh b/nuttx/configs/olimex-strp711/ostest/setenv.sh index c18224c19..0ebf1a2c9 100755 --- a/nuttx/configs/olimex-strp711/ostest/setenv.sh +++ b/nuttx/configs/olimex-strp711/ostest/setenv.sh @@ -41,7 +41,7 @@ if [ -z ${PATH_ORIG} ]; then export PATH_ORIG=${PATH}; fi WD=`pwd` export BUILDROOT_BIN=${WD}/../buildroot/build_arm_nofpu/staging_dir/bin -export STR41XCFGS=$WD/configs/olimex-strp711/scripts -export PATH=${BUILDROOT_BIN}:${STR41XCFGS}:/sbin:/usr/sbin:${PATH_ORIG} +export STR41XSCRIPTS=$WD/configs/olimex-strp711/scripts +export PATH=${BUILDROOT_BIN}:${STR41XSCRIPTS}:/sbin:/usr/sbin:${PATH_ORIG} echo "PATH : ${PATH}" diff --git a/nuttx/configs/olimex-strp711/src/up_spi.c b/nuttx/configs/olimex-strp711/src/up_spi.c index a4d6074a3..707f7fa06 100644 --- a/nuttx/configs/olimex-strp711/src/up_spi.c +++ b/nuttx/configs/olimex-strp711/src/up_spi.c @@ -665,8 +665,10 @@ static void spi_recvblock(FAR struct spi_dev_s *dev, FAR ubyte *buffer, size_t b FAR struct spi_dev_s *up_spiinitialize(int port) { FAR struct spi_dev_s *ret; + irqstate_t flags; uint16 reg16; + flags = irqsave(); #ifdef CONFIG_STR71X_BSPI0 if (port == 0) { @@ -762,6 +764,7 @@ FAR struct spi_dev_s *up_spiinitialize(int port) { ret = NULL; } + irqrestore(flags); return ret; } |