diff --git a/firmware/config/boards/hellen/alphax-2chan/board.mk b/firmware/config/boards/hellen/alphax-2chan/board.mk index 7ab6730a5a..b234918efd 100644 --- a/firmware/config/boards/hellen/alphax-2chan/board.mk +++ b/firmware/config/boards/hellen/alphax-2chan/board.mk @@ -32,7 +32,7 @@ DDEFS += -DEFI_ICU_INPUTS=FALSE -DHAL_TRIGGER_USE_PAL=TRUE DDEFS += -DEFI_LOGIC_ANALYZER=FALSE # Enable serial pins on expansion header -DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=H144_UART1_RX -DEFI_CONSOLE_RX_BRAIN_PIN=H144_UART1_TX -DTS_PRIMARY_PORT=UARTD8 -DSTM32_UART_USE_USART8=1 +DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=H144_UART1_RX -DEFI_CONSOLE_RX_BRAIN_PIN=H144_UART1_TX -DTS_PRIMARY_PORT=UARTD8 -DSTM32_UART_USE_UART8=1 # We are running on Hellen-One hardware! DDEFS += -DHW_HELLEN=1 diff --git a/firmware/console/binary/tunerstudio_io_serial_ports.cpp b/firmware/console/binary/tunerstudio_io_serial_ports.cpp index 6bff431c77..22a4a49cd4 100644 --- a/firmware/console/binary/tunerstudio_io_serial_ports.cpp +++ b/firmware/console/binary/tunerstudio_io_serial_ports.cpp @@ -10,6 +10,9 @@ #include "tunerstudio.h" #include "tunerstudio_io.h" #include "connector_uart_dma.h" +#if HW_HELLEN +#include "hellen_meta.h" +#endif // HW_HELLEN // These may not be defined due to the HAL, but they're necessary for the compiler to do it's magic class UARTDriver;