mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL_PX4: aeorfc: Move GPS to UART7
The UART3 also have the I2C bus 2 functions so moving GPS to UART7 to have one additional I2C. To keep GPS working is also necessary update the FPGA RTL to version 0xC1 or higher.
This commit is contained in:
parent
6cf8791eb5
commit
e674d6ee20
@ -68,10 +68,10 @@ static PX4::SPIDeviceManager spi_mgr_instance;
|
||||
#define UARTF_DEFAULT_DEVICE "/dev/ttyS0" // wifi
|
||||
#elif defined(CONFIG_ARCH_BOARD_AEROFC_V1)
|
||||
#define UARTA_DEFAULT_DEVICE "/dev/ttyS1" // Aero
|
||||
#define UARTB_DEFAULT_DEVICE "/dev/ttyS2" // GPS
|
||||
#define UARTC_DEFAULT_DEVICE "/dev/ttyS4" // Telem
|
||||
#define UARTB_DEFAULT_DEVICE "/dev/ttyS5" // GPS
|
||||
#define UARTC_DEFAULT_DEVICE "/dev/ttyS3" // Telem
|
||||
// ttyS0: ESC
|
||||
// ttyS3: RC
|
||||
// ttyS2: RC
|
||||
#define UARTD_DEFAULT_DEVICE "/dev/null"
|
||||
#define UARTE_DEFAULT_DEVICE "/dev/null"
|
||||
#define UARTF_DEFAULT_DEVICE "/dev/null"
|
||||
|
@ -1,5 +1,5 @@
|
||||
# AEROFC-V1 custom definitions
|
||||
|
||||
set NSH_ERROR_UART1 /dev/ttyS5
|
||||
set NSH_ERROR_UART1 /dev/ttyS4
|
||||
set NSH_ERROR_UART2 none
|
||||
set USB none
|
||||
|
Loading…
Reference in New Issue
Block a user