HAL_ChibiOS: use USB for stdout on more boards

don't waste a UART
This commit is contained in:
Andrew Tridgell 2018-06-23 20:56:05 +10:00
parent 4997898c5b
commit dc0f2f9319
5 changed files with 16 additions and 12 deletions

View File

@ -20,8 +20,9 @@ FLASH_SIZE_KB 1024
# board voltage
STM32_VDD 330U
STDOUT_SERIAL SD3
STDOUT_BAUDRATE 57600
# use USB for stdout
#STDOUT_SERIAL SD3
#STDOUT_BAUDRATE 57600
# usart2
PA2 USART2_TX USART2 # E_TX2

View File

@ -45,14 +45,15 @@ PA14 JTCK-SWCLK SWD
# 5) SERIAL4: GPS2
# 6) SERIAL5: extra UART (usually RTOS debug console)
STDOUT_SERIAL SD5
STDOUT_BAUDRATE 57600
# use UART for stdout, so no STDOUT_SERIAL
#STDOUT_SERIAL SD5
#STDOUT_BAUDRATE 57600
# this is the pin that senses USB being connected. It is an input pin
# setup as OPENDRAIN
PA9 VBUS INPUT OPENDRAIN
UART_ORDER OTG1 USART3 USART2 USART1
UART_ORDER OTG1 USART3 USART2 USART1 UART5
# UART1 as board 2.1.5 for serial 3 gps
PB6 USART1_TX USART1

View File

@ -20,8 +20,9 @@ FLASH_SIZE_KB 1024
# board voltage
STM32_VDD 330U
STDOUT_SERIAL SD2
STDOUT_BAUDRATE 57600
# use USB for stdout, so no STDOUT_SERIAL
# STDOUT_SERIAL SD2
# STDOUT_BAUDRATE 57600
# only one I2C bus
I2C_ORDER I2C2 I2C1

View File

@ -20,8 +20,9 @@ FLASH_SIZE_KB 1024
# board voltage
STM32_VDD 330U
STDOUT_SERIAL SD3
STDOUT_BAUDRATE 57600
# use USB for stdout, so no STDOUT_SERIAL
# STDOUT_SERIAL SD3
# STDOUT_BAUDRATE 57600
# only one I2C bus
I2C_ORDER I2C1

View File

@ -18,9 +18,9 @@ FLASH_SIZE_KB 1024
# board voltage
STM32_VDD 330U
# serial port for stdout via flexi-port (conn3)
STDOUT_SERIAL SD1
STDOUT_BAUDRATE 115200
# use USB for stdout, so no STDOUT_SERIAL
# STDOUT_SERIAL SD1
# STDOUT_BAUDRATE 115200
# --------LEDs-----------
PB5 LED_BLUE OUTPUT LOW GPIO(0)