mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 01:28:29 -04:00
HAL_ChibiOS: disable USART1 till USB problem solved
using USART1 causes USB disconnects. The behaviour is like CTS/RTS is enabled on USART1, but it is disabled.
This commit is contained in:
parent
d0eb2970c7
commit
30e4323c6d
@ -22,14 +22,14 @@ FLASH_SIZE_KB 1024
|
||||
# board voltage
|
||||
STM32_VDD 330U
|
||||
|
||||
STDOUT_SERIAL SD1
|
||||
STDOUT_BAUDRATE 115200
|
||||
STDOUT_SERIAL SD3
|
||||
STDOUT_BAUDRATE 57600
|
||||
|
||||
# only one I2C bus
|
||||
I2C_ORDER I2C1
|
||||
|
||||
# order of UARTs (and USB)
|
||||
UART_ORDER OTG1 USART6 USART1 USART3
|
||||
UART_ORDER OTG1 USART6 USART3
|
||||
|
||||
# we need to add support for N channels for RCIN
|
||||
# PB14 TIM8_CH2 TIM8 RCIN PULLUP LOW DMA_CH0
|
||||
@ -51,13 +51,15 @@ PB4 LED_RED OUTPUT LOW GPIO(2)
|
||||
PC6 USART6_TX USART6
|
||||
PC7 USART6_RX USART6
|
||||
|
||||
# this is a very strange workaround for a USB problem. Needs investigating
|
||||
define GCS_SETUP_UART_FIRST 2
|
||||
|
||||
# flexi port, telem2 (can also be I2C2)
|
||||
PB10 USART3_TX USART3
|
||||
PB11 USART3_RX USART3
|
||||
|
||||
# main port. This should be telem1, but is disabled as it interferes
|
||||
# #with USB for some unknown reason
|
||||
#PA9 USART1_TX USART1
|
||||
#PA10 USART1_RX USART1
|
||||
|
||||
# alternative config
|
||||
# PB10 I2C2_SCL I2C2
|
||||
# PB11 I2C2_SDA I2C2
|
||||
@ -75,12 +77,10 @@ PC12 SPI3_MOSI SPI3
|
||||
# IRQ for MPU6000
|
||||
PC4 EXTI_MPU6000 INPUT
|
||||
|
||||
PA9 USART1_TX USART1
|
||||
PA10 USART1_RX USART1
|
||||
|
||||
# PA10 IO-debug-console
|
||||
PA11 OTG_FS_DM OTG1
|
||||
PA12 OTG_FS_DP OTG1
|
||||
|
||||
PA13 JTMS-SWDIO SWD
|
||||
PA14 JTCK-SWCLK SWD
|
||||
|
||||
@ -126,3 +126,4 @@ define HAL_BARO_MS5611_I2C_ADDR 0x77
|
||||
# SPI devices
|
||||
SPIDEV mpu6000 SPI1 DEVID1 MPU_CS MODE3 1*MHZ 8*MHZ
|
||||
SPIDEV dataflash SPI3 DEVID1 FLASH_CS MODE3 1*MHZ 8*MHZ
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user