mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
HAL_ChibiOS: hwdef: add support for dual cdc on CubeYellow and CubeOrange
This commit is contained in:
parent
2f0d1336e6
commit
dcf17e5bc2
@ -32,7 +32,7 @@ define HAL_STORAGE_SIZE 16384
|
|||||||
I2C_ORDER I2C2 I2C1
|
I2C_ORDER I2C2 I2C1
|
||||||
|
|
||||||
# order of UARTs (and USB)
|
# order of UARTs (and USB)
|
||||||
UART_ORDER OTG1 UART4 USART2 USART3 UART8 UART7
|
UART_ORDER OTG1 UART4 USART2 USART3 UART8 UART7 OTG2
|
||||||
|
|
||||||
# If the board has an IOMCU connected via a UART then this defines the
|
# If the board has an IOMCU connected via a UART then this defines the
|
||||||
# UART to talk to that MCU. Leave it out for boards with no IOMCU.
|
# UART to talk to that MCU. Leave it out for boards with no IOMCU.
|
||||||
@ -299,6 +299,7 @@ define HAL_BATT_CURR_PIN 15
|
|||||||
define HAL_BATT_VOLT_SCALE 10.1
|
define HAL_BATT_VOLT_SCALE 10.1
|
||||||
define HAL_BATT_CURR_SCALE 17.0
|
define HAL_BATT_CURR_SCALE 17.0
|
||||||
define HAL_GPIO_PWM_VOLT_PIN 3
|
define HAL_GPIO_PWM_VOLT_PIN 3
|
||||||
|
define HAL_HAVE_DUAL_USB_CDC 1
|
||||||
|
|
||||||
# List of files to put in ROMFS. For fmuv3 we need an IO firmware so
|
# List of files to put in ROMFS. For fmuv3 we need an IO firmware so
|
||||||
# we can automatically update the IOMCU firmware on boot. The format
|
# we can automatically update the IOMCU firmware on boot. The format
|
||||||
|
@ -110,7 +110,7 @@ I2C_ORDER I2C2 I2C1
|
|||||||
# 6) SERIAL5: extra UART (usually RTOS debug console)
|
# 6) SERIAL5: extra UART (usually RTOS debug console)
|
||||||
|
|
||||||
# order of UARTs (and USB)
|
# order of UARTs (and USB)
|
||||||
UART_ORDER OTG1 UART4 USART2 USART3 UART8 UART7
|
UART_ORDER OTG1 UART4 USART2 USART3 UART8 UART7 OTG2
|
||||||
|
|
||||||
# if the board has an IOMCU connected via a UART then this defines the
|
# if the board has an IOMCU connected via a UART then this defines the
|
||||||
# UART to talk to that MCU. Leave it out for boards with no IOMCU
|
# UART to talk to that MCU. Leave it out for boards with no IOMCU
|
||||||
@ -471,6 +471,7 @@ define HAL_BATT_CURR_PIN 3
|
|||||||
define HAL_BATT_VOLT_SCALE 10.1
|
define HAL_BATT_VOLT_SCALE 10.1
|
||||||
define HAL_BATT_CURR_SCALE 17.0
|
define HAL_BATT_CURR_SCALE 17.0
|
||||||
define HAL_GPIO_PWM_VOLT_PIN 3
|
define HAL_GPIO_PWM_VOLT_PIN 3
|
||||||
|
define HAL_HAVE_DUAL_USB_CDC 1
|
||||||
|
|
||||||
# this defines the default maximum clock on I2C devices.
|
# this defines the default maximum clock on I2C devices.
|
||||||
define HAL_I2C_MAX_CLOCK 100000
|
define HAL_I2C_MAX_CLOCK 100000
|
||||||
|
Loading…
Reference in New Issue
Block a user