From defdc02a9b7c8a593fb9bdb36dcd8f2e90ce7521 Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 8 Jun 2022 12:43:28 -0400 Subject: [PATCH] fix https://github.com/rusefi/hellen-gm-e67/issues/36 --- .../hellen-gm-e67/board_configuration.cpp | 1 + .../hellen-gm-e67/connectors/gm-e67-blue.yaml | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/firmware/config/boards/hellen/hellen-gm-e67/board_configuration.cpp b/firmware/config/boards/hellen/hellen-gm-e67/board_configuration.cpp index 6e61aad474..1a366a0acc 100644 --- a/firmware/config/boards/hellen/hellen-gm-e67/board_configuration.cpp +++ b/firmware/config/boards/hellen/hellen-gm-e67/board_configuration.cpp @@ -146,6 +146,7 @@ void setBoardDefaultConfiguration() { engineConfiguration->enableSoftwareKnock = true; engineConfiguration->boostControlPin = H144_OUT_PWM5; + engineConfiguration->brakePedalPin = H144_IN_RES2; // engineConfiguration->acSwitch = H144_IN_D_AUX3; // engineConfiguration->acRelayPin = H144_OUT_IO6; engineConfiguration->fuelPumpPin = H144_OUT_IO5; diff --git a/firmware/config/boards/hellen/hellen-gm-e67/connectors/gm-e67-blue.yaml b/firmware/config/boards/hellen/hellen-gm-e67/connectors/gm-e67-blue.yaml index ec695a2387..4b8c1bd7cf 100644 --- a/firmware/config/boards/hellen/hellen-gm-e67/connectors/gm-e67-blue.yaml +++ b/firmware/config/boards/hellen/hellen-gm-e67/connectors/gm-e67-blue.yaml @@ -1,4 +1,12 @@ pins: + - pin: 7 +#H144_IN_RES2 + id: F10 + class: switch_inputs + ts_name: C1-7 Stop/Brake Pedal + function: Stop/Brake Pedal switch input + type: din + - pin: 12 # H144_OUT_IO11 id: G2 @@ -15,6 +23,9 @@ pins: type: hs ts_name: C1-13 - Fuel Pump + - pin: 14 + function: stm32 BOOT + - pin: 19 # H144_IN_VBATT id: EFI_ADC_5 @@ -40,6 +51,15 @@ pins: type: ls color: purple + - pin: 39 + # H144_OUT_PWM6 + id: D14 + class: outputs + ts_name: C1-39 - VSS Output + function: VSS Output + type: hs + color: purple + - pin: 40 # H144_OUT_IO3 id: G14 @@ -63,6 +83,13 @@ pins: function: Secondary Fuel Level ts_name: C1-45 Secondary Fuel Level + - pin: 46 + # H144_IN_AUX3 + id: EFI_ADC_15 + class: analog_inputs + function: Vac Sense + ts_name: C1-46 Vac Sense + - pin: 47 # H144_IN_PPS id: EFI_ADC_3