mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 17:18:28 -04:00
HAL_ChibiOS: don't use STDOUT_SERIAL on mindpx-v2 or cube-red
better to use USB, giving us one more uart
This commit is contained in:
parent
0d4ab51f15
commit
24ba876e88
@ -16,9 +16,9 @@ STM32_VDD 330U
|
||||
# flash size
|
||||
FLASH_SIZE_KB 2048
|
||||
|
||||
# serial port for stdout
|
||||
STDOUT_SERIAL SD7
|
||||
STDOUT_BAUDRATE 57600
|
||||
# no serial port for stdout, use USB instead
|
||||
# STDOUT_SERIAL SD7
|
||||
# STDOUT_BAUDRATE 57600
|
||||
|
||||
# USB setup
|
||||
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
|
||||
@ -31,7 +31,7 @@ USB_STRING_SERIAL "%SERIAL%"
|
||||
I2C_ORDER I2C2 I2C1
|
||||
|
||||
# order of UARTs (and USB)
|
||||
UART_ORDER OTG1 UART4 USART2 USART3 UART8
|
||||
UART_ORDER OTG1 UART4 USART2 USART3 UART8 UART7
|
||||
|
||||
# UART for IOMCU
|
||||
IOMCU_UART USART6
|
||||
|
@ -28,15 +28,15 @@ FLASH_RESERVE_START_KB 16
|
||||
# space to reserve for storage at end of flash
|
||||
FLASH_RESERVE_END_KB 0
|
||||
|
||||
# serial port for stdout
|
||||
STDOUT_SERIAL SD7
|
||||
STDOUT_BAUDRATE 57600
|
||||
# serial port for stdout disabled, uses USB instead
|
||||
# STDOUT_SERIAL SD7
|
||||
# STDOUT_BAUDRATE 57600
|
||||
|
||||
# order of I2C buses
|
||||
I2C_ORDER I2C1 I2C2
|
||||
|
||||
# order of UARTs (and USB)
|
||||
UART_ORDER OTG1 UART4 USART2 USART3 UART8 USART1
|
||||
UART_ORDER OTG1 UART4 USART2 USART3 UART8 USART1 UART7
|
||||
|
||||
# UART4 is GPS
|
||||
PA0 UART4_TX UART4
|
||||
|
Loading…
Reference in New Issue
Block a user