GM/Daewoo 60/2/2/2 Trigger Pattern #2264

This commit is contained in:
rusefillc 2021-02-01 23:18:11 -05:00
parent ee561bcf66
commit 11f9bf16f6
5 changed files with 13 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#include "global.h"
#include "rusefi_enums.h"
#include "rusefi_hw_enums.h"
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Sat Jan 09 19:14:09 UTC 2021
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Mon Feb 01 22:55:11 EST 2021
// see also gen_config_and_enums.bat
@ -1373,6 +1373,8 @@ case TT_FORD_ASPIRE:
return "TT_FORD_ASPIRE";
case TT_FORD_ST170:
return "TT_FORD_ST170";
case TT_GM_60_2_2_2:
return "TT_GM_60_2_2_2";
case TT_GM_7X:
return "TT_GM_7X";
case TT_GM_LS_24:

View File

@ -1,7 +1,7 @@
#include "global.h"
#include "rusefi_enums.h"
#include "rusefi_hw_enums.h"
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Sat Jan 09 19:14:08 UTC 2021
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Mon Feb 01 22:55:09 EST 2021
// see also gen_config_and_enums.bat
@ -1169,6 +1169,8 @@ case TT_FORD_ASPIRE:
return "TT_FORD_ASPIRE";
case TT_FORD_ST170:
return "TT_FORD_ST170";
case TT_GM_60_2_2_2:
return "TT_GM_60_2_2_2";
case TT_GM_7X:
return "TT_GM_7X";
case TT_GM_LS_24:

View File

@ -1,7 +1,7 @@
#include "global.h"
#include "rusefi_enums.h"
#include "rusefi_hw_enums.h"
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Sat Jan 09 19:14:08 UTC 2021
// was generated automatically by rusEfi tool from rusefi_hw_enums.h // was generated automatically by rusEfi tool from rusefi_enums.h // by enum2string.jar tool on Mon Feb 01 22:55:06 EST 2021
// see also gen_config_and_enums.bat
@ -1347,6 +1347,8 @@ case TT_FORD_ASPIRE:
return "TT_FORD_ASPIRE";
case TT_FORD_ST170:
return "TT_FORD_ST170";
case TT_GM_60_2_2_2:
return "TT_GM_60_2_2_2";
case TT_GM_7X:
return "TT_GM_7X";
case TT_GM_LS_24:

View File

@ -366,13 +366,15 @@ typedef enum {
// https://rusefi.com/forum/viewtopic.php?f=5&t=1912
TT_TRI_TACH = TT_TT_TRI_TACH,
TT_GM_60_2_2_2 = TT_TT_GM_60_2_2_2,
// 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 = 54, // this is used if we want to iterate over all trigger types
TT_UNUSED = 55, // this is used if we want to iterate over all trigger types
Force_4_bytes_size_trigger_type = ENUM_32_BITS,
} trigger_type_e;

View File

@ -540,6 +540,7 @@ void TriggerWaveform::initializeTriggerWaveform(Logging *logger, operation_mode_
configureFordAspireTriggerWaveform(this);
break;
case TT_GM_60_2_2_2:
case TT_GM_7X:
configureGmTriggerWaveform(this);
break;