Ford TFI PIP
This commit is contained in:
rusefi 2021-09-11 23:42:05 -04:00
parent be638f964c
commit 83c0372729
6 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#include "global.h"
#include "rusefi_enums.h"
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Tue Aug 31 05:42:43 EDT 2021
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Sat Sep 11 23:26:26 EDT 2021
// see also gen_config_and_enums.bat
@ -932,6 +932,8 @@ case TT_FORD_ASPIRE:
return "TT_FORD_ASPIRE";
case TT_FORD_ST170:
return "TT_FORD_ST170";
case TT_FORD_TFI_PIP:
return "TT_FORD_TFI_PIP";
case TT_GM_60_2_2_2:
return "TT_GM_60_2_2_2";
case TT_GM_7X:

View File

@ -416,13 +416,15 @@ typedef enum {
TT_SUBARU_SVX_CAM_VVT = TT_TT_SUBARU_SVX_CAM_VVT,
TT_FORD_TFI_PIP = TT_TT_FORD_TFI_PIP,
// do not forget to edit "#define trigger_type_e_enum" line in integration/rusefi_config.txt file to propogate new value to rusefi.ini TS project
// do not forget to invoke "gen_config.bat" once you make changes to integration/rusefi_config.txt
// todo: one day a hero would integrate some of these things into Makefile in order to reduce manual magic
//
// Another point: once you add a new trigger, run get_trigger_images.bat which would run rusefi_test.exe from unit_tests
//
TT_UNUSED = 65, // this is used if we want to iterate over all trigger types
TT_UNUSED = 66, // this is used if we want to iterate over all trigger types
// todo: convert to ENUM_16_BITS? I can see 257 triggers but not 65K triggers
Force_4_bytes_size_trigger_type = ENUM_32_BITS,

View File

@ -6,7 +6,7 @@ This folder is and should not be aware of engine.h or engine_configuration.h
Step 1: add into rusefi_config.txt
Step 2: add into rusefi_enums.h, update TT_UNUSED
Step 2: add into rusefi_enums.h, update TT_UNUSED, invoke gen_enum script
Step 3: get it working.

View File

@ -49,6 +49,10 @@ void configureTriTach(TriggerWaveform * s) {
NO_RIGHT_FILTER);
}
void configureFordPip(TriggerWaveform * s) {
}
void configureFordST170(TriggerWaveform * s) {
s->initialize(FOUR_STROKE_CAM_SENSOR);
int width = 10;

View File

@ -11,6 +11,7 @@
void configureFiatIAQ_P8(TriggerWaveform * s);
void configureDaihatsu4(TriggerWaveform * s);
void configureFordPip(TriggerWaveform * s);
void configureFordST170(TriggerWaveform * s);
void configureTriTach(TriggerWaveform * s);
// TT_VVT_BARRA_3_PLUS_1

View File

@ -508,6 +508,7 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e ambiguousOperat
initializeMazdaMiataVVtTestShape(this);
break;
case TT_FORD_TFI_PIP:
case TT_FORD_ST170:
configureFordST170(this);
break;