auto-sync
This commit is contained in:
parent
5ffa43211e
commit
ad25602076
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* @file chevrolet_c20_1973.cpp
|
||||
*
|
||||
* 5.7L SBC
|
||||
* 4 wire IAC
|
||||
* 8 pin HEI module
|
||||
*
|
||||
* set_engine_type 37
|
||||
*
|
||||
*
|
||||
* @date Dec 20, 2015
|
||||
* @author Andrey Belomutskiy, (c) 2012-2015
|
||||
*/
|
||||
|
||||
#include "chevrolet_c20_1973.h"
|
||||
|
||||
EXTERN_ENGINE;
|
||||
|
||||
void set1973c20(DECLARE_ENGINE_PARAMETER_F) {
|
||||
|
||||
engineConfiguration->specs.displacement = 5.7;
|
||||
engineConfiguration->specs.cylindersCount = 8;
|
||||
|
||||
setOperationMode(engineConfiguration, FOUR_STROKE_CAM_SENSOR);
|
||||
|
||||
engineConfiguration->ignitionMode = IM_ONE_COIL;
|
||||
engineConfiguration->specs.firingOrder = FO_1_8_4_3_6_5_7_2;
|
||||
engineConfiguration->crankingInjectionMode = IM_SIMULTANEOUS;
|
||||
engineConfiguration->injectionMode = IM_SIMULTANEOUS;
|
||||
|
||||
/**
|
||||
* 8/0 toothed wheel
|
||||
*/
|
||||
engineConfiguration->trigger.type = TT_TOOTHED_WHEEL;
|
||||
engineConfiguration->trigger.customTotalToothCount = 8;
|
||||
engineConfiguration->trigger.customSkippedToothCount = 0;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* @file chevrolet_c20_1973.h
|
||||
*
|
||||
* @date Dec 20, 2015
|
||||
* @author Andrey Belomutskiy, (c) 2012-2015
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_ENGINES_CHEVROLET_C20_1973_H_
|
||||
#define CONFIG_ENGINES_CHEVROLET_C20_1973_H_
|
||||
|
||||
#include "engine.h"
|
||||
|
||||
void set1973c20(DECLARE_ENGINE_PARAMETER_F);
|
||||
|
||||
#endif /* CONFIG_ENGINES_CHEVROLET_C20_1973_H_ */
|
|
@ -31,5 +31,6 @@ ENGINES_SRC_CPP = $(PROJECT_DIR)/config/engines/ford_aspire.cpp \
|
|||
$(PROJECT_DIR)/config/engines/dodge_stratus.cpp \
|
||||
$(PROJECT_DIR)/config/engines/chevrolet_camaro_4.cpp \
|
||||
$(PROJECT_DIR)/config/engines/suzuki_vitara.cpp \
|
||||
$(PROJECT_DIR)/config/engines/daihatsu.cpp
|
||||
$(PROJECT_DIR)/config/engines/daihatsu.cpp \
|
||||
$(PROJECT_DIR)/config/engines/chevrolet_c20_1973.cpp
|
||||
|
|
@ -34,6 +34,8 @@ case SUZUKI_VITARA:
|
|||
return "SUZUKI_VITARA";
|
||||
case CAMARO_4:
|
||||
return "CAMARO_4";
|
||||
case CHEVY_C20_1973:
|
||||
return "CHEVY C20";
|
||||
case GM_2_2:
|
||||
return "GM_2_2";
|
||||
case DODGE_RAM:
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
#include "daihatsu.h"
|
||||
#include "chevrolet_camaro_4.h"
|
||||
#include "suzuki_vitara.h"
|
||||
#include "chevrolet_c20_1973.h"
|
||||
|
||||
EXTERN_ENGINE;
|
||||
|
||||
|
@ -799,6 +800,10 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN
|
|||
case CAMARO_4:
|
||||
setCamaro4(PASS_ENGINE_PARAMETER_F);
|
||||
break;
|
||||
case CHEVY_C20_1973:
|
||||
set1973c20(PASS_ENGINE_PARAMETER_F);
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
warning(OBD_PCM_Processor_Fault, "Unexpected engine type: %d", engineType);
|
||||
|
|
|
@ -109,7 +109,9 @@ typedef enum {
|
|||
|
||||
SUZUKI_VITARA = 36,
|
||||
|
||||
ET_UNUSED = 37,
|
||||
CHEVY_C20_1973 = 37,
|
||||
|
||||
ET_UNUSED = 38,
|
||||
|
||||
Force_4b_engine_type = ENUM_32_BITS,
|
||||
} engine_type_e;
|
||||
|
|
|
@ -184,6 +184,8 @@ const char* getConfigurationName(engine_type_e engineType) {
|
|||
return "SUZUKI_VITARA";
|
||||
case CAMARO_4:
|
||||
return "CAMARO_4";
|
||||
case CHEVY_C20_1973:
|
||||
return "CHEVY C20";
|
||||
case GM_2_2:
|
||||
return "GM_2_2";
|
||||
case DODGE_RAM:
|
||||
|
|
|
@ -1922,6 +1922,12 @@
|
|||
<file>
|
||||
<name>$PROJ_DIR$\..\config\engines\bmw_e34.h</name>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\config\engines\chevrolet_c20_1973.cpp</name>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\config\engines\chevrolet_c20_1973.h</name>
|
||||
</file>
|
||||
<file>
|
||||
<name>$PROJ_DIR$\..\config\engines\chevrolet_camaro_4.cpp</name>
|
||||
</file>
|
||||
|
|
Loading…
Reference in New Issue