From 555e3c514e5cd5e679cdff9cf5b25c2d80efd18e Mon Sep 17 00:00:00 2001 From: rusefi Date: Thu, 20 Feb 2025 21:06:01 -0500 Subject: [PATCH] only:alphax-gold --- .../boards/hellen/alphax-gold/board_configuration.cpp | 7 ++++--- .../boards/hellen/alphax-gold/connectors/34pins-3k-A.yaml | 7 +++++++ .../boards/hellen/alphax-gold/connectors/34pins-4k-B.yaml | 2 +- firmware/config/boards/hellen/alphax-gold/prepend.txt | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/firmware/config/boards/hellen/alphax-gold/board_configuration.cpp b/firmware/config/boards/hellen/alphax-gold/board_configuration.cpp index 2dd008c114..402ff0db88 100644 --- a/firmware/config/boards/hellen/alphax-gold/board_configuration.cpp +++ b/firmware/config/boards/hellen/alphax-gold/board_configuration.cpp @@ -29,13 +29,14 @@ static void setIgnitionPins() { } static void setDefaultSensorInputs() { - engineConfiguration->tps1_1AdcChannel = MM100_IN_TPS_ANALOG; + setTPS1Inputs(H144_IN_TPS, H144_IN_TPS2); + setPPSInputs(H144_IN_PPS, H144_IN_PPS2); engineConfiguration->boardUseTempPullUp = true; -// engineConfiguration->map.sensor.hwChannel = H144_IN_MAP1; // external MAP - engineConfiguration->map.sensor.hwChannel = H144_IN_MAP2; // On-board MAP + engineConfiguration->map.sensor.hwChannel = H144_IN_O2S2; // external MAP +// engineConfiguration->map.sensor.hwChannel = H144_IN_MAP2; // On-board MAP engineConfiguration->map.sensor.type = MT_MPXH6400; engineConfiguration->clt.adcChannel = H144_IN_CLT; diff --git a/firmware/config/boards/hellen/alphax-gold/connectors/34pins-3k-A.yaml b/firmware/config/boards/hellen/alphax-gold/connectors/34pins-3k-A.yaml index 65cd2d9bdc..8b6721de6d 100644 --- a/firmware/config/boards/hellen/alphax-gold/connectors/34pins-3k-A.yaml +++ b/firmware/config/boards/hellen/alphax-gold/connectors/34pins-3k-A.yaml @@ -1,6 +1,13 @@ meta: config/boards/hellen_meta.h pins: + - pin: on_board + meta: H144_IN_MAP2 + class: analog_inputs + function: On-board MAP Sensor + ts_name: On-board MAP Sensor + color: orange + - pin: 1A function: Injector 4 Output class: outputs diff --git a/firmware/config/boards/hellen/alphax-gold/connectors/34pins-4k-B.yaml b/firmware/config/boards/hellen/alphax-gold/connectors/34pins-4k-B.yaml index da79f7ac7e..04adcaa85a 100644 --- a/firmware/config/boards/hellen/alphax-gold/connectors/34pins-4k-B.yaml +++ b/firmware/config/boards/hellen/alphax-gold/connectors/34pins-4k-B.yaml @@ -174,7 +174,7 @@ pins: ts_name: ___ DC- function: DC- output type: etb - + color: white - pin: 27B class: event_inputs diff --git a/firmware/config/boards/hellen/alphax-gold/prepend.txt b/firmware/config/boards/hellen/alphax-gold/prepend.txt index 68db741d37..4628f36648 100644 --- a/firmware/config/boards/hellen/alphax-gold/prepend.txt +++ b/firmware/config/boards/hellen/alphax-gold/prepend.txt @@ -11,7 +11,7 @@ #define ts_show_spi false #define ts_show_can_pins false #define ts_show_tunerstudio_port true - +#define ts_show_can2 false #define ts_show_software_knock true #define ts_show_vr_threshold_all true #define ts_show_vr_threshold_pins false