Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotH743/defaults.parm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/QioTekZealotH743/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down