This commit is contained in:
rusefi 2021-01-03 17:58:00 -05:00
parent 9ac4d353f7
commit a935bf97f4
3 changed files with 9 additions and 7 deletions

View File

@ -206,10 +206,7 @@ void setBoardConfigurationOverrides(void) {
engineConfiguration->crankingInjectionMode = IM_SIMULTANEOUS; engineConfiguration->crankingInjectionMode = IM_SIMULTANEOUS;
engineConfiguration->injectionMode = IM_SIMULTANEOUS; engineConfiguration->injectionMode = IM_SIMULTANEOUS;
// output 13 CONFIG(mainRelayPin) = GPIOB_9;// "Lowside 13" # pin 10/black35
CONFIG(mainRelayPin) = GPIOB_9; CONFIG(fanPin) = GPIOE_1;// "Lowside 15" # pin 12/black35
// output 15 CONFIG(fuelPumpPin) = GPIOE_2;// "Lowside 16" # pin 23/black35
CONFIG(fanPin) = GPIOE_1;
// output 16
CONFIG(fuelPumpPin) = GPIOE_2;
} }

View File

@ -786,6 +786,8 @@ void setMiataNB2_ProteusEngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE)
engineConfiguration->injectionPinMode = OM_DEFAULT; engineConfiguration->injectionPinMode = OM_DEFAULT;
CONFIG(enableSoftwareKnock) = true;
engineConfiguration->malfunctionIndicatorPin = GPIOB_6; engineConfiguration->malfunctionIndicatorPin = GPIOB_6;
engineConfiguration->map.sensor.hwChannel = EFI_ADC_10; engineConfiguration->map.sensor.hwChannel = EFI_ADC_10;
@ -801,7 +803,7 @@ void setMiataNB2_ProteusEngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE)
engineConfiguration->clt.adcChannel = EFI_ADC_14; engineConfiguration->clt.adcChannel = EFI_ADC_14;
engineConfiguration->iat.adcChannel = EFI_ADC_8; engineConfiguration->iat.adcChannel = EFI_ADC_8;
engineConfiguration->fuelPumpPin = GPIOG_13; engineConfiguration->fuelPumpPin = GPIOG_13;// "Lowside 6" # pin 6/black35
engineConfiguration->idle.solenoidPin = GPIOG_14; // "Lowside 7" # pin 7/black35 engineConfiguration->idle.solenoidPin = GPIOG_14; // "Lowside 7" # pin 7/black35
engineConfiguration->idle.solenoidFrequency = 300; engineConfiguration->idle.solenoidFrequency = 300;
@ -809,6 +811,8 @@ void setMiataNB2_ProteusEngineConfiguration(DECLARE_CONFIG_PARAMETER_SIGNATURE)
engineConfiguration->fanPin = GPIOB_7; engineConfiguration->fanPin = GPIOB_7;
CONFIG(mainRelayPin) = GPIOG_12;// "Lowside 5" # pin 5/black35
} }
#endif // HW_PROTEUS #endif // HW_PROTEUS

View File

@ -2611,6 +2611,7 @@ cmd_set_engine_type_default = "@@TS_IO_TEST_COMMAND_char@@\x00\x31\x00\x00"
dialog = softwareKnockCfg, "Configuration" dialog = softwareKnockCfg, "Configuration"
field = "Enable", enableSoftwareKnock field = "Enable", enableSoftwareKnock
field = "Cylinder Bore", cylinderBore
field = "Knock filter frequency", knockBandCustom, {enableSoftwareKnock} field = "Knock filter frequency", knockBandCustom, {enableSoftwareKnock}
field = "" field = ""
field = "Select the nearest sensor for each cylinder" field = "Select the nearest sensor for each cylinder"