mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
HAL_PX4: allow uart5 to be used for non-nsh on FMUv2/FMUv3
This commit is contained in:
parent
0f08207bdb
commit
d09b549144
@ -58,7 +58,7 @@ static PX4::SPIDeviceManager spi_mgr_instance;
|
|||||||
#define UARTC_DEFAULT_DEVICE "/dev/ttyS1"
|
#define UARTC_DEFAULT_DEVICE "/dev/ttyS1"
|
||||||
#define UARTD_DEFAULT_DEVICE "/dev/ttyS2"
|
#define UARTD_DEFAULT_DEVICE "/dev/ttyS2"
|
||||||
#define UARTE_DEFAULT_DEVICE "/dev/ttyS6"
|
#define UARTE_DEFAULT_DEVICE "/dev/ttyS6"
|
||||||
#define UARTF_DEFAULT_DEVICE "/dev/null"
|
#define UARTF_DEFAULT_DEVICE "/dev/ttyS5"
|
||||||
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V4) || defined(CONFIG_ARCH_BOARD_PX4FMU_V4PRO)
|
#elif defined(CONFIG_ARCH_BOARD_PX4FMU_V4) || defined(CONFIG_ARCH_BOARD_PX4FMU_V4PRO)
|
||||||
#define UARTA_DEFAULT_DEVICE "/dev/ttyACM0"
|
#define UARTA_DEFAULT_DEVICE "/dev/ttyACM0"
|
||||||
#define UARTB_DEFAULT_DEVICE "/dev/ttyS3"
|
#define UARTB_DEFAULT_DEVICE "/dev/ttyS3"
|
||||||
|
Loading…
Reference in New Issue
Block a user