only:s105

This commit is contained in:
rusefi 2023-04-29 16:19:12 -04:00
parent 49c9cf8309
commit be6805dd98
2 changed files with 4 additions and 5 deletions

View File

@ -32,6 +32,7 @@ USE_FATFS = no
# TS serial
DDEFS += -DSTM32_SERIAL_USE_USART1=TRUE
DDEFS += -DTS_PRIMARY_UxART_PORT=SD1
# WARNING: those are USB pins on discovery or rusEFI brain board so make sure to power those NOT via USB
DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=Gpio::A9 -DEFI_CONSOLE_RX_BRAIN_PIN=Gpio::A10
DDEFS += -DFIRMWARE_ID=\"s105\"

View File

@ -21,8 +21,7 @@ static void setInjectorPins() {
static void setIgnitionPins() {
engineConfiguration->ignitionPins[0] = Gpio::D13;
engineConfiguration->ignitionPins[1] = Gpio::D12;
//todo: revert to reality engineConfiguration->ignitionPins[2] = Gpio::D15;
engineConfiguration->ignitionPins[2] = Gpio::Unassigned;
engineConfiguration->ignitionPins[2] = Gpio::D15;
engineConfiguration->ignitionPins[3] = Gpio::D14;
engineConfiguration->ignitionPinMode = OM_OPENDRAIN;
@ -32,9 +31,8 @@ void setBoardDefaultConfiguration() {
setInjectorPins();
setIgnitionPins();
// No LEDs on this board
//todo: revert to reality engineConfiguration->communicationLedPin = Gpio::Unassigned;
engineConfiguration->communicationLedPin = Gpio::D15;
// No LEDs on this board so let's toggle. TODO test if toggle actually toggles considering C14 pin LSI
engineConfiguration->communicationLedPin = Gpio::C14;
engineConfiguration->runningLedPin = Gpio::Unassigned;
engineConfiguration->warningLedPin = Gpio::Unassigned;