2018-01-29 15:27:01 -08:00
|
|
|
# List of all the board related files.
|
2021-02-08 05:52:31 -08:00
|
|
|
BOARDSRC = $(PROJECT_DIR)/config/boards/prometheus/board_extra.c
|
2019-06-12 09:54:13 -07:00
|
|
|
|
2021-01-17 06:32:06 -08:00
|
|
|
BOARDCPPSRC = $(PROJECT_DIR)/config/boards/Prometheus/board_configuration.cpp
|
2018-01-29 15:27:01 -08:00
|
|
|
|
|
|
|
# Required include directories
|
2019-03-29 08:24:25 -07:00
|
|
|
BOARDINC = $(PROJECT_DIR)/config/boards/prometheus
|
2018-01-29 15:27:01 -08:00
|
|
|
|
2019-11-28 23:39:30 -08:00
|
|
|
# Default to a release build - clear EXTRA_PARAMS from cmdline to build debug
|
|
|
|
ifeq ($(EXTRA_PARAMS),)
|
2022-04-18 11:22:05 -07:00
|
|
|
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
|
2019-11-28 23:39:30 -08:00
|
|
|
endif
|
|
|
|
ifeq ($(DEBUG_LEVEL_OPT),)
|
|
|
|
DEBUG_LEVEL_OPT = -O2
|
2018-01-29 15:27:01 -08:00
|
|
|
endif
|
|
|
|
|
2019-03-22 08:38:18 -07:00
|
|
|
ifeq ($(PROMETHEUS_BOARD),405)
|
2022-04-18 11:22:05 -07:00
|
|
|
DDEFS += -DFIRMWARE_ID=\"prometeus405\" -DSHORT_BOARD_NAME=prometheus_405
|
2019-03-22 08:38:18 -07:00
|
|
|
else
|
2022-04-18 11:22:05 -07:00
|
|
|
DDEFS += -DFIRMWARE_ID=\"prometeus469\" -DSHORT_BOARD_NAME=prometheus_469
|
2019-03-22 08:38:18 -07:00
|
|
|
endif
|