mirror of https://github.com/ArduPilot/ardupilot
HWDEF: add SLCAN OTG port, correct defaults.param errors
This commit is contained in:
parent
bb86b35f03
commit
94c0701f17
|
@ -2,10 +2,10 @@
|
|||
BRD_HEAT_TARG 45
|
||||
|
||||
# setup serial2 port defaults for ESP8266
|
||||
define HAL_SERIAL2_PROTOCOL SerialProtocol_MAVLink2
|
||||
define HAL_SERIAL2_BAUD 921600
|
||||
SERIAL2_BAUD 921600
|
||||
|
||||
# setup the parameter for the ADC power module
|
||||
BATT_MONITOR 4
|
||||
BATT_VOLT_PIN 16
|
||||
BATT_CURR_PIN 17
|
||||
BATT_VOLT_MULT 20.000
|
||||
|
@ -16,5 +16,5 @@ BATT2_VOLT_MULT 20.000
|
|||
BATT2_AMP_PERVLT 17.000
|
||||
|
||||
# setup the parameter for the two Relays GPIO others for reserve
|
||||
define RELAY1_PIN_DEFAULT 1
|
||||
define RELAY2_PIN_DEFAULT 2
|
||||
RELAY_PIN 1
|
||||
RELAY_PIN2 2
|
||||
|
|
|
@ -20,7 +20,7 @@ STM32_ST_USE_TIMER 2
|
|||
FLASH_RESERVE_START_KB 128
|
||||
|
||||
# order of UARTs (and USB)
|
||||
SERIAL_ORDER OTG1 USART1 USART2 USART3 UART4 UART7
|
||||
SERIAL_ORDER OTG1 USART1 USART2 USART3 UART4 UART7 OTG2
|
||||
|
||||
# now we define the pins that USB is connected on
|
||||
PA11 OTG_FS_DM OTG1
|
||||
|
|
Loading…
Reference in New Issue