ETB overrides (#3947)

This commit is contained in:
Matthew Kennedy 2022-02-18 16:34:42 -08:00 committed by GitHub
parent 511b54b838
commit e4b998ff7c
1 changed files with 5 additions and 0 deletions

View File

@ -94,6 +94,11 @@ void setBoardConfigOverrides() {
engineConfiguration->canTxPin = GPIOD_1; engineConfiguration->canTxPin = GPIOD_1;
engineConfiguration->canRxPin = GPIOD_0; engineConfiguration->canRxPin = GPIOD_0;
engineConfiguration->etb_use_two_wires = true;
engineConfiguration->etbIo[0].directionPin1 = GPIOC_7; // PWM 3
engineConfiguration->etbIo[0].directionPin2 = GPIOC_8; // PWM 4
engineConfiguration->etbIo[0].controlPin = GPIOC_6; // PWM 2
} }
void setSerialConfigurationOverrides() { void setSerialConfigurationOverrides() {