M62T vanos support #2243
This commit is contained in:
parent
2c465247e9
commit
c576f0a9d9
|
@ -1,7 +1,7 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "rusefi_enums.h"
|
#include "rusefi_enums.h"
|
||||||
#include "rusefi_hw_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 Mon Feb 08 16:09:52 EST 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 08 16:33:36 EST 2021
|
||||||
// see also gen_config_and_enums.bat
|
// see also gen_config_and_enums.bat
|
||||||
|
|
||||||
|
|
||||||
|
@ -971,8 +971,6 @@ case TEST_ISSUE_366_RISE:
|
||||||
return "TEST_ISSUE_366_RISE";
|
return "TEST_ISSUE_366_RISE";
|
||||||
case TEST_ISSUE_898:
|
case TEST_ISSUE_898:
|
||||||
return "TEST_ISSUE_898";
|
return "TEST_ISSUE_898";
|
||||||
case TEST_QUAD_CAM:
|
|
||||||
return "TEST_QUAD_CAM";
|
|
||||||
case TLE8888_BENCH_ENGINE:
|
case TLE8888_BENCH_ENGINE:
|
||||||
return "TLE8888_BENCH_ENGINE";
|
return "TLE8888_BENCH_ENGINE";
|
||||||
case TOYOTA_2JZ_GTE_VVTi:
|
case TOYOTA_2JZ_GTE_VVTi:
|
||||||
|
@ -983,6 +981,8 @@ case UNUSED_33:
|
||||||
return "UNUSED_33";
|
return "UNUSED_33";
|
||||||
case UNUSED_34:
|
case UNUSED_34:
|
||||||
return "UNUSED_34";
|
return "UNUSED_34";
|
||||||
|
case UNUSED_36:
|
||||||
|
return "UNUSED_36";
|
||||||
case VAG_18_TURBO:
|
case VAG_18_TURBO:
|
||||||
return "VAG_18_TURBO";
|
return "VAG_18_TURBO";
|
||||||
case VW_ABA:
|
case VW_ABA:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "rusefi_enums.h"
|
#include "rusefi_enums.h"
|
||||||
#include "rusefi_hw_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 Mon Feb 08 16:09:52 EST 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 08 16:33:35 EST 2021
|
||||||
// see also gen_config_and_enums.bat
|
// see also gen_config_and_enums.bat
|
||||||
|
|
||||||
|
|
||||||
|
@ -767,8 +767,6 @@ case TEST_ISSUE_366_RISE:
|
||||||
return "TEST_ISSUE_366_RISE";
|
return "TEST_ISSUE_366_RISE";
|
||||||
case TEST_ISSUE_898:
|
case TEST_ISSUE_898:
|
||||||
return "TEST_ISSUE_898";
|
return "TEST_ISSUE_898";
|
||||||
case TEST_QUAD_CAM:
|
|
||||||
return "TEST_QUAD_CAM";
|
|
||||||
case TLE8888_BENCH_ENGINE:
|
case TLE8888_BENCH_ENGINE:
|
||||||
return "TLE8888_BENCH_ENGINE";
|
return "TLE8888_BENCH_ENGINE";
|
||||||
case TOYOTA_2JZ_GTE_VVTi:
|
case TOYOTA_2JZ_GTE_VVTi:
|
||||||
|
@ -779,6 +777,8 @@ case UNUSED_33:
|
||||||
return "UNUSED_33";
|
return "UNUSED_33";
|
||||||
case UNUSED_34:
|
case UNUSED_34:
|
||||||
return "UNUSED_34";
|
return "UNUSED_34";
|
||||||
|
case UNUSED_36:
|
||||||
|
return "UNUSED_36";
|
||||||
case VAG_18_TURBO:
|
case VAG_18_TURBO:
|
||||||
return "VAG_18_TURBO";
|
return "VAG_18_TURBO";
|
||||||
case VW_ABA:
|
case VW_ABA:
|
||||||
|
|
|
@ -18,6 +18,7 @@ void setEtbTestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
void setTle8888TestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setTle8888TestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
void setIssue898(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setIssue898(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
void setTestQuadCam(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
void mreBoardOldTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void mreBoardOldTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
void mreBoardNewTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void mreBoardNewTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "rusefi_enums.h"
|
#include "rusefi_enums.h"
|
||||||
#include "rusefi_hw_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 Mon Feb 08 16:09:52 EST 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 08 16:33:35 EST 2021
|
||||||
// see also gen_config_and_enums.bat
|
// see also gen_config_and_enums.bat
|
||||||
|
|
||||||
|
|
||||||
|
@ -945,8 +945,6 @@ case TEST_ISSUE_366_RISE:
|
||||||
return "TEST_ISSUE_366_RISE";
|
return "TEST_ISSUE_366_RISE";
|
||||||
case TEST_ISSUE_898:
|
case TEST_ISSUE_898:
|
||||||
return "TEST_ISSUE_898";
|
return "TEST_ISSUE_898";
|
||||||
case TEST_QUAD_CAM:
|
|
||||||
return "TEST_QUAD_CAM";
|
|
||||||
case TLE8888_BENCH_ENGINE:
|
case TLE8888_BENCH_ENGINE:
|
||||||
return "TLE8888_BENCH_ENGINE";
|
return "TLE8888_BENCH_ENGINE";
|
||||||
case TOYOTA_2JZ_GTE_VVTi:
|
case TOYOTA_2JZ_GTE_VVTi:
|
||||||
|
@ -957,6 +955,8 @@ case UNUSED_33:
|
||||||
return "UNUSED_33";
|
return "UNUSED_33";
|
||||||
case UNUSED_34:
|
case UNUSED_34:
|
||||||
return "UNUSED_34";
|
return "UNUSED_34";
|
||||||
|
case UNUSED_36:
|
||||||
|
return "UNUSED_36";
|
||||||
case VAG_18_TURBO:
|
case VAG_18_TURBO:
|
||||||
return "VAG_18_TURBO";
|
return "VAG_18_TURBO";
|
||||||
case VW_ABA:
|
case VW_ABA:
|
||||||
|
|
|
@ -1173,7 +1173,7 @@ void resetConfigurationExt(Logging * logger, configuration_callback_t boardCallb
|
||||||
case TEST_ISSUE_366_RISE:
|
case TEST_ISSUE_366_RISE:
|
||||||
setTestEngineIssue366rise(PASS_CONFIG_PARAMETER_SIGNATURE);
|
setTestEngineIssue366rise(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||||
break;
|
break;
|
||||||
case TEST_QUAD_CAM:
|
case UNUSED_36:
|
||||||
case TEST_ISSUE_898:
|
case TEST_ISSUE_898:
|
||||||
setIssue898(PASS_CONFIG_PARAMETER_SIGNATURE);
|
setIssue898(PASS_CONFIG_PARAMETER_SIGNATURE);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -112,7 +112,7 @@ typedef enum {
|
||||||
|
|
||||||
CAMARO_4 = ET_CAMARO,
|
CAMARO_4 = ET_CAMARO,
|
||||||
|
|
||||||
TEST_QUAD_CAM = 36,
|
UNUSED_36 = 36,
|
||||||
|
|
||||||
MRE_SUBARU_EJ18 = ET_MRE_SUBARU_EJ18,
|
MRE_SUBARU_EJ18 = ET_MRE_SUBARU_EJ18,
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,18 @@
|
||||||
#include "engine_test_helper.h"
|
#include "engine_test_helper.h"
|
||||||
|
|
||||||
TEST(trigger, testQuadCam) {
|
TEST(trigger, testQuadCam) {
|
||||||
|
// setting some weird engine
|
||||||
WITH_ENGINE_TEST_HELPER(FORD_ESCORT_GT);
|
WITH_ENGINE_TEST_HELPER(FORD_ESCORT_GT);
|
||||||
|
|
||||||
|
// changing to 'ONE TOOTH' trigger on CRANK with CAM/VVT
|
||||||
|
setOperationMode(engineConfiguration, FOUR_STROKE_CRANK_SENSOR);
|
||||||
|
engineConfiguration->useOnlyRisingEdgeForTrigger = true;
|
||||||
|
engineConfiguration->vvtMode = VVT_2JZ;
|
||||||
|
engineConfiguration->secondVvtMode = MIATA_NB2;
|
||||||
|
|
||||||
|
eth.setTriggerType(TT_ONE PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
|
engineConfiguration->camInputs[0] = GPIOA_10; // we just need to indicate that we have CAM
|
||||||
|
|
||||||
|
ASSERT_EQ( 0, GET_RPM()) << "testCamInput RPM";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue