20 lines
601 B
Makefile
20 lines
601 B
Makefile
# Combine the related files for a specific platform and MCU.
|
|
|
|
# Target ECU board design
|
|
BOARDCPPSRC = $(BOARD_DIR)/board_configuration.cpp
|
|
# Set this if you want a default engine type other than normal hellen121vag
|
|
ifeq ($(VAR_DEF_ENGINE_TYPE),)
|
|
VAR_DEF_ENGINE_TYPE = -DDEFAULT_ENGINE_TYPE=HELLEN_121_VAG_4_CYL
|
|
endif
|
|
|
|
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
|
|
|
|
# Add them all together
|
|
DDEFS += -DFIRMWARE_ID=\"hellen121vag\" $(VAR_DEF_ENGINE_TYPE)
|
|
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
|
|
|
|
DDEFS += -DSHORT_BOARD_NAME=hellen121vag
|
|
|
|
include $(BOARDS_DIR)/hellen/hellen-common176.mk
|
|
|