From f410f97dc6f6810dba0c1241418b5807a926d3f0 Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 21 Dec 2023 19:26:58 -0500 Subject: [PATCH] only:uaefi --- .../hellen/uaefi/board_configuration.cpp | 5 ++++- .../boards/hellen/uaefi/connectors/C.yaml | 22 +++++++++---------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/firmware/config/boards/hellen/uaefi/board_configuration.cpp b/firmware/config/boards/hellen/uaefi/board_configuration.cpp index 2f11d8daeb..3991057b73 100644 --- a/firmware/config/boards/hellen/uaefi/board_configuration.cpp +++ b/firmware/config/boards/hellen/uaefi/board_configuration.cpp @@ -41,8 +41,11 @@ static void setupDefaultSensorInputs() { engineConfiguration->iat.adcChannel = MM100_IN_IAT_ANALOG; - engineConfiguration->triggerInputPins[0] = Gpio::MM100_IN_CRANK; + engineConfiguration->triggerInputPins[0] = Gpio::MM100_UART8_TX; // VR2 max9924 is the safer default engineConfiguration->camInputs[0] = Gpio::MM100_IN_D1; + engineConfiguration->camInputs[0] = Gpio::MM100_IN_D2; + + engineConfiguration->vehicleSpeedSensorInputPin = Gpio::MM100_IN_D3; } #include "hellen_leds_100.cpp" diff --git a/firmware/config/boards/hellen/uaefi/connectors/C.yaml b/firmware/config/boards/hellen/uaefi/connectors/C.yaml index 0632ab23b8..639f133a24 100644 --- a/firmware/config/boards/hellen/uaefi/connectors/C.yaml +++ b/firmware/config/boards/hellen/uaefi/connectors/C.yaml @@ -28,20 +28,23 @@ pins: - pin: C5 meta: MM100_IN_D1 class: event_inputs + color: green ts_name: ___ HALL1 function: HALL input 1 - pin: C6 meta: MM100_IN_D2 class: event_inputs + color: blue ts_name: ___ HALL2 function: HALL input 2 - pin: C7 meta: MM100_IN_D3 class: event_inputs + color: white ts_name: ___ HALL3 - function: HALL input 3 + function: VSS or HALL input 3 - pin: C8 function: Power Ground / VR Shield @@ -85,13 +88,13 @@ pins: function: Auxiliary analog input 3 - pin: C16 - function: VR2+ + function: VR2+ max9924 color: blue - pin: C17 meta: MM100_UART8_TX class: event_inputs - ts_name: ___ VR2-/HALL + ts_name: ___ VR2-/HALL max9924 function: VR2-/HALL color: white @@ -103,20 +106,17 @@ pins: # ts_name: C15/C16 VR2 Sensor - pin: C18 + meta: MM100_UART8_RX + type: hall + class: event_inputs function: VR1+ + ts_name: ___ VR1+ Discrete color: blue - pin: C19 - function: VR1- + function: VR1- Discrete color: white - - pin: C18C19 - meta: MM100_UART8_RX - class: event_inputs - function: VR1 Sensor - type: hall - ts_name: C18/C19 VR2 Sensor - - pin: C20 ts_name: ___ EGT- function: EGT negative input