oh what did I do

This commit is contained in:
rusefi 2020-05-02 22:27:20 -04:00
parent 12a373a2d2
commit 7e82691319
8 changed files with 17 additions and 16 deletions

View File

@ -120,8 +120,8 @@ void setSerialConfigurationOverrides(void) {
engineConfiguration->useSerialPort = true; engineConfiguration->useSerialPort = true;
engineConfiguration->binarySerialTxPin = GPIOC_7; engineConfiguration->binarySerialTxPin = GPIOC_7;
engineConfiguration->binarySerialRxPin = GPIOC_6; engineConfiguration->binarySerialRxPin = GPIOC_6;
engineConfiguration->consoleSerialTxPin = GPIOA_10; // engineConfiguration->consoleSerialTxPin = GPIOA_10;
engineConfiguration->consoleSerialRxPin = GPIOA_11; // engineConfiguration->consoleSerialRxPin = GPIOA_11;
engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED; engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED;
engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED; engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED;
} }

View File

@ -24,8 +24,8 @@ void setSerialConfigurationOverrides(void) {
engineConfiguration->binarySerialTxPin = GPIOB_10; engineConfiguration->binarySerialTxPin = GPIOB_10;
engineConfiguration->binarySerialRxPin = GPIOB_11; engineConfiguration->binarySerialRxPin = GPIOB_11;
engineConfiguration->consoleSerialTxPin = GPIOB_10; // engineConfiguration->consoleSerialTxPin = GPIOB_10;
engineConfiguration->consoleSerialRxPin = GPIOB_11; // engineConfiguration->consoleSerialRxPin = GPIOB_11;
} }

View File

@ -168,11 +168,12 @@ void setPinConfigurationOverrides(void) {
} }
void setSerialConfigurationOverrides(void) { void setSerialConfigurationOverrides(void) {
// why would MRE disable serial by default? we definitely have pads exposed
engineConfiguration->useSerialPort = false; engineConfiguration->useSerialPort = false;
engineConfiguration->binarySerialTxPin = GPIO_UNASSIGNED; engineConfiguration->binarySerialTxPin = GPIO_UNASSIGNED;
engineConfiguration->binarySerialRxPin = GPIO_UNASSIGNED; engineConfiguration->binarySerialRxPin = GPIO_UNASSIGNED;
engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED; // engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED;
engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED; // engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED;
} }

View File

@ -27,8 +27,8 @@ void setSerialConfigurationOverrides(void) {
engineConfiguration->useSerialPort = true; engineConfiguration->useSerialPort = true;
engineConfiguration->binarySerialTxPin = GPIOD_8; engineConfiguration->binarySerialTxPin = GPIOD_8;
engineConfiguration->binarySerialRxPin = GPIOD_9; engineConfiguration->binarySerialRxPin = GPIOD_9;
engineConfiguration->consoleSerialTxPin = GPIOD_8; // engineConfiguration->consoleSerialTxPin = GPIOD_8;
engineConfiguration->consoleSerialRxPin = GPIOD_9; // engineConfiguration->consoleSerialRxPin = GPIOD_9;
engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED; engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED;
engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED; engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED;
} }

View File

@ -112,8 +112,8 @@ void setSerialConfigurationOverrides(void) {
engineConfiguration->useSerialPort = true; engineConfiguration->useSerialPort = true;
engineConfiguration->binarySerialTxPin = GPIOA_0; engineConfiguration->binarySerialTxPin = GPIOA_0;
engineConfiguration->binarySerialRxPin = GPIOA_1; engineConfiguration->binarySerialRxPin = GPIOA_1;
engineConfiguration->consoleSerialTxPin = GPIOA_0; // engineConfiguration->consoleSerialTxPin = GPIOA_0;
engineConfiguration->consoleSerialRxPin = GPIOA_1; // engineConfiguration->consoleSerialRxPin = GPIOA_1;
engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED; engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED;
engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED; engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED;
} }

View File

@ -147,8 +147,8 @@ void setSerialConfigurationOverrides(void) {
engineConfiguration->useSerialPort = false; engineConfiguration->useSerialPort = false;
engineConfiguration->binarySerialTxPin = GPIO_UNASSIGNED; engineConfiguration->binarySerialTxPin = GPIO_UNASSIGNED;
engineConfiguration->binarySerialRxPin = GPIO_UNASSIGNED; engineConfiguration->binarySerialRxPin = GPIO_UNASSIGNED;
engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED; // engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED;
engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED; // engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED;
} }

View File

@ -122,8 +122,8 @@ void setSerialConfigurationOverrides(void) {
engineConfiguration->useSerialPort = false; engineConfiguration->useSerialPort = false;
engineConfiguration->binarySerialTxPin = GPIO_UNASSIGNED; engineConfiguration->binarySerialTxPin = GPIO_UNASSIGNED;
engineConfiguration->binarySerialRxPin = GPIO_UNASSIGNED; engineConfiguration->binarySerialRxPin = GPIO_UNASSIGNED;
engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED; // engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED;
engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED; // engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED;
} }

View File

@ -68,8 +68,8 @@ void setSerialConfigurationOverrides(void) {
engineConfiguration->useSerialPort = false; engineConfiguration->useSerialPort = false;
engineConfiguration->binarySerialTxPin = GPIOE_1; engineConfiguration->binarySerialTxPin = GPIOE_1;
engineConfiguration->binarySerialRxPin = GPIOE_0; engineConfiguration->binarySerialRxPin = GPIOE_0;
engineConfiguration->consoleSerialTxPin = GPIOA_9; // engineConfiguration->consoleSerialTxPin = GPIOA_9;
engineConfiguration->consoleSerialRxPin = GPIOA_10; // engineConfiguration->consoleSerialRxPin = GPIOA_10;
engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED; engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED;
engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED; engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED;
} }