This commit is contained in:
rusefi 2021-11-09 15:33:01 -05:00
parent 280dfa94e7
commit ad75fbe216
3 changed files with 46 additions and 1 deletions

View File

@ -133,9 +133,10 @@ void setBoardDefaultConfiguration(void) {
engineConfiguration->canRxPin = GPIOD_0;
engineConfiguration->fuelPumpPin = GPIOD_12; // OUT_IO9 // 113 Fuel Pump Relay
engineConfiguration->idle.solenoidPin = GPIO_UNASSIGNED;
engineConfiguration->idle.solenoidPin = H144_OUT_PWM5;
// engineConfiguration->fanPin = GPIOD_12; // OUT_PWM8
engineConfiguration->mainRelayPin = GPIOG_14; // pin: 111a, OUT_IO3
engineConfiguration->tachOutputPin = H144_OUT_PWM7;
// "required" hardware is done - set some reasonable defaults
setupDefaultSensorInputs();

View File

@ -28,6 +28,13 @@ pins:
ts_name: 5 - INJ_4
type: inj
- pin: 7
id: GPIOF_13
function: Injector 7/VVT Output
class: outputs
ts_name: 7 - INJ_7/VVT
type: inj
- pin: 8
ts_name: CEL
@ -71,6 +78,12 @@ pins:
function: Main relay control
type: ls
- pin: 29
# H144_OUT_PWM5
id: GPIOC_9
class: outputs
ts_name: 29 - Idle
- pin: 31
id: GPIOD_11
function: Injector 3 Output
@ -92,12 +105,25 @@ pins:
ts_name: 33 - INJ_1
type: inj
- pin: 35
id: GPIOF_14
function: Injector 8 Output
class: outputs
ts_name: 35 - INJ_8
type: inj
- pin: 41
id: EFI_ADC_10
class: analog_inputs
ts_name: 41 - MAF
function: MAF sensor
- pin: 47
# H144_OUT_PWM7
id: GPIOD_15
class: outputs
ts_name: 47 - Tach
- pin: 50
id: GPIOC_13
class: outputs
@ -137,6 +163,17 @@ pins:
ts_name: 78 - CLT
function: CLT sensor
- pin: Aux MAP
# H144_IN_MAP2
id: EFI_ADC_11
class: analog_inputs
ts_name: Aux MAP
- pin: Aux BARO
# H144_IN_AUX4
id: EFI_ADC_7
class: analog_inputs
ts_name: Aux BARO
info:
title: Hellen 88 BMW

View File

@ -63,11 +63,18 @@
// IN_MAP1 AIN9 PC0
#define H144_IN_MAP1 EFI_ADC_10
// AIN10 PC1
#define H144_IN_MAP2 EFI_ADC_11
#define H144_IN_AUX1 EFI_ADC_8
//
#define H144_IN_AUX2 EFI_ADC_14
// AIN22 PC5
#define H144_IN_AUX3 EFI_ADC_15
// AIN20 PA7
#define H144_IN_AUX4 EFI_ADC_7
#define H144_IN_O2S2 EFI_ADC_1
#define H144_IN_D_2 GPIOE_13