rusefi/firmware/config/boards/prometheus/prometheus-common-board.mk

28 lines
870 B
Makefile
Raw Normal View History

2018-01-29 15:27:01 -08:00
# List of all the board related files.
BOARDSRC = $(BOARD_DIR)/../board_extra.c
BOARDCPPSRC = $(BOARD_DIR)/../board_configuration.cpp
2018-01-29 15:27:01 -08:00
BOARDINC += $(BOARD_DIR)/..
2018-01-29 15:27:01 -08:00
# Required include directories
# Default to a release build - clear EXTRA_PARAMS from cmdline to build debug
ifeq ($(EXTRA_PARAMS),)
EXTRA_PARAMS = -DEFI_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_ASSERTS=FALSE -DCH_DBG_ENABLE_STACK_CHECK=FALSE -DCH_DBG_FILL_THREADS=FALSE -DCH_DBG_THREADS_PROFILING=FALSE
endif
ifeq ($(DEBUG_LEVEL_OPT),)
DEBUG_LEVEL_OPT = -O2
2018-01-29 15:27:01 -08:00
endif
2023-12-05 11:33:41 -08:00
DDEFS += -DRAM_UNUSED_SIZE=4000
ifeq ($(PROMETHEUS_BOARD),405)
DDEFS += -DSTATIC_BOARD_ID=STATIC_BOARD_ID_PROMETHEUS_405
DDEFS += -DFIRMWARE_ID=\"prometeus405\"
SHORT_BOARD_NAME=prometheus_405
else
DDEFS += -DSTATIC_BOARD_ID=STATIC_BOARD_ID_PROMETHEUS_469
DDEFS += -DFIRMWARE_ID=\"prometeus469\"
SHORT_BOARD_NAME=prometheus_469
endif