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-12 09:35:00 -08:00
|
|
|
DDEFS += -DFIRMWARE_ID=\"AlphaX-2chan\"
|
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-02-09 20:07:16 -08:00
|
|
|
include $(BOARDS_DIR)/hellen/hellen-common144.mk
|
2022-01-05 10:40:08 -08:00
|
|
|
|
2022-03-03 18:06:17 -08:00
|
|
|
DDEFS += $(PRIMARY_COMMUNICATION_PORT_USART2)
|
|
|
|
|