2021-05-01 16:15:23 -07: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/hellen121nissan/board_configuration.cpp
|
2021-05-01 16:45:09 -07:00
|
|
|
BOARDINC = $(BOARDS_DIR)/hellen/hellen121nissan
|
2021-05-01 16:15:23 -07:00
|
|
|
|
2021-05-01 16:45:09 -07:00
|
|
|
# Set this if you want a default engine type other than normal hellen121nissan
|
2021-05-01 16:15:23 -07:00
|
|
|
ifeq ($(DEFAULT_ENGINE_TYPE),)
|
2021-08-08 04:29:11 -07:00
|
|
|
DEFAULT_ENGINE_TYPE = -DDEFAULT_ENGINE_TYPE=HELLEN_121_NISSAN_6_CYL
|
2021-05-01 16:15:23 -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-05-01 16:15:23 -07:00
|
|
|
|
|
|
|
# Add them all together
|
2022-02-12 09:35:00 -08:00
|
|
|
DDEFS += -DFIRMWARE_ID=\"hellen121nissan\" $(DEFAULT_ENGINE_TYPE)
|
2021-05-01 16:15:23 -07: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
|
|
|
|
|
|
|
|
2021-05-01 16:15:23 -07:00
|
|
|
|
2022-02-09 20:04:27 -08:00
|
|
|
include $(BOARDS_DIR)/hellen/hellen-common144.mk
|