using MRE config for Nucleo

This commit is contained in:
rusEfi 2019-09-14 16:03:04 -04:00
parent 0a92693729
commit 47f68eb80f
1 changed files with 5 additions and 1 deletions

View File

@ -49,7 +49,11 @@ static void setIgnitionPins() {
static void setLedPins() {
//engineConfiguration->atalErrorPin = GPIOE_3; // d21 = red
#ifdef EFI_COMMUNICATION_PIN
engineConfiguration->communicationLedPin = EFI_COMMUNICATION_PIN;
#else
engineConfiguration->communicationLedPin = GPIOE_2; // d23 = blue
#endif /* EFI_COMMUNICATION_PIN */
engineConfiguration->runningLedPin = GPIOE_4; // d22 = green
boardConfiguration->triggerErrorPin = GPIOE_1; // d27 = orange
}
@ -179,7 +183,7 @@ void setBoardConfigurationOverrides(void) {
// MRE has a special main relay control low side pin
// 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
// 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"
boardConfiguration->fuelPumpPin = GPIOE_8;