This commit is contained in:
rusefillc 2021-10-04 11:25:27 -04:00
parent feafc86948
commit eccdf18eec
6 changed files with 35 additions and 2 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 Sat Oct 02 11:25:28 EDT 2021
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Mon Oct 04 11:08:38 EDT 2021
// see also gen_config_and_enums.bat
@ -1043,6 +1043,8 @@ case TT_SUBARU_SVX_CAM_VVT:
return "TT_SUBARU_SVX_CAM_VVT";
case TT_SUBARU_SVX_CRANK_1:
return "TT_SUBARU_SVX_CRANK_1";
case TT_SUZUKI_G13B:
return "TT_SUZUKI_G13B";
case TT_TEMP_62:
return "TT_TEMP_62";
case TT_TOOTHED_WHEEL:

View File

@ -442,13 +442,15 @@ typedef enum {
TT_FORD_TFI_PIP = TT_TT_FORD_TFI_PIP,
TT_SUZUKI_G13B = TT_TT_SUZUKI_G13B,
// 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 = 66, // this is used if we want to iterate over all trigger types
TT_UNUSED = 67, // 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

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

View File

@ -0,0 +1,15 @@
/*
* trigger_suzuki.cpp
*
* @date Oct 4, 2021
* @author Andrey Belomutskiy, (c) 2012-2021
*/
#include "trigger_subaru.h"
void initializeSuzukiG13B(TriggerWaveform *s) {
}

View File

@ -0,0 +1,12 @@
/*
* trigger_suzuki.h
*
* @date Oct 4, 2021
* @author Andrey Belomutskiy, (c) 2012-2021
*/
#pragma once
#include "trigger_structure.h"
void initializeSuzukiG13B(TriggerWaveform *s);

View File

@ -9,6 +9,7 @@ TRIGGER_DECODERS_SRC_CPP = \
$(CONTROLLERS_DIR)/trigger/decoders/trigger_mitsubishi.cpp \
$(CONTROLLERS_DIR)/trigger/decoders/trigger_nissan.cpp \
$(CONTROLLERS_DIR)/trigger/decoders/trigger_subaru.cpp \
$(CONTROLLERS_DIR)/trigger/decoders/trigger_suzuki.cpp \
$(CONTROLLERS_DIR)/trigger/decoders/trigger_toyota.cpp \
$(CONTROLLERS_DIR)/trigger/decoders/trigger_gm.cpp \
$(CONTROLLERS_DIR)/trigger/decoders/trigger_honda.cpp \