From 23612b5873410f4fd55a70fa79d6c0a2b5ff1460 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 13 Nov 2021 04:13:11 -0500 Subject: [PATCH] UART pins validation and dynamic alternative function recognition #3536 --- firmware/config/stm32f4ems/efifeatures.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/config/stm32f4ems/efifeatures.h b/firmware/config/stm32f4ems/efifeatures.h index 1dbb5ad938..5641cfd7b3 100644 --- a/firmware/config/stm32f4ems/efifeatures.h +++ b/firmware/config/stm32f4ems/efifeatures.h @@ -380,11 +380,15 @@ #endif // todo: this should be detected automatically based on pin selection // https://github.com/rusefi/rusefi/issues/3536 +#ifndef EFI_CONSOLE_AF #define EFI_CONSOLE_AF 7 +#endif // todo: this should be detected automatically based on pin selection // https://github.com/rusefi/rusefi/issues/3536 +#ifndef TS_SERIAL_AF #define TS_SERIAL_AF 7 +#endif #ifndef LED_CRITICAL_ERROR_BRAIN_PIN #define LED_CRITICAL_ERROR_BRAIN_PIN GPIOD_14