aboutsummaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-04-22 13:13:08 +0200
committerLorenz Meier <lm@inf.ethz.ch>2013-04-22 13:13:08 +0200
commit17e01eb9cbb0cbb904331dadd8525fbe81e8abc7 (patch)
tree764fe4cab4305ccbe35c6e13fde6c3b8bc7e82a9 /nuttx
parent7e0f8b3edaf584a48cd3bc3351e3205fd0106cdc (diff)
parentb7e947cb3d53cbb0f9b194980a6a63588ba56bf2 (diff)
downloadpx4-firmware-17e01eb9cbb0cbb904331dadd8525fbe81e8abc7.tar.gz
px4-firmware-17e01eb9cbb0cbb904331dadd8525fbe81e8abc7.tar.bz2
px4-firmware-17e01eb9cbb0cbb904331dadd8525fbe81e8abc7.zip
Merged
Diffstat (limited to 'nuttx')
-rwxr-xr-xnuttx/configs/px4fmu/include/board.h6
-rw-r--r--nuttx/configs/px4fmu/nsh/appconfig5
-rwxr-xr-xnuttx/configs/px4fmu/nsh/defconfig2
-rw-r--r--nuttx/configs/px4fmuv2/nsh/appconfig2
4 files changed, 9 insertions, 6 deletions
diff --git a/nuttx/configs/px4fmu/include/board.h b/nuttx/configs/px4fmu/include/board.h
index 0bc0b3021..294b6c398 100755
--- a/nuttx/configs/px4fmu/include/board.h
+++ b/nuttx/configs/px4fmu/include/board.h
@@ -308,6 +308,10 @@
#define GPIO_SPI1_MOSI GPIO_SPI1_MOSI_1
#define GPIO_SPI1_SCK GPIO_SPI1_SCK_1
+#define GPIO_SPI2_MISO GPIO_SPI2_MISO_2
+#define GPIO_SPI2_MOSI GPIO_SPI2_MOSI_2
+#define GPIO_SPI2_SCK GPIO_SPI2_SCK_2
+
#define GPIO_SPI3_MISO GPIO_SPI3_MISO_2
#define GPIO_SPI3_MOSI GPIO_SPI3_MOSI_1
#define GPIO_SPI3_SCK GPIO_SPI3_SCK_2
@@ -321,6 +325,8 @@
#define PX4_SPIDEV_ACCEL 2
#define PX4_SPIDEV_MPU 3
+#define PX4_SPIDEV_ACCEL_MAG 2 // external for anti vibration test
+
/*
* Tone alarm output
*/
diff --git a/nuttx/configs/px4fmu/nsh/appconfig b/nuttx/configs/px4fmu/nsh/appconfig
index 9092e9541..efa89a173 100644
--- a/nuttx/configs/px4fmu/nsh/appconfig
+++ b/nuttx/configs/px4fmu/nsh/appconfig
@@ -109,16 +109,15 @@ endif
CONFIGURED_APPS += systemcmds/i2c
# Communication and Drivers
-CONFIGURED_APPS += drivers/boards/px4fmu
+#CONFIGURED_APPS += drivers/boards/px4fmu
CONFIGURED_APPS += drivers/device
CONFIGURED_APPS += drivers/ms5611
CONFIGURED_APPS += drivers/hmc5883
CONFIGURED_APPS += drivers/mpu6000
CONFIGURED_APPS += drivers/bma180
-CONFIGURED_APPS += drivers/l3gd20
CONFIGURED_APPS += drivers/px4io
CONFIGURED_APPS += drivers/stm32
-CONFIGURED_APPS += drivers/led
+#CONFIGURED_APPS += drivers/led
CONFIGURED_APPS += drivers/blinkm
CONFIGURED_APPS += drivers/stm32/tone_alarm
CONFIGURED_APPS += drivers/stm32/adc
diff --git a/nuttx/configs/px4fmu/nsh/defconfig b/nuttx/configs/px4fmu/nsh/defconfig
index 130886aac..cf30b835f 100755
--- a/nuttx/configs/px4fmu/nsh/defconfig
+++ b/nuttx/configs/px4fmu/nsh/defconfig
@@ -85,7 +85,7 @@ CONFIG_ARCH_FPU=y
CONFIG_ARCH_INTERRUPTSTACK=n
CONFIG_ARCH_STACKDUMP=y
CONFIG_ARCH_BOOTLOADER=n
-CONFIG_ARCH_LEDS=y
+CONFIG_ARCH_LEDS=n
CONFIG_ARCH_BUTTONS=n
CONFIG_ARCH_CALIBRATION=n
CONFIG_ARCH_DMA=y
diff --git a/nuttx/configs/px4fmuv2/nsh/appconfig b/nuttx/configs/px4fmuv2/nsh/appconfig
index 9e3f50a13..d945f3d88 100644
--- a/nuttx/configs/px4fmuv2/nsh/appconfig
+++ b/nuttx/configs/px4fmuv2/nsh/appconfig
@@ -111,8 +111,6 @@ CONFIGURED_APPS += drivers/boards/px4fmuv2
CONFIGURED_APPS += drivers/device
# XXX needs conversion to SPI
#CONFIGURED_APPS += drivers/ms5611
-CONFIGURED_APPS += drivers/l3gd20
-CONFIGURED_APPS += drivers/lsm303d
# XXX needs conversion to serial
#CONFIGURED_APPS += drivers/px4io
CONFIGURED_APPS += drivers/stm32