From 7e826913196ee80405451303fa3d71035593b5a7 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 2 May 2020 22:27:20 -0400 Subject: [PATCH] oh what did I do --- firmware/config/boards/kinetis/board_configuration.cpp | 4 ++-- firmware/config/boards/me7_pnp/board_configuration.cpp | 4 ++-- firmware/config/boards/microrusefi/board_configuration.cpp | 5 +++-- firmware/config/boards/nucleo_f767/board_configuration.cpp | 4 ++-- firmware/config/boards/prometheus/board_configuration.cpp | 4 ++-- firmware/config/boards/proteus/board_configuration.cpp | 4 ++-- firmware/config/boards/skeleton/board_configuration.cpp | 4 ++-- firmware/config/boards/subaru-ej20gn/board_configuration.cpp | 4 ++-- 8 files changed, 17 insertions(+), 16 deletions(-) diff --git a/firmware/config/boards/kinetis/board_configuration.cpp b/firmware/config/boards/kinetis/board_configuration.cpp index 44915dc5b4..98d5395560 100644 --- a/firmware/config/boards/kinetis/board_configuration.cpp +++ b/firmware/config/boards/kinetis/board_configuration.cpp @@ -120,8 +120,8 @@ void setSerialConfigurationOverrides(void) { engineConfiguration->useSerialPort = true; engineConfiguration->binarySerialTxPin = GPIOC_7; engineConfiguration->binarySerialRxPin = GPIOC_6; - engineConfiguration->consoleSerialTxPin = GPIOA_10; - engineConfiguration->consoleSerialRxPin = GPIOA_11; +// engineConfiguration->consoleSerialTxPin = GPIOA_10; +// engineConfiguration->consoleSerialRxPin = GPIOA_11; engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED; engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED; } diff --git a/firmware/config/boards/me7_pnp/board_configuration.cpp b/firmware/config/boards/me7_pnp/board_configuration.cpp index d3be5b6e82..4358ffc45a 100644 --- a/firmware/config/boards/me7_pnp/board_configuration.cpp +++ b/firmware/config/boards/me7_pnp/board_configuration.cpp @@ -24,8 +24,8 @@ void setSerialConfigurationOverrides(void) { engineConfiguration->binarySerialTxPin = GPIOB_10; engineConfiguration->binarySerialRxPin = GPIOB_11; - engineConfiguration->consoleSerialTxPin = GPIOB_10; - engineConfiguration->consoleSerialRxPin = GPIOB_11; +// engineConfiguration->consoleSerialTxPin = GPIOB_10; +// engineConfiguration->consoleSerialRxPin = GPIOB_11; } diff --git a/firmware/config/boards/microrusefi/board_configuration.cpp b/firmware/config/boards/microrusefi/board_configuration.cpp index 349d0a8673..fcd8602ebb 100644 --- a/firmware/config/boards/microrusefi/board_configuration.cpp +++ b/firmware/config/boards/microrusefi/board_configuration.cpp @@ -168,11 +168,12 @@ void setPinConfigurationOverrides(void) { } void setSerialConfigurationOverrides(void) { + // why would MRE disable serial by default? we definitely have pads exposed engineConfiguration->useSerialPort = false; engineConfiguration->binarySerialTxPin = GPIO_UNASSIGNED; engineConfiguration->binarySerialRxPin = GPIO_UNASSIGNED; - engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED; - engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED; +// engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED; +// engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED; } diff --git a/firmware/config/boards/nucleo_f767/board_configuration.cpp b/firmware/config/boards/nucleo_f767/board_configuration.cpp index fda5cb365d..3e70b1536a 100644 --- a/firmware/config/boards/nucleo_f767/board_configuration.cpp +++ b/firmware/config/boards/nucleo_f767/board_configuration.cpp @@ -27,8 +27,8 @@ void setSerialConfigurationOverrides(void) { engineConfiguration->useSerialPort = true; engineConfiguration->binarySerialTxPin = GPIOD_8; engineConfiguration->binarySerialRxPin = GPIOD_9; - engineConfiguration->consoleSerialTxPin = GPIOD_8; - engineConfiguration->consoleSerialRxPin = GPIOD_9; +// engineConfiguration->consoleSerialTxPin = GPIOD_8; +// engineConfiguration->consoleSerialRxPin = GPIOD_9; engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED; engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED; } diff --git a/firmware/config/boards/prometheus/board_configuration.cpp b/firmware/config/boards/prometheus/board_configuration.cpp index b2bd616162..75b55f8a34 100644 --- a/firmware/config/boards/prometheus/board_configuration.cpp +++ b/firmware/config/boards/prometheus/board_configuration.cpp @@ -112,8 +112,8 @@ void setSerialConfigurationOverrides(void) { engineConfiguration->useSerialPort = true; engineConfiguration->binarySerialTxPin = GPIOA_0; engineConfiguration->binarySerialRxPin = GPIOA_1; - engineConfiguration->consoleSerialTxPin = GPIOA_0; - engineConfiguration->consoleSerialRxPin = GPIOA_1; +// engineConfiguration->consoleSerialTxPin = GPIOA_0; +// engineConfiguration->consoleSerialRxPin = GPIOA_1; engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED; engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED; } diff --git a/firmware/config/boards/proteus/board_configuration.cpp b/firmware/config/boards/proteus/board_configuration.cpp index 3339ffbf1d..ea9708dcee 100644 --- a/firmware/config/boards/proteus/board_configuration.cpp +++ b/firmware/config/boards/proteus/board_configuration.cpp @@ -147,8 +147,8 @@ void setSerialConfigurationOverrides(void) { engineConfiguration->useSerialPort = false; engineConfiguration->binarySerialTxPin = GPIO_UNASSIGNED; engineConfiguration->binarySerialRxPin = GPIO_UNASSIGNED; - engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED; - engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED; +// engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED; +// engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED; } diff --git a/firmware/config/boards/skeleton/board_configuration.cpp b/firmware/config/boards/skeleton/board_configuration.cpp index 5739c1541e..392b1d8750 100644 --- a/firmware/config/boards/skeleton/board_configuration.cpp +++ b/firmware/config/boards/skeleton/board_configuration.cpp @@ -122,8 +122,8 @@ void setSerialConfigurationOverrides(void) { engineConfiguration->useSerialPort = false; engineConfiguration->binarySerialTxPin = GPIO_UNASSIGNED; engineConfiguration->binarySerialRxPin = GPIO_UNASSIGNED; - engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED; - engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED; +// engineConfiguration->consoleSerialTxPin = GPIO_UNASSIGNED; +// engineConfiguration->consoleSerialRxPin = GPIO_UNASSIGNED; } diff --git a/firmware/config/boards/subaru-ej20gn/board_configuration.cpp b/firmware/config/boards/subaru-ej20gn/board_configuration.cpp index 7790ae45bb..9e052d08d9 100644 --- a/firmware/config/boards/subaru-ej20gn/board_configuration.cpp +++ b/firmware/config/boards/subaru-ej20gn/board_configuration.cpp @@ -68,8 +68,8 @@ void setSerialConfigurationOverrides(void) { engineConfiguration->useSerialPort = false; engineConfiguration->binarySerialTxPin = GPIOE_1; engineConfiguration->binarySerialRxPin = GPIOE_0; - engineConfiguration->consoleSerialTxPin = GPIOA_9; - engineConfiguration->consoleSerialRxPin = GPIOA_10; +// engineConfiguration->consoleSerialTxPin = GPIOA_9; +// engineConfiguration->consoleSerialRxPin = GPIOA_10; engineConfiguration->tunerStudioSerialSpeed = SERIAL_SPEED; engineConfiguration->uartConsoleSerialSpeed = SERIAL_SPEED; }