HWDEF: add SLCAN OTG port, correct defaults.param errors

This commit is contained in:
Henry Wurzburg 2022-03-28 11:37:39 -05:00 committed by Randy Mackay
parent bb86b35f03
commit 94c0701f17
2 changed files with 5 additions and 5 deletions

View File

@ -2,10 +2,10 @@
BRD_HEAT_TARG 45 BRD_HEAT_TARG 45
# setup serial2 port defaults for ESP8266 # setup serial2 port defaults for ESP8266
define HAL_SERIAL2_PROTOCOL SerialProtocol_MAVLink2 SERIAL2_BAUD 921600
define HAL_SERIAL2_BAUD 921600
# setup the parameter for the ADC power module # setup the parameter for the ADC power module
BATT_MONITOR 4
BATT_VOLT_PIN 16 BATT_VOLT_PIN 16
BATT_CURR_PIN 17 BATT_CURR_PIN 17
BATT_VOLT_MULT 20.000 BATT_VOLT_MULT 20.000
@ -16,5 +16,5 @@ BATT2_VOLT_MULT 20.000
BATT2_AMP_PERVLT 17.000 BATT2_AMP_PERVLT 17.000
# setup the parameter for the two Relays GPIO others for reserve # setup the parameter for the two Relays GPIO others for reserve
define RELAY1_PIN_DEFAULT 1 RELAY_PIN 1
define RELAY2_PIN_DEFAULT 2 RELAY_PIN2 2

View File

@ -20,7 +20,7 @@ STM32_ST_USE_TIMER 2
FLASH_RESERVE_START_KB 128 FLASH_RESERVE_START_KB 128
# order of UARTs (and USB) # 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 # now we define the pins that USB is connected on
PA11 OTG_FS_DM OTG1 PA11 OTG_FS_DM OTG1