rusefillc 2022-01-16 22:57:52 -05:00
parent fed57dac02
commit 8bcf37fbf7
2 changed files with 9 additions and 1 deletions

View File

@ -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=GPIOD_6 -DEFI_CONSOLE_RX_BRAIN_PIN=GPIOD_5 -DTS_PRIMARY_PORT=UARTD2 -DSTM32_UART_USE_USART2=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_USART8=1
# We are running on Hellen-One hardware!
DDEFS += -DHW_HELLEN=1

View File

@ -15,6 +15,14 @@ void setHellen176LedPins();
void detectHellenBoardType();
// stm32 UART8
#define H144_UART1_RX GPIOE_0
#define H144_UART1_TX GPIOE_1
// stm32 UART2
#define H144_UART2_RX GPIOD_6
#define H144_UART2_TX GPIOD_5
#define H144_LED1_RED GPIOG_0
#define H176_LED1_RED GPIOH_8