only:alphax-4k-gdi
This commit is contained in:
rusefi 2024-08-27 20:45:17 -04:00
parent 1fa1076702
commit 7ec04d6893
3 changed files with 31 additions and 5 deletions

View File

@ -13,7 +13,7 @@ DDEFS += -DBOARD_TLE9104_COUNT=4
# we have hellen board id BOARD_ID_GDI4CHAN_A
include $(BOARDS_DIR)/hellen/hellen-common-mega144.mk

View File

@ -195,10 +195,20 @@ static const tle9104_config tle9104_cfg[BOARD_TLE9104_COUNT] = {
}
static Gpio OUTPUTS[] = {
Gpio::TLE9104_0_OUT_0,
Gpio::TLE9104_0_OUT_1,
Gpio::TLE9104_0_OUT_2,
Gpio::TLE9104_0_OUT_3,
Gpio::TLE9104_0_OUT_0, // 4B Port injector 1
Gpio::TLE9104_0_OUT_1, // 3B Port injector 2
Gpio::TLE9104_0_OUT_2, // 2B Port injector 3
Gpio::TLE9104_0_OUT_3, // 1B Port injector 4
Gpio::TLE9104_1_OUT_0, // 5B Main Relay Control
Gpio::TLE9104_1_OUT_1, // 7B Fuel Pump
Gpio::TLE9104_1_OUT_2, // 8B Fan 1
Gpio::TLE9104_1_OUT_3, // 9B Fan 2
Gpio::TLE9104_2_OUT_0, // 29B VVT1
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,
};
int getBoardMetaOutputsCount() {
@ -209,3 +219,6 @@ Gpio* getBoardMetaOutputs() {
return OUTPUTS;
}
int getBoardMetaDcOutputsCount() {
return 1;
}

View File

@ -149,6 +149,19 @@ pins:
function: Sensor GND
type: agnd
- pin: 33A
function: Wastegate Low Side
ts_name: ___ Wastegate Solenoid
class: outputs
id: TLE9104_3_OUT_0
type: ls
- pin: 34A
function: AC Low Side
ts_name: ___ AC Control
class: outputs
id: TLE9104_3_OUT_1
type: ls
info:
title: AlphaX 4K-GDI