Added support for PX4V1 UARTD in HAL_PX4_Class

This commit is contained in:
E Thomas 2018-07-15 10:40:38 -04:00 committed by Andrew Tridgell
parent 301fb31e5e
commit e5659d7d47
1 changed files with 7 additions and 0 deletions

View File

@ -76,6 +76,13 @@ static PX4::SPIDeviceManager spi_mgr_instance;
#define UARTD_DEFAULT_DEVICE "/dev/null"
#define UARTE_DEFAULT_DEVICE "/dev/null"
#define UARTF_DEFAULT_DEVICE "/dev/null"
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V1)
#define UARTA_DEFAULT_DEVICE "/dev/ttyACM0"
#define UARTB_DEFAULT_DEVICE "/dev/ttyS3"
#define UARTC_DEFAULT_DEVICE "/dev/ttyS2"
#define UARTD_DEFAULT_DEVICE "/dev/ttyS1"
#define UARTE_DEFAULT_DEVICE "/dev/null"
#define UARTF_DEFAULT_DEVICE "/dev/null"
#else
#define UARTA_DEFAULT_DEVICE "/dev/ttyACM0"
#define UARTB_DEFAULT_DEVICE "/dev/ttyS3"