diff --git a/firmware/config/boards/hellen/alphax-4K-GDI/board.mk b/firmware/config/boards/hellen/alphax-4K-GDI/board.mk index 04891f9113..8268d88e9e 100644 --- a/firmware/config/boards/hellen/alphax-4K-GDI/board.mk +++ b/firmware/config/boards/hellen/alphax-4K-GDI/board.mk @@ -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 diff --git a/firmware/config/boards/hellen/alphax-4K-GDI/board_configuration.cpp b/firmware/config/boards/hellen/alphax-4K-GDI/board_configuration.cpp index 8c90c470a4..a197702a9f 100644 --- a/firmware/config/boards/hellen/alphax-4K-GDI/board_configuration.cpp +++ b/firmware/config/boards/hellen/alphax-4K-GDI/board_configuration.cpp @@ -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; +} diff --git a/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-A.yaml b/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-A.yaml index a7410539e2..514031ba4e 100644 --- a/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-A.yaml +++ b/firmware/config/boards/hellen/alphax-4K-GDI/connectors/gdi-A.yaml @@ -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