26 lines
804 B
Makefile
26 lines
804 B
Makefile
# List of all the board related files.
|
|
BOARDSRC = $(BOARD_DIR)/../board_extra.c
|
|
|
|
BOARDCPPSRC = $(BOARD_DIR)/../board_configuration.cpp
|
|
|
|
BOARDINC += $(BOARD_DIR)/..
|
|
|
|
# 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
|
|
endif
|
|
|
|
DDEFS += -DRAM_UNUSED_SIZE=4000
|
|
|
|
ifeq ($(PROMETHEUS_BOARD),405)
|
|
DDEFS += -DSTATIC_BOARD_ID=STATIC_BOARD_ID_PROMETHEUS_405
|
|
DDEFS += -DFIRMWARE_ID=\"prometeus405\"
|
|
else
|
|
DDEFS += -DSTATIC_BOARD_ID=STATIC_BOARD_ID_PROMETHEUS_469
|
|
DDEFS += -DFIRMWARE_ID=\"prometeus469\"
|
|
endif
|