2020-09-07 08:28:51 -07:00
|
|
|
# List of all the board related files.
|
|
|
|
|
|
|
|
BOARD_DIR = $(PROJECT_DIR)/config/boards/$(PROJECT_BOARD)
|
|
|
|
|
|
|
|
# we have:
|
|
|
|
# PDL_DEVICE_TYPE=PDL_TYPE3
|
|
|
|
# PDL_MCU_INT_TYPE=PDL_FM4_INT_TYPE_B
|
|
|
|
PDL_DIR = $(CYPRESS_CONTRIB)/os/hal/ports/Cypress/PDL
|
|
|
|
|
|
|
|
BOARDSRC = $(BOARD_DIR)/board.c
|
|
|
|
|
|
|
|
BOARDSRC_CPP = $(BOARD_DIR)/board_configuration.cpp
|
|
|
|
|
|
|
|
# Required include directories
|
|
|
|
BOARDINC = $(BOARD_DIR)
|
|
|
|
BOARDINC += $(BOARD_DIR)/config/controllers/algo
|
|
|
|
|
|
|
|
BOARDINC += $(PDL_DIR)/driver $(PDL_DIR)/driver/gpio $(PDL_DIR)/driver/usb $(PDL_DIR)/driver/mfs $(PDL_DIR)/midware/usb/device
|
|
|
|
|
|
|
|
BOARDSRC_CPP += $(CONTROLLERS_ALGO_AUTO_GENERATED_ENUMS)
|
|
|
|
|
|
|
|
# Define linker script file here
|
|
|
|
LDSCRIPT= $(STARTUPLD)/cypress_S6E2CxAH.ld
|
|
|
|
|
2020-09-23 11:06:22 -07:00
|
|
|
#PLATFORMSRC += $(PLATFORMSRC_CONTRIB)
|
|
|
|
#PLATFORMINC += $(PLATFORMINC_CONTRIB)
|
2020-09-07 08:28:51 -07:00
|
|
|
|