2019-07-27 06:52:01 -07:00
|
|
|
# List of all the board related files.
|
|
|
|
|
|
|
|
BOARD_DIR = $(PROJECT_DIR)/config/boards/$(PROJECT_BOARD)
|
|
|
|
|
|
|
|
BOARDSRC = $(BOARD_DIR)/board.c
|
|
|
|
BOARDSRC_CPP = $(BOARD_DIR)/board_configuration.cpp
|
|
|
|
|
|
|
|
# Required include directories
|
|
|
|
BOARDINC = $(BOARD_DIR)
|
|
|
|
BOARDINC += $(BOARD_DIR)/config/controllers/algo
|
|
|
|
|
|
|
|
BOARDSRC_CPP += $(CONTROLLERS_ALGO_AUTO_GENERATED_ENUMS)
|
|
|
|
|
|
|
|
# Define linker script file here
|
|
|
|
LDSCRIPT= $(STARTUPLD)/MKE1xF512.ld
|
|
|
|
|
|
|
|
PLATFORMSRC += $(PLATFORMSRC_CONTRIB)
|
|
|
|
PLATFORMINC += $(PLATFORMINC_CONTRIB)
|
|
|
|
|
|
|
|
# Using external ChibiOS-Contrib code for Comparator HAL
|
|
|
|
HALSRC += $(CHIBIOS_CONTRIB)/os/hal/src/hal_comp.c
|
|
|
|
|
2019-11-24 21:22:27 -08:00
|
|
|
|