2021-01-08 09:50:13 -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/hellen72/board_configuration.cpp
|
2022-01-08 17:13:15 -08:00
|
|
|
|
2021-01-08 09:50:13 -08:00
|
|
|
BOARDINC = $(BOARDS_DIR)/hellen/hellen72
|
|
|
|
|
|
|
|
# Set this if you want a default engine type other than normal Hellen72
|
2022-04-09 15:48:33 -07:00
|
|
|
ifeq ($(VAR_DEF_ENGINE_TYPE),)
|
|
|
|
VAR_DEF_ENGINE_TYPE = -DDEFAULT_ENGINE_TYPE=HELLEN_NB2
|
2021-01-08 09:50:13 -08:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2021-02-17 06:50:28 -08:00
|
|
|
DDEFS += -DEFI_MAIN_RELAY_CONTROL=TRUE
|
|
|
|
|
2021-03-28 06:06:36 -07:00
|
|
|
# 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-02-18 13:16:45 -08:00
|
|
|
|
2021-01-08 09:50:13 -08:00
|
|
|
# Add them all together
|
2022-04-09 15:48:33 -07:00
|
|
|
DDEFS += -DFIRMWARE_ID=\"hellen72\" $(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:47:54 -08:00
|
|
|
DDEFS += -DHAL_TRIGGER_USE_PAL=TRUE
|
2022-02-09 19:46:13 -08:00
|
|
|
|
|
|
|
|
2021-01-08 09:50:13 -08:00
|
|
|
|
2022-02-09 20:12:10 -08:00
|
|
|
include $(BOARDS_DIR)/hellen/hellen-common176.mk
|