mirror of https://github.com/FOME-Tech/fome-fw.git
23 lines
665 B
Makefile
23 lines
665 B
Makefile
# Combine the related files for a specific platform and MCU.
|
|
|
|
# Target ECU board design
|
|
BOARDCPPSRC = $(BOARDS_DIR)/hellen/alphax-4chan/board_configuration.cpp
|
|
BOARDINC = $(BOARDS_DIR)/hellen/alphax-4chan
|
|
|
|
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
|
|
|
|
|
|
|
|
# Add them all together
|
|
DDEFS += -DFIRMWARE_ID=\"AlphaX-4chan\" $(LED_COMMUNICATION_BRAIN_PIN)
|
|
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
|
|
DDEFS += -DHAL_TRIGGER_USE_PAL=TRUE
|
|
|
|
|
|
|
|
# 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
|
|
|
|
include $(BOARDS_DIR)/hellen/hellen-common144.mk
|
|
|