aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/boards/px4fmu-v1
diff options
context:
space:
mode:
authorAsh Charles <ashcharles@gmail.com>2014-05-13 09:41:41 -0700
committerAsh Charles <ashcharles@gmail.com>2014-05-13 09:41:41 -0700
commite5508a1aa07fb4a0e76dfd077c5beaa114f21695 (patch)
treea7af9c3587c5eb57f70b3b5ce24f065b46605b6a /src/drivers/boards/px4fmu-v1
parent178a3e8567b3e721771fffcb8f32df140ad1038b (diff)
downloadpx4-firmware-e5508a1aa07fb4a0e76dfd077c5beaa114f21695.tar.gz
px4-firmware-e5508a1aa07fb4a0e76dfd077c5beaa114f21695.tar.bz2
px4-firmware-e5508a1aa07fb4a0e76dfd077c5beaa114f21695.zip
Add Gumstix AeroCore device
Based on the work of Andrew Smith [1], add board configuration and device drivers to support the Gumstix AeroCore (previously Aerodroid) board [2]. The AeroCore is an autopilot board based on a STM32F427 similar to the FMUv2. [1] https://github.com/smithandrewc/Firmware [2] https://store.gumstix.com/index.php/products/585/ Signed-off-by: Ash Charles <ashcharles@gmail.com>
Diffstat (limited to 'src/drivers/boards/px4fmu-v1')
-rw-r--r--src/drivers/boards/px4fmu-v1/board_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/boards/px4fmu-v1/board_config.h b/src/drivers/boards/px4fmu-v1/board_config.h
index 02c26b5c0..58273f2d2 100644
--- a/src/drivers/boards/px4fmu-v1/board_config.h
+++ b/src/drivers/boards/px4fmu-v1/board_config.h
@@ -85,6 +85,8 @@ __BEGIN_DECLS
#define GPIO_SPI_CS_MPU (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_50MHz|GPIO_OUTPUT_SET|GPIO_PORTB|GPIO_PIN0)
#define GPIO_SPI_CS_SDCARD (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_50MHz|GPIO_OUTPUT_SET|GPIO_PORTA|GPIO_PIN4)
+#define PX4_SPI_BUS_SENSORS 1
+
/*
* Use these in place of the spi_dev_e enumeration to
* select a specific SPI device on SPI1