mirror of https://github.com/ArduPilot/ardupilot
HAL_PX4: enable wifi port on FMUv4
This commit is contained in:
parent
3a242ee4a9
commit
8695668da3
|
@ -45,12 +45,18 @@ static PX4GPIO gpioDriver;
|
|||
|
||||
static Empty::I2CDeviceManager i2c_mgr_instance;
|
||||
|
||||
#if defined(CONFIG_ARCH_BOARD_PX4FMU_V2) || defined(CONFIG_ARCH_BOARD_PX4FMU_V4)
|
||||
#if defined(CONFIG_ARCH_BOARD_PX4FMU_V2)
|
||||
#define UARTA_DEFAULT_DEVICE "/dev/ttyACM0"
|
||||
#define UARTB_DEFAULT_DEVICE "/dev/ttyS3"
|
||||
#define UARTC_DEFAULT_DEVICE "/dev/ttyS1"
|
||||
#define UARTD_DEFAULT_DEVICE "/dev/ttyS2"
|
||||
#define UARTE_DEFAULT_DEVICE "/dev/ttyS6"
|
||||
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V4)
|
||||
#define UARTA_DEFAULT_DEVICE "/dev/ttyACM0"
|
||||
#define UARTB_DEFAULT_DEVICE "/dev/ttyS3"
|
||||
#define UARTC_DEFAULT_DEVICE "/dev/ttyS1"
|
||||
#define UARTD_DEFAULT_DEVICE "/dev/ttyS2"
|
||||
#define UARTE_DEFAULT_DEVICE "/dev/ttyS0"
|
||||
#else
|
||||
#define UARTA_DEFAULT_DEVICE "/dev/ttyACM0"
|
||||
#define UARTB_DEFAULT_DEVICE "/dev/ttyS3"
|
||||
|
|
Loading…
Reference in New Issue