25 lines
824 B
Makefile
25 lines
824 B
Makefile
# Combine the related files for a specific platform and MCU.
|
|
|
|
# Target ECU board design
|
|
BOARDCPPSRC = $(BOARDS_DIR)/hellen/hellen64_miataNA6_94/board_configuration.cpp
|
|
BOARDINC = $(BOARDS_DIR)/hellen/hellen64_miataNA6_94
|
|
|
|
# Set this if you want a default engine type other than normal hellen64_miataNA6_94
|
|
ifeq ($(VAR_DEF_ENGINE_TYPE),)
|
|
VAR_DEF_ENGINE_TYPE = -DDEFAULT_ENGINE_TYPE=HELLEN_NA6
|
|
endif
|
|
|
|
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
|
|
|
|
# Disable serial ports on this board as UART3 causes a DMA conflict with the SD card
|
|
DDEFS += -DTS_NO_PRIMARY=1
|
|
|
|
# Add them all together
|
|
DDEFS += -DFIRMWARE_ID=\"hellenNA6\" $(VAR_DEF_ENGINE_TYPE)
|
|
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
|
|
DDEFS += -DHAL_TRIGGER_USE_PAL=TRUE
|
|
|
|
DDEFS += -DSHORT_BOARD_NAME=hellenNA6
|
|
|
|
include $(BOARDS_DIR)/hellen/hellen-common176.mk
|