Dual CAN for H7 #3718
This commit is contained in:
parent
75bfead9a3
commit
f730da6acf
|
@ -151,8 +151,10 @@ void setBoardConfigOverrides(void) {
|
||||||
engineConfiguration->canTxPin = GPIOD_1;
|
engineConfiguration->canTxPin = GPIOD_1;
|
||||||
engineConfiguration->canRxPin = GPIOD_0;
|
engineConfiguration->canRxPin = GPIOD_0;
|
||||||
|
|
||||||
|
#if defined(STM32F4) || defined(STM32F7)
|
||||||
engineConfiguration->can2RxPin = GPIOB_12;
|
engineConfiguration->can2RxPin = GPIOB_12;
|
||||||
engineConfiguration->can2TxPin = GPIOB_13;
|
engineConfiguration->can2TxPin = GPIOB_13;
|
||||||
|
#endif
|
||||||
|
|
||||||
engineConfiguration->lps25BaroSensorScl = GPIOB_10;
|
engineConfiguration->lps25BaroSensorScl = GPIOB_10;
|
||||||
engineConfiguration->lps25BaroSensorSda = GPIOB_11;
|
engineConfiguration->lps25BaroSensorSda = GPIOB_11;
|
||||||
|
|
Loading…
Reference in New Issue