HAL_ChibiOS: add definitions to support uavcan in fmuv3
This commit is contained in:
parent
edd0e8d2f5
commit
6f21c1583f
@ -59,10 +59,12 @@ PB0 EXTERN_GPIO1 OUTPUT GPIO(1)
|
|||||||
PB1 EXTERN_GPIO2 OUTPUT GPIO(2)
|
PB1 EXTERN_GPIO2 OUTPUT GPIO(2)
|
||||||
PB2 BOOT1 INPUT
|
PB2 BOOT1 INPUT
|
||||||
PB3 FMU_SW0 INPUT
|
PB3 FMU_SW0 INPUT
|
||||||
|
PB6 CAN2_TX CAN2
|
||||||
PB8 I2C1_SCL I2C1
|
PB8 I2C1_SCL I2C1
|
||||||
PB9 I2C1_SDA I2C1
|
PB9 I2C1_SDA I2C1
|
||||||
PB10 I2C2_SCL I2C2
|
PB10 I2C2_SCL I2C2
|
||||||
PB11 I2C2_SDA I2C2
|
PB11 I2C2_SDA I2C2
|
||||||
|
PB12 CAN2_RX CAN2
|
||||||
PB13 SPI2_SCK SPI2
|
PB13 SPI2_SCK SPI2
|
||||||
PB14 SPI2_MISO SPI2
|
PB14 SPI2_MISO SPI2
|
||||||
PB15 SPI2_MOSI SPI2
|
PB15 SPI2_MOSI SPI2
|
||||||
@ -86,8 +88,8 @@ PC13 GYRO_EXT_CS CS
|
|||||||
PC14 BARO_EXT_CS CS
|
PC14 BARO_EXT_CS CS
|
||||||
PC15 ACCEL_EXT_CS CS
|
PC15 ACCEL_EXT_CS CS
|
||||||
|
|
||||||
# PD0 CAN1_RX
|
PD0 CAN1_RX CAN1
|
||||||
# PD1 CAN1_TX
|
PD1 CAN1_TX CAN1
|
||||||
PD2 SDIO_CMD SDIO
|
PD2 SDIO_CMD SDIO
|
||||||
# USART2 serial2 telem1
|
# USART2 serial2 telem1
|
||||||
PD3 USART2_CTS USART2
|
PD3 USART2_CTS USART2
|
||||||
@ -176,3 +178,6 @@ define AP_FEATURE_RTSCTS 1
|
|||||||
|
|
||||||
# enable SBUS_OUT on IOMCU
|
# enable SBUS_OUT on IOMCU
|
||||||
define AP_FEATURE_SBUS_OUT 1
|
define AP_FEATURE_SBUS_OUT 1
|
||||||
|
|
||||||
|
# enable UAVCAN
|
||||||
|
define HAL_WITH_UAVCAN 1
|
||||||
|
Loading…
Reference in New Issue
Block a user