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

22 lines
764 B
Makefile
Raw Normal View History

2018-01-29 15:27:01 -08:00
# List of all the board related files.
2019-03-29 08:24:25 -07:00
BOARDSRC = $(PROJECT_DIR)/config/boards/prometheus/board.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
ifeq ($(PROMETHEUS_BOARD),405)
2019-03-29 08:24:25 -07:00
LDSCRIPT= $(PROJECT_DIR)/config/boards/prometheus/STM32F405xG.ld
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
endif