From 323b30b44b8781d3d4efacfa050f75303e6c0d6e Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Fri, 18 Feb 2022 16:34:42 -0800 Subject: [PATCH] ETB overrides (#3947) --- .../boards/hellen/hellenNA8_96/board_configuration.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firmware/config/boards/hellen/hellenNA8_96/board_configuration.cpp b/firmware/config/boards/hellen/hellenNA8_96/board_configuration.cpp index 9d3df8e8bb..eea8d212ec 100644 --- a/firmware/config/boards/hellen/hellenNA8_96/board_configuration.cpp +++ b/firmware/config/boards/hellen/hellenNA8_96/board_configuration.cpp @@ -94,6 +94,11 @@ void setBoardConfigOverrides() { engineConfiguration->canTxPin = GPIOD_1; 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() {