parent
597981dd3f
commit
d7b840e6d5
|
@ -14,10 +14,10 @@
|
|||
#define MRE_INJ_3 Gpio::TLE8888_PIN_3
|
||||
#define MRE_INJ_4 Gpio::TLE8888_PIN_4
|
||||
|
||||
// OpenDrain: 4.5A
|
||||
// pin 7 - OpenDrain: 4.5A
|
||||
#define MRE_LS_1 Gpio::TLE8888_PIN_6
|
||||
|
||||
// "3 - Lowside 2"
|
||||
// pin 3 - Lowside 2
|
||||
#define MRE_LS_2 Gpio::TLE8888_PIN_5
|
||||
|
||||
// clt = "18 - AN temp 1"
|
||||
|
@ -62,6 +62,9 @@
|
|||
// 28 - AN volt 10
|
||||
#define MRE_IN_ANALOG_VOLT_10 EFI_ADC_4
|
||||
|
||||
// 33
|
||||
#define MRE_GPOUT_3 TLE8888_PIN_23
|
||||
|
||||
#if HW_MICRO_RUSEFI
|
||||
static Gpio MRE_OUTPUTS[] = {
|
||||
MRE_INJ_1,
|
||||
|
|
|
@ -14,7 +14,9 @@
|
|||
#include "proteus_meta.h"
|
||||
#endif // HW_PROTEUS
|
||||
|
||||
#if HW_MICRO_RUSEFI
|
||||
#include "mre_meta.h"
|
||||
#endif // HW_MICRO_RUSEFI
|
||||
|
||||
void setM111EngineConfiguration() {
|
||||
engineConfiguration->specs.cylindersCount = 4;
|
||||
|
@ -47,13 +49,28 @@ void setM111EngineConfiguration() {
|
|||
engineConfiguration->etb.iFactor = 47;
|
||||
engineConfiguration->etb.dFactor = 0.088;
|
||||
engineConfiguration->etb.offset = 0;
|
||||
|
||||
gppwm_channel *scBypass = &engineConfiguration->gppwm[0];
|
||||
strcpy(engineConfiguration->gpPwmNote[0], "SC Bypass");
|
||||
#if HW_MICRO_RUSEFI
|
||||
scBypass->pin = MRE_GPOUT_3;
|
||||
#endif // HW_MICRO_RUSEFI
|
||||
|
||||
gppwm_channel *scClutch = &engineConfiguration->gppwm[1];
|
||||
#if HW_MICRO_RUSEFI
|
||||
scClutch->pin = MRE_LS_2;
|
||||
#endif // HW_MICRO_RUSEFI
|
||||
strcpy(engineConfiguration->gpPwmNote[1], "SC Clutch");
|
||||
|
||||
}
|
||||
|
||||
void setMreM111EngineConfiguration() {
|
||||
setM111EngineConfiguration();
|
||||
|
||||
#if HW_MICRO_RUSEFI
|
||||
setPPSInputs(MRE_IN_PPS, MRE_IN_PPS2);
|
||||
setTPS1Inputs(MRE_IN_TPS, MRE_IN_TPS2);
|
||||
#endif // HW_MICRO_RUSEFI
|
||||
// note how these numbers are very flipped hyundai154 defaults?
|
||||
setTPS1Calibration(891, 69, 98, 926);
|
||||
// honda cable position sensor
|
||||
|
|
Loading…
Reference in New Issue