2022-01-05 10:40:08 -08:00
|
|
|
# Combine the related files for a specific platform and MCU.
|
|
|
|
|
|
|
|
# Target ECU board design
|
2022-02-03 08:24:31 -08:00
|
|
|
BOARDCPPSRC = $(BOARDS_DIR)/hellen/alphax-2chan/board_configuration.cpp
|
2022-01-05 10:40:08 -08:00
|
|
|
BOARDINC = $(BOARDS_DIR)/hellen/alphax-2chan
|
|
|
|
|
|
|
|
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
|
|
|
|
|
2022-02-09 19:52:46 -08:00
|
|
|
|
2022-01-05 10:40:08 -08:00
|
|
|
|
|
|
|
# Add them all together
|
2022-02-09 20:07:16 -08:00
|
|
|
DDEFS += -DFIRMWARE_ID=\"AlphaX-2chan\" $(LED_COMMUNICATION_BRAIN_PIN)
|
2022-01-05 10:40:08 -08:00
|
|
|
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
|
2022-02-09 19:47:54 -08:00
|
|
|
DDEFS += -DHAL_TRIGGER_USE_PAL=TRUE
|
2022-02-09 19:46:13 -08:00
|
|
|
|
|
|
|
|
2022-01-05 10:40:08 -08:00
|
|
|
|
|
|
|
# Enable serial pins on expansion header
|
2022-01-16 21:07:38 -08:00
|
|
|
DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=GPIOD_6 -DEFI_CONSOLE_RX_BRAIN_PIN=GPIOD_5 -DTS_PRIMARY_PORT=UARTD2 -DSTM32_UART_USE_USART2=1
|
2022-01-05 10:40:08 -08:00
|
|
|
|
2022-02-09 20:07:16 -08:00
|
|
|
include $(BOARDS_DIR)/hellen/hellen-common144.mk
|
2022-01-05 10:40:08 -08:00
|
|
|
|