diff --git a/firmware/config/boards/prometheus/efifeatures.h b/firmware/config/boards/prometheus/efifeatures.h index 6423592981..e9828443b4 100644 --- a/firmware/config/boards/prometheus/efifeatures.h +++ b/firmware/config/boards/prometheus/efifeatures.h @@ -88,6 +88,8 @@ #undef LED_CRITICAL_ERROR_BRAIN_PIN #define LED_CRITICAL_ERROR_BRAIN_PIN GPIOA_13 +#undef LED_ERROR_BRAIN_PIN_MODE +#define LED_ERROR_BRAIN_PIN_MODE DEFAULT_OUTPUT #undef CONSOLE_MODE_SWITCH_PORT #undef CONFIG_RESET_SWITCH_PORT diff --git a/firmware/config/stm32f4ems/efifeatures.h b/firmware/config/stm32f4ems/efifeatures.h index c6335f0c52..56f2e6f8f3 100644 --- a/firmware/config/stm32f4ems/efifeatures.h +++ b/firmware/config/stm32f4ems/efifeatures.h @@ -80,6 +80,10 @@ #define HAL_TRIGGER_USE_PAL FALSE #endif /* HAL_TRIGGER_USE_PAL */ +#ifndef HAL_TRIGGER_USE_ADC +#define HAL_TRIGGER_USE_ADC FALSE +#endif /* HAL_TRIGGER_USE_ADC */ + #ifndef HAL_VSS_USE_PAL #define HAL_VSS_USE_PAL FALSE #endif /* HAL_VSS_USE_PAL */ @@ -157,6 +161,10 @@ #define BOARD_TLE8888_COUNT 1 #endif +#ifndef BOARD_DRV8860_COUNT +#define BOARD_DRV8860_COUNT 0 +#endif + #define EFI_ANALOG_SENSORS TRUE #ifndef EFI_MAX_31855 @@ -254,6 +262,8 @@ #define EFI_USB_SERIAL TRUE #endif +#define EFI_CONSOLE_USB_DEVICE (&SDU1) + /** * Should PnP engine configurations be included in the binary? */ @@ -389,6 +399,9 @@ #ifndef LED_CRITICAL_ERROR_BRAIN_PIN #define LED_CRITICAL_ERROR_BRAIN_PIN GPIOD_14 #endif +#ifndef LED_ERROR_BRAIN_PIN_MODE +#define LED_ERROR_BRAIN_PIN_MODE DEFAULT_OUTPUT +#endif // USART1 -> check defined STM32_SERIAL_USE_USART1 // For GPS we have USART1. We can start with PB7 USART1_RX and PB6 USART1_TX