only:alphax-4k-gdi

This commit is contained in:
rusefi 2024-08-27 23:38:41 -04:00
parent 608dea4233
commit b2d084b8ed
2 changed files with 45 additions and 2 deletions

View File

@ -32,6 +32,11 @@ void setBoardDefaultConfiguration() {
engineConfiguration->fuelPumpPin = Gpio::TLE9104_1_OUT_1;
engineConfiguration->fanPin = Gpio::TLE9104_1_OUT_2;
engineConfiguration->triggerInputPins[0] = Gpio::H144_IN_CRANK; // max9924 is the safer default
engineConfiguration->camInputs[0] = Gpio::H144_IN_SENS1;
engineConfiguration->lowPressureFuel.hwChannel = H144_IN_AUX4;
engineConfiguration->highPressureFuel.hwChannel = H144_IN_MAP3;
engineConfiguration->map.sensor.hwChannel = H144_IN_MAP1;
engineConfiguration->clt.adcChannel = H144_IN_CLT;
@ -207,8 +212,8 @@ static Gpio OUTPUTS[] = {
Gpio::TLE9104_2_OUT_1, // 30B VVT2
Gpio::TLE9104_2_OUT_2, // 31B VVT3
Gpio::TLE9104_2_OUT_3, // 32B VVT4
Gpio::TLE9104_3_OUT_0,
Gpio::TLE9104_3_OUT_1,
Gpio::TLE9104_3_OUT_0, // 33A Wastegate Solenoid
Gpio::TLE9104_3_OUT_1, // 34A AC Control
};
int getBoardMetaOutputsCount() {

View File

@ -68,6 +68,12 @@ pins:
type: ls
ts_name: ___ Fan 2
- pin: 10B
meta: H144_IN_CRANK
class: event_inputs
function: VR 9924 Negative
ts_name: ___ VR Negative
- pin: 19B
function: PPS 1
type: av
@ -84,10 +90,42 @@ pins:
ts_name: ___ PPS2
color: orange/brown
- pin: 21B
id: [H144_IN_SENS1, H144_IN_SENS1]
class: [event_inputs, switch_inputs]
function: Digital Input 1
ts_name: ___ Digital Input 1
- pin: 23B
function: Fuel Low Pressure
type: av
meta: H144_IN_AUX4
class: analog_inputs
ts_name: ___ Fuel Low Pressure
- pin: 24B
function: Fuel High Pressure
type: av
meta: H144_IN_MAP3
class: analog_inputs
ts_name: ___ Fuel High Pressure
- pin: 26B
function: Power GND
type: gnd
- pin: 27B
id: [H144_IN_SENS2, H144_IN_SENS2]
class: [event_inputs, switch_inputs]
function: Digital Input 3
ts_name: ___ Digital Input 3
- pin: 28B
id: [H144_IN_SENS3, H144_IN_SENS3]
class: [event_inputs, switch_inputs]
function: Digital Input 4
ts_name: ___ Digital Input 4
- pin: 29B
id: TLE9104_2_OUT_0
class: outputs