18 lines
589 B
Makefile
18 lines
589 B
Makefile
# List of all the board related files.
|
|
BOARDSRC = $(PROJECT_DIR)/config/boards/subaru-ej20gn/board.c
|
|
BOARDSRC_CPP = $(PROJECT_DIR)/config/boards/subaru-ej20gn/board_configuration.cpp
|
|
|
|
# Required include directories
|
|
BOARDINC = $(PROJECT_DIR)/config/boards/subaru-ej20gn
|
|
|
|
# Override LD script
|
|
ifeq ($(USE_BOOTLOADER),yes)
|
|
# include Prometheus bootloader code
|
|
BOOTLOADERINC= $(PROJECT_DIR)/bootloader/subaru-ej20gn
|
|
endif
|
|
|
|
LDSCRIPT= $(PROJECT_DIR)/config/boards/subaru-ej20gn/STM32F76xxI.ld
|
|
|
|
# Override DEFAULT_ENGINE_TYPE
|
|
DDEFS += -DDEFAULT_ENGINE_TYPE=SUBARUEJ20G_DEFAULTS -DSTM32F765xx
|