2021-07-30 07:04:22 -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/hellen81/board_configuration.cpp
|
2021-07-30 07:04:22 -07:00
|
|
|
BOARDINC = $(BOARDS_DIR)/hellen/hellen81
|
|
|
|
|
|
|
|
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
|
2021-07-30 07:04:22 -07:00
|
|
|
|
|
|
|
# Add them all together
|
2022-02-12 09:35:00 -08:00
|
|
|
DDEFS += -DFIRMWARE_ID=\"hellen81\"
|
2021-07-30 07:04:22 -07:00
|
|
|
#DDEFS += -DEFI_SOFTWARE_KNOCK=TRUE -DSTM32_ADC_USE_ADC3=TRUE
|
2022-06-22 15:43:39 -07:00
|
|
|
DDEFS += -DHAL_TRIGGER_USE_ADC=TRUE
|
2022-02-09 19:46:13 -08:00
|
|
|
|
2021-06-06 02:35:39 -07:00
|
|
|
# we need fast ADC for software trigger detector
|
2022-07-26 01:19:32 -07:00
|
|
|
#DDEFS += -DADC_FAST_DEVICE=ADCD1 -DADC_SLOW_DEVICE=ADCD3 -DSTM32_ADC_USE_ADC3=TRUE
|
2021-06-06 02:35:39 -07:00
|
|
|
#DDEFS += -DADC_SLOW_DEVICE=ADCD3 -DSTM32_ADC_USE_ADC3=TRUE
|
|
|
|
|
2022-07-26 01:31:50 -07:00
|
|
|
# we probably do not need this DDEFS += -DADC_FAST_DEVICE=ADCD1
|
2021-07-30 07:04:22 -07:00
|
|
|
|
2022-07-26 01:26:42 -07:00
|
|
|
|
|
|
|
# implementation not in master as of today DDEFS += -DEFI_FASTER_UNIFORM_ADC=TRUE
|
|
|
|
# for analog VR we want to access un-averaged most raw data
|
|
|
|
# DDEFS += -DADC_BUF_DEPTH_FAST=1
|
|
|
|
# DDEFS += -DADC_BUF_NUM_AVG=1
|
|
|
|
|
|
|
|
|
2022-04-18 12:45:29 -07:00
|
|
|
DDEFS += -DSHORT_BOARD_NAME=hellen81
|
|
|
|
|
2022-02-09 20:12:10 -08:00
|
|
|
include $(BOARDS_DIR)/hellen/hellen-common176.mk
|