reviving Passat
This commit is contained in:
parent
b574f19a68
commit
b90638be44
|
@ -171,7 +171,6 @@ void setBoardConfigOverrides(void) {
|
||||||
// SPI for SD card
|
// SPI for SD card
|
||||||
engineConfiguration->is_enabled_spi_3 = true;
|
engineConfiguration->is_enabled_spi_3 = true;
|
||||||
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_3;
|
engineConfiguration->sdCardSpiDevice = SPI_DEVICE_3;
|
||||||
engineConfiguration->sdCardCsPin = GPIOB_9;
|
|
||||||
|
|
||||||
engineConfiguration->spi3mosiPin = GPIOC_12;
|
engineConfiguration->spi3mosiPin = GPIOC_12;
|
||||||
engineConfiguration->spi3misoPin = GPIOC_11;
|
engineConfiguration->spi3misoPin = GPIOC_11;
|
||||||
|
@ -201,6 +200,7 @@ void setSerialConfigurationOverrides(void) {
|
||||||
void setBoardDefaultConfiguration(void) {
|
void setBoardDefaultConfiguration(void) {
|
||||||
setInjectorPins();
|
setInjectorPins();
|
||||||
setIgnitionPins();
|
setIgnitionPins();
|
||||||
|
engineConfiguration->sdCardCsPin = GPIOB_9;
|
||||||
|
|
||||||
// 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
|
||||||
|
|
|
@ -767,6 +767,7 @@ void setTest33816EngineConfiguration() {
|
||||||
engineConfiguration->mc33816_cs = GPIOD_7;
|
engineConfiguration->mc33816_cs = GPIOD_7;
|
||||||
// green
|
// green
|
||||||
engineConfiguration->mc33816_rstb = GPIOD_4;
|
engineConfiguration->mc33816_rstb = GPIOD_4;
|
||||||
|
engineConfiguration->sdCardCsPin = GPIO_UNASSIGNED;
|
||||||
// yellow
|
// yellow
|
||||||
engineConfiguration->mc33816_driven = GPIOD_6;
|
engineConfiguration->mc33816_driven = GPIOD_6;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue