2018-01-29 15:27:01 -08:00
|
|
|
# List of all the board related files.
|
2019-06-12 09:59:50 -07:00
|
|
|
BOARDSRC = $(CHIBIOS)/os/hal/boards/ST_STM32F469I_DISCOVERY/board.c \
|
2019-06-12 09:54:13 -07:00
|
|
|
$(PROJECT_DIR)/config/boards/prometheus/board_extra.c
|
|
|
|
|
2018-01-29 15:27:01 -08:00
|
|
|
BOARDSRC_CPP = $(PROJECT_DIR)/config/boards/Prometheus/board_configuration.cpp
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
# Override LD script
|
|
|
|
ifeq ($(USE_BOOTLOADER),yes)
|
|
|
|
# include Prometheus bootloader code
|
2019-03-29 08:24:25 -07:00
|
|
|
BOOTLOADERINC= $(PROJECT_DIR)/bootloader/prometheus/$(PROMETHEUS_BOARD)
|
2018-01-29 15:27:01 -08:00
|
|
|
endif
|
|
|
|
|
2019-03-22 08:38:18 -07:00
|
|
|
ifeq ($(PROMETHEUS_BOARD),405)
|
2019-03-29 08:24:25 -07:00
|
|
|
LDSCRIPT= $(PROJECT_DIR)/config/boards/prometheus/STM32F405xG.ld
|
2019-03-22 08:38:18 -07:00
|
|
|
DDEFS += -DDEFAULT_ENGINE_TYPE=PROMETHEUS_DEFAULTS -DSTM32F405xx
|
|
|
|
else
|
2018-01-29 15:27:01 -08:00
|
|
|
# Override DEFAULT_ENGINE_TYPE
|
2019-03-29 08:24:25 -07:00
|
|
|
LDSCRIPT= $(PROJECT_DIR)/config/boards/prometheus/STM32F469xI.ld
|
2018-01-29 15:27:01 -08:00
|
|
|
DDEFS += -DDEFAULT_ENGINE_TYPE=PROMETHEUS_DEFAULTS -DSTM32F469xx
|
2019-03-22 08:38:18 -07:00
|
|
|
endif
|