only:hellen-112-17

This commit is contained in:
rusefi 2023-10-14 20:54:02 -04:00
parent 9a0068e52a
commit 2fcab76cf7
2 changed files with 19 additions and 14 deletions

View File

@ -39,9 +39,12 @@ static void setupVbatt() {
}
static void setupDefaultSensorInputs() {
// engineConfiguration->vehicleSpeedSensorInputPin = Gpio::H144_IN_VSS;
engineConfiguration->vehicleSpeedSensorInputPin = Gpio::MM100_IN_D2;
engineConfiguration->tps1_1AdcChannel = MM100_IN_TPS_ANALOG;
engineConfiguration->tps1_2AdcChannel = MM100_IN_O2S_ANALOG;
setPPSInputs(MM100_IN_PPS_ANALOG, MM100_IN_AUX2_ANALOG);
engineConfiguration->mafAdcChannel = EFI_ADC_NONE;
engineConfiguration->map.sensor.hwChannel = H144_IN_MAP1;
@ -68,8 +71,8 @@ void setBoardConfigOverrides() {
engineConfiguration->clt.config.bias_resistor = 4700;
engineConfiguration->iat.config.bias_resistor = 4700;
engineConfiguration->triggerInputPins[0] = Gpio::H144_IN_RES1;
engineConfiguration->camInputs[0] = Gpio::H144_IN_RES3;
engineConfiguration->triggerInputPins[0] = Gpio::MM100_IN_CRANK;
engineConfiguration->camInputs[0] = Gpio::MM100_IN_D1;
//ETB1
// PWM pin
@ -105,7 +108,7 @@ void setBoardDefaultConfiguration() {
engineConfiguration->canTxPin = Gpio::MM100_CAN_TX;
engineConfiguration->canRxPin = Gpio::MM100_CAN_RX;
engineConfiguration->fuelPumpPin = Gpio::MM100_OUT_PWM5;;
engineConfiguration->fuelPumpPin = Gpio::MM100_OUT_PWM5;
// engineConfiguration->idle.solenoidPin = Gpio::H144_LS_6;
// engineConfiguration->fanPin = Gpio::H144_OUT_IO12;
engineConfiguration->mainRelayPin = Gpio::MM100_IGN8;
@ -152,7 +155,7 @@ static Gpio OUTPUTS[] = {
Gpio::MM100_IGN2, // 253 Coil 2
Gpio::MM100_IGN3, // 254 Coil 3
Gpio::MM100_IGN4, // 255 Coil 4
Gpio::MM100_INJ7, // 235 Low Side Output
Gpio::MM100_INJ7, // 9 235 Low Side Output
Gpio::MM100_INJ5, // 101 low side 1.5A output
Gpio::MM100_INJ6, // 102 low side 1.5A output
Gpio::MM100_IGN8, // 115 Main Relay

View File

@ -117,11 +117,11 @@ pins:
- pin: 125
# jumper
function: 125 Analog Supply
function: ___ Analog +5V Supply
- pin: 126
# jumper
function: 126 Analog Supply
function: ___ Analog +5V Supply
color: black
- pin: 127
@ -165,11 +165,11 @@ pins:
ts_name: ___ Switch Input
- pin: 137
# jumper
function: ___ Analog Supply
function: ___ Analog +5V Supply
- pin: 138
# jumper
function: ___ Analog Supply
function: ___ Analog +5V Supply
color: black
- pin: 140
@ -223,7 +223,7 @@ pins:
ts_name: ___ Crank VR-
- pin: 202
# via
function: 203 Oxygen Sensor
function: ___ Oxygen Sensor
- pin: 203
meta: MM100_IN_TPS_ANALOG
@ -269,7 +269,7 @@ pins:
- pin: 220
meta: MM100_IN_O2S_ANALOG
class: analog_inputs
function: ___ TPS Throttle Position 2
ts_name: ___ TPS Throttle Position 2
- pin: 223
# jumper
@ -549,7 +549,9 @@ info:
- pin: 201
x: 675
y: 350
- pin: 202
x: 712
y: 350
- pin: 203
x: 750
y: 350
@ -609,10 +611,10 @@ info:
x: 855
y: 250
- pin: 231
x: 885
x: 875
y: 250
- pin: 232
x: 915
x: 910
y: 250
- pin: 233
x: 950