rusefi/firmware/config/boards/hellen/hellen64_miataNA6_94/board.mk

24 lines
788 B
Makefile
Raw Normal View History

2021-04-18 07:15:06 -07:00
# Combine the related files for a specific platform and MCU.
# Target ECU board design
BOARDCPPSRC = $(BOARDS_DIR)/hellen/hellen64_miataNA6_94/board_configuration.cpp
2021-04-18 19:03:43 -07:00
BOARDINC = $(BOARDS_DIR)/hellen/hellen64_miataNA6_94
2021-04-18 07:15:06 -07:00
2021-04-18 19:03:43 -07:00
# 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
2021-04-18 07:15:06 -07:00
endif
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
# Disable serial ports on this board as UART3 causes a DMA conflict with the SD card
2022-02-09 19:52:46 -08:00
DDEFS += -DTS_NO_PRIMARY=1
2021-04-18 07:15:06 -07:00
# Add them all together
DDEFS += -DFIRMWARE_ID=\"hellenNA6\" $(VAR_DEF_ENGINE_TYPE)
2021-04-20 19:07:09 -07:00
DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
2022-02-09 19:46:13 -08:00
DDEFS += -DSHORT_BOARD_NAME=hellenNA6
2021-04-18 07:15:06 -07:00
2022-02-09 20:12:10 -08:00
include $(BOARDS_DIR)/hellen/hellen-common176.mk