using MRE config for Nucleo
This commit is contained in:
parent
0a92693729
commit
47f68eb80f
|
@ -49,7 +49,11 @@ static void setIgnitionPins() {
|
||||||
|
|
||||||
static void setLedPins() {
|
static void setLedPins() {
|
||||||
//engineConfiguration->atalErrorPin = GPIOE_3; // d21 = red
|
//engineConfiguration->atalErrorPin = GPIOE_3; // d21 = red
|
||||||
|
#ifdef EFI_COMMUNICATION_PIN
|
||||||
|
engineConfiguration->communicationLedPin = EFI_COMMUNICATION_PIN;
|
||||||
|
#else
|
||||||
engineConfiguration->communicationLedPin = GPIOE_2; // d23 = blue
|
engineConfiguration->communicationLedPin = GPIOE_2; // d23 = blue
|
||||||
|
#endif /* EFI_COMMUNICATION_PIN */
|
||||||
engineConfiguration->runningLedPin = GPIOE_4; // d22 = green
|
engineConfiguration->runningLedPin = GPIOE_4; // d22 = green
|
||||||
boardConfiguration->triggerErrorPin = GPIOE_1; // d27 = orange
|
boardConfiguration->triggerErrorPin = GPIOE_1; // d27 = orange
|
||||||
}
|
}
|
||||||
|
@ -179,7 +183,7 @@ void setBoardConfigurationOverrides(void) {
|
||||||
// MRE has a special main relay control low side pin
|
// MRE has a special main relay control low side pin
|
||||||
// rusEfi firmware is totally not involved with main relay control on microRusEfi board
|
// rusEfi firmware is totally not involved with main relay control on microRusEfi board
|
||||||
// todo: maybe even set EFI_MAIN_RELAY_CONTROL to FALSE for MRE configuration
|
// todo: maybe even set EFI_MAIN_RELAY_CONTROL to FALSE for MRE configuration
|
||||||
// TLE8888 half bridges (pushpull, lowside, or high-low) IN12
|
// TLE8888 half bridges (pushpull, lowside, or high-low) TLE8888_IN11 / TLE8888_OUT21
|
||||||
// GPIOE_8: "35 - GP Out 1"
|
// GPIOE_8: "35 - GP Out 1"
|
||||||
boardConfiguration->fuelPumpPin = GPIOE_8;
|
boardConfiguration->fuelPumpPin = GPIOE_8;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue