MRE test setup
This commit is contained in:
parent
6f06b4e436
commit
070ebd65c6
|
@ -571,8 +571,8 @@ case Force_4_bytes_size_engine_type:
|
||||||
return "Force_4_bytes_size_engine_type";
|
return "Force_4_bytes_size_engine_type";
|
||||||
case GEO_STORM:
|
case GEO_STORM:
|
||||||
return "GEO_STORM";
|
return "GEO_STORM";
|
||||||
case GM_2_2:
|
case MRE_BOARD_TEST:
|
||||||
return "GM_2_2";
|
return "MRE_BOARD_TEST";
|
||||||
case GY6_139QMB:
|
case GY6_139QMB:
|
||||||
return "GY6_139QMB";
|
return "GY6_139QMB";
|
||||||
case HONDA_600:
|
case HONDA_600:
|
||||||
|
|
|
@ -418,4 +418,50 @@ void setTle8888TestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
engineConfiguration->tpsMax = 799;
|
engineConfiguration->tpsMax = 799;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set engine_type 30
|
||||||
|
*/
|
||||||
|
void mreBoardTest(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
|
// EFI_ADC_1: "23 - AN temp 2"
|
||||||
|
// test harness: Red/Green, 2K PD. expected 2.0v
|
||||||
|
// iat in microrusefi/board_configuration.cpp
|
||||||
|
|
||||||
|
// EFI_ADC_2: "24 - AN temp 3"
|
||||||
|
// test harness: Blue/White, 2K PD. expected 2.0v
|
||||||
|
|
||||||
|
|
||||||
|
// EFI_ADC_10: "27 - AN volt 1"
|
||||||
|
// test harness: Blue/Red, 3.84K PD / 5.3 PU. expected 1.6v
|
||||||
|
engineConfiguration->mafAdcChannel = EFI_ADC_10;
|
||||||
|
|
||||||
|
// EFI_ADC_14: "32 - AN volt 6"
|
||||||
|
// test harness: Red/White 3.6K PD / 5.2 PU. expected 1.6v
|
||||||
|
engineConfiguration->throttlePedalPositionAdcChannel = EFI_ADC_14;
|
||||||
|
|
||||||
|
|
||||||
|
// EFI_ADC_4: "28 - AN volt 10"
|
||||||
|
// test harness: Red/Yellow
|
||||||
|
engineConfiguration->afr.hwChannel = EFI_ADC_4;
|
||||||
|
|
||||||
|
|
||||||
|
// EFI_ADC_7: "31 - AN volt 3"
|
||||||
|
// test harness: White/Red
|
||||||
|
engineConfiguration->map.sensor.hwChannel = EFI_ADC_7;
|
||||||
|
|
||||||
|
|
||||||
|
//engineConfiguration->baroSensor.hwChannel
|
||||||
|
//engineConfiguration->oilPressure.hwChannel
|
||||||
|
//engineConfiguration->fuelLevelSensor
|
||||||
|
|
||||||
|
// TPS tps1_1AdcChannel EFI_ADC_13
|
||||||
|
|
||||||
|
engineConfiguration->specs.cylindersCount = 6;
|
||||||
|
engineConfiguration->specs.firingOrder = FO_1_5_3_6_2_4;
|
||||||
|
// fix res boardConfiguration->ignitionPins[4] = GPIOD_6;
|
||||||
|
// fix res boardConfiguration->ignitionPins[5] = GPIOD_7;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_ENGINES_CUSTOM_ENGINE_CPP_ */
|
#endif /* CONFIG_ENGINES_CUSTOM_ENGINE_CPP_ */
|
||||||
|
|
|
@ -17,4 +17,6 @@ void setFrankensoBoardTestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
void setEtbTestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setEtbTestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
void setTle8888TestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
void setTle8888TestConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
|
|
||||||
|
|
||||||
|
void mreBoardTest(DECLARE_CONFIG_PARAMETER_SIGNATURE);
|
||||||
#endif /* CONFIG_ENGINES_CUSTOM_ENGINE_H_ */
|
#endif /* CONFIG_ENGINES_CUSTOM_ENGINE_H_ */
|
||||||
|
|
|
@ -709,8 +709,8 @@ case Force_4_bytes_size_engine_type:
|
||||||
return "Force_4_bytes_size_engine_type";
|
return "Force_4_bytes_size_engine_type";
|
||||||
case GEO_STORM:
|
case GEO_STORM:
|
||||||
return "GEO_STORM";
|
return "GEO_STORM";
|
||||||
case GM_2_2:
|
case MRE_BOARD_TEST:
|
||||||
return "GM_2_2";
|
return "MRE_BOARD_TEST";
|
||||||
case GY6_139QMB:
|
case GY6_139QMB:
|
||||||
return "GY6_139QMB";
|
return "GY6_139QMB";
|
||||||
case HONDA_600:
|
case HONDA_600:
|
||||||
|
|
|
@ -1053,10 +1053,12 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType DECLARE_EN
|
||||||
case MRE_MIATA_NA6:
|
case MRE_MIATA_NA6:
|
||||||
case ACURA_RSX:
|
case ACURA_RSX:
|
||||||
case MINI_COOPER_R50:
|
case MINI_COOPER_R50:
|
||||||
case GM_2_2:
|
|
||||||
case MINIMAL_PINS:
|
case MINIMAL_PINS:
|
||||||
// all basic settings are already set in prepareVoidConfiguration(), no need to set anything here
|
// all basic settings are already set in prepareVoidConfiguration(), no need to set anything here
|
||||||
break;
|
break;
|
||||||
|
case MRE_BOARD_TEST:
|
||||||
|
mreBoardTest(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
break;
|
||||||
#if EFI_SUPPORT_DODGE_NEON
|
#if EFI_SUPPORT_DODGE_NEON
|
||||||
case DODGE_NEON_1995:
|
case DODGE_NEON_1995:
|
||||||
setDefaultFrankensoConfiguration(PASS_ENGINE_PARAMETER_SIGNATURE);
|
setDefaultFrankensoConfiguration(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||||
|
|
|
@ -112,7 +112,7 @@ typedef enum {
|
||||||
|
|
||||||
SACHS = 29,
|
SACHS = 29,
|
||||||
|
|
||||||
GM_2_2 = 30,
|
MRE_BOARD_TEST = 30,
|
||||||
|
|
||||||
DODGE_RAM = 31,
|
DODGE_RAM = 31,
|
||||||
|
|
||||||
|
|
|
@ -812,6 +812,6 @@ int getRusEfiVersion(void) {
|
||||||
if (initBootloader() != 0)
|
if (initBootloader() != 0)
|
||||||
return 123;
|
return 123;
|
||||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||||
return 20190804;
|
return 20190805;
|
||||||
}
|
}
|
||||||
#endif /* EFI_UNIT_TEST */
|
#endif /* EFI_UNIT_TEST */
|
||||||
|
|
|
@ -193,8 +193,8 @@ const char* getConfigurationName(engine_type_e engineType) {
|
||||||
return "CAMARO_4";
|
return "CAMARO_4";
|
||||||
case CHEVY_C20_1973:
|
case CHEVY_C20_1973:
|
||||||
return "CHEVY C20";
|
return "CHEVY C20";
|
||||||
case GM_2_2:
|
case MRE_BOARD_TEST:
|
||||||
return "GM_2_2";
|
return "MRE_TEST";
|
||||||
case DODGE_RAM:
|
case DODGE_RAM:
|
||||||
return "DODGE_RAM";
|
return "DODGE_RAM";
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue