Nissan VVT trigger decoder #2887

This commit is contained in:
Andrey 2021-07-01 17:28:52 -04:00
parent 3e70d1c7ab
commit 50e25605b8
7 changed files with 16 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 Thu Jul 01 16:59:55 EDT 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 Thu Jul 01 17:26:03 EDT 2021
// see also gen_config_and_enums.bat
@ -1438,6 +1438,8 @@ case TT_NISSAN_SR20VE:
return "TT_NISSAN_SR20VE";
case TT_NISSAN_SR20VE_360:
return "TT_NISSAN_SR20VE_360";
case TT_NISSAN_VQ:
return "TT_NISSAN_VQ";
case TT_ONE:
return "TT_ONE";
case TT_ONE_PLUS_ONE:

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 Thu Jul 01 16:59:55 EDT 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 Thu Jul 01 17:26:02 EDT 2021
// see also gen_config_and_enums.bat
@ -1234,6 +1234,8 @@ case TT_NISSAN_SR20VE:
return "TT_NISSAN_SR20VE";
case TT_NISSAN_SR20VE_360:
return "TT_NISSAN_SR20VE_360";
case TT_NISSAN_VQ:
return "TT_NISSAN_VQ";
case TT_ONE:
return "TT_ONE";
case TT_ONE_PLUS_ONE:

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 Thu Jul 01 16:59:56 EDT 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 Thu Jul 01 17:26:03 EDT 2021
// see also gen_config_and_enums.bat
@ -1434,6 +1434,8 @@ case TT_NISSAN_SR20VE:
return "TT_NISSAN_SR20VE";
case TT_NISSAN_SR20VE_360:
return "TT_NISSAN_SR20VE_360";
case TT_NISSAN_VQ:
return "TT_NISSAN_VQ";
case TT_ONE:
return "TT_ONE";
case TT_ONE_PLUS_ONE:

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 Thu Jul 01 16:59:55 EDT 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 Thu Jul 01 17:26:01 EDT 2021
// see also gen_config_and_enums.bat
@ -1410,6 +1410,8 @@ case TT_NISSAN_SR20VE:
return "TT_NISSAN_SR20VE";
case TT_NISSAN_SR20VE_360:
return "TT_NISSAN_SR20VE_360";
case TT_NISSAN_VQ:
return "TT_NISSAN_VQ";
case TT_ONE:
return "TT_ONE";
case TT_ONE_PLUS_ONE:

View File

@ -394,6 +394,8 @@ typedef enum {
TT_KAWA_KX450F = TT_TT_KAWA_KX450F,
TT_NISSAN_VQ = TT_TT_NISSAN_VQ,
// 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

View File

@ -545,6 +545,7 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e ambiguousOperat
configureFordAspireTriggerWaveform(this);
break;
case TT_TT_NISSAN_VQ:
case TT_KAWA_KX450F:
configureKawaKX450F(this);
break;

View File

@ -448,6 +448,7 @@ end_struct
#define TT_TT_VVT_BARRA_3_PLUS_1 56
#define TT_TT_KAWA_KX450F 57
#define TT_TT_NISSAN_VQ 58
#define TT_TT_VVT_NISSAN_VQ 59
! todo https://github.com/rusefi/rusefi/issues/2102