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:
Andrew Tridgell 2018-11-09 19:50:41 +11:00
parent 0d4ab51f15
commit 24ba876e88
2 changed files with 8 additions and 8 deletions

View File

@ -16,9 +16,9 @@ STM32_VDD 330U
# flash size # flash size
FLASH_SIZE_KB 2048 FLASH_SIZE_KB 2048
# serial port for stdout # no serial port for stdout, use USB instead
STDOUT_SERIAL SD7 # STDOUT_SERIAL SD7
STDOUT_BAUDRATE 57600 # STDOUT_BAUDRATE 57600
# USB setup # USB setup
USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE USB_VENDOR 0x2DAE # ONLY FOR USE BY HEX! NOBODY ELSE
@ -31,7 +31,7 @@ USB_STRING_SERIAL "%SERIAL%"
I2C_ORDER I2C2 I2C1 I2C_ORDER I2C2 I2C1
# order of UARTs (and USB) # order of UARTs (and USB)
UART_ORDER OTG1 UART4 USART2 USART3 UART8 UART_ORDER OTG1 UART4 USART2 USART3 UART8 UART7
# UART for IOMCU # UART for IOMCU
IOMCU_UART USART6 IOMCU_UART USART6

View File

@ -28,15 +28,15 @@ FLASH_RESERVE_START_KB 16
# space to reserve for storage at end of flash # space to reserve for storage at end of flash
FLASH_RESERVE_END_KB 0 FLASH_RESERVE_END_KB 0
# serial port for stdout # serial port for stdout disabled, uses USB instead
STDOUT_SERIAL SD7 # STDOUT_SERIAL SD7
STDOUT_BAUDRATE 57600 # STDOUT_BAUDRATE 57600
# order of I2C buses # order of I2C buses
I2C_ORDER I2C1 I2C2 I2C_ORDER I2C1 I2C2
# order of UARTs (and USB) # 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 # UART4 is GPS
PA0 UART4_TX UART4 PA0 UART4_TX UART4