aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/boards
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2013-07-04 12:50:59 -0700
committerpx4dev <px4@purgatory.org>2013-07-04 12:50:59 -0700
commit2e001aad0429c816321bfc76264282935911746e (patch)
treeedd200e08b2380bc0a82d1934ecc0fdd98de16b9 /src/drivers/boards
parentf2079ae7ff3459f5a72abeef419053fa8b7cfcf5 (diff)
downloadpx4-firmware-2e001aad0429c816321bfc76264282935911746e.tar.gz
px4-firmware-2e001aad0429c816321bfc76264282935911746e.tar.bz2
px4-firmware-2e001aad0429c816321bfc76264282935911746e.zip
Add PX4IOv2 support to the uploader.
Diffstat (limited to 'src/drivers/boards')
-rw-r--r--src/drivers/boards/px4fmu/px4fmu_internal.h3
-rw-r--r--src/drivers/boards/px4fmuv2/px4fmu_internal.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/boards/px4fmu/px4fmu_internal.h b/src/drivers/boards/px4fmu/px4fmu_internal.h
index 671a58f8f..5a73c10bf 100644
--- a/src/drivers/boards/px4fmu/px4fmu_internal.h
+++ b/src/drivers/boards/px4fmu/px4fmu_internal.h
@@ -58,6 +58,9 @@ __BEGIN_DECLS
****************************************************************************************************/
/* Configuration ************************************************************************************/
+/* PX4IO connection configuration */
+#define PX4IO_SERIAL_DEVICE "/dev/ttyS2"
+
//#ifdef CONFIG_STM32_SPI2
//# error "SPI2 is not supported on this board"
//#endif
diff --git a/src/drivers/boards/px4fmuv2/px4fmu_internal.h b/src/drivers/boards/px4fmuv2/px4fmu_internal.h
index 1698336b4..dd291b9b7 100644
--- a/src/drivers/boards/px4fmuv2/px4fmu_internal.h
+++ b/src/drivers/boards/px4fmuv2/px4fmu_internal.h
@@ -59,6 +59,7 @@ __BEGIN_DECLS
/* Configuration ************************************************************************************/
/* PX4IO connection configuration */
+#define PX4IO_SERIAL_DEVICE "/dev/ttyS5"
#define PX4IO_SERIAL_TX_GPIO GPIO_USART6_TX
#define PX4IO_SERIAL_RX_GPIO GPIO_USART6_RX
#define PX4IO_SERIAL_BASE STM32_USART6_BASE /* hardwired on the board */