This commit is contained in:
parent
fed57dac02
commit
8bcf37fbf7
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue