hellen121vag config revival

This commit is contained in:
rusefillc 2022-06-13 10:13:21 -04:00
parent 8772b04bed
commit 6eecf5a162
3 changed files with 24 additions and 10 deletions

View File

@ -107,7 +107,7 @@ jobs:
- build-target: hellen121vag - build-target: hellen121vag
folder: hellen/hellen121vag folder: hellen/hellen121vag
ini-file: rusefi_hellen121vag.ini ini-file: rusefi_hellen121vag.ini
skip-rate: 90 skip-rate: 0
- build-target: hellen121nissan - build-target: hellen121nissan
folder: hellen/hellen121nissan folder: hellen/hellen121nissan

View File

@ -16,10 +16,10 @@
#include "hellen_meta.h" #include "hellen_meta.h"
static void setInjectorPins() { static void setInjectorPins() {
engineConfiguration->injectionPins[0] = Gpio::G7; // 96 - INJ_1 engineConfiguration->injectionPins[0] = H176_LS_1; // 96 - INJ_1
engineConfiguration->injectionPins[1] = Gpio::G8; engineConfiguration->injectionPins[1] = H176_LS_2;
engineConfiguration->injectionPins[2] = Gpio::D11; // 97 - INJ_3 engineConfiguration->injectionPins[2] = H176_LS_3; // 97 - INJ_3
engineConfiguration->injectionPins[3] = Gpio::D10; engineConfiguration->injectionPins[3] = H176_LS_4;
// Disable remainder // Disable remainder
for (int i = 4; i < MAX_CYLINDER_COUNT;i++) { for (int i = 4; i < MAX_CYLINDER_COUNT;i++) {
@ -149,8 +149,11 @@ void setBoardDefaultConfiguration() {
engineConfiguration->fuelPumpPin = H144_OUT_IO3; engineConfiguration->fuelPumpPin = H144_OUT_IO3;
engineConfiguration->malfunctionIndicatorPin = Gpio::G4; // 47 - CEL engineConfiguration->malfunctionIndicatorPin = Gpio::G4; // 47 - CEL
engineConfiguration->tachOutputPin = H144_OUT_PWM7; engineConfiguration->tachOutputPin = H144_OUT_PWM7;
engineConfiguration->idle.solenoidPin = Gpio::D14; // OUT_PWM5
engineConfiguration->fanPin = Gpio::D12; // OUT_PWM8 // earlier revisions? engineConfiguration->idle.solenoidPin = Gpio::D14; // OUT_PWM5
engineConfiguration->idle.solenoidPin = H144_OUT_IO4;
engineConfiguration->fanPin = H144_OUT_PWM8;
engineConfiguration->mainRelayPin = H144_OUT_IO1; engineConfiguration->mainRelayPin = H144_OUT_IO1;
// engineConfiguration->injectorCompensationMode // engineConfiguration->injectorCompensationMode

View File

@ -326,10 +326,21 @@ pins:
ts_name: 104 Wastegate ts_name: 104 Wastegate
function: OUT_WASTEGATE function: OUT_WASTEGATE
- pin: 105a #
# rev A and B used H144_OUT_PWM6 D14
# rev C uses H144_OUT_IO4 G5
#
- pin: 105a_legacy
id: D14 id: D14
class: outputs class: outputs
ts_name: 105 - IDLE ts_name: 105 - IDLE rev A,B
function: IAC
type: ls
- pin: 105a
id: G5
class: outputs
ts_name: 105 - IDLE rev C+
function: IAC function: IAC
type: ls type: ls