-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MSDK-688] Re-generate Makefiles for AI85 projects
- Loading branch information
1 parent
d024dc7
commit 6a8c026
Showing
69 changed files
with
1,038 additions
and
465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,9 +110,6 @@ LIBS_DIR := $(abspath $(MAXIM_PATH)/Libraries) | |
CMSIS_ROOT := $(LIBS_DIR)/CMSIS | ||
export CMSIS_ROOT | ||
# TODO: Remove dependency on export CMSIS_ROOT | ||
BOARD_DIR := $(LIBS_DIR)/Boards/$(TARGET_UC)/$(BOARD) | ||
$(info $(BOARD_DIR)) | ||
PERIPH_DRIVER_DIR := $(LIBS_DIR)/PeriphDrivers | ||
|
||
# Select 'GCC' or 'IAR' compiler | ||
COMPILER ?= GCC | ||
|
@@ -127,6 +124,13 @@ COMPILER ?= GCC | |
$(info Added settings from project.mk...) | ||
include ./project.mk | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Jake-Carter
Author
Contributor
|
||
|
||
# One final UC/LC check in case user set TARGET in project.mk | ||
TARGET_UC := $(subst m,M,$(subst a,A,$(subst x,X,$(TARGET)))) | ||
TARGET_LC := $(subst M,m,$(subst A,a,$(subst X,x,$(TARGET)))) | ||
export TARGET | ||
export TARGET_UC | ||
export TARGET_LC | ||
|
||
# ******************************************************************************* | ||
# Set up search paths, and auto-detect all source code on those paths. | ||
|
||
|
@@ -229,9 +233,11 @@ VPATH += $(CMSIS_ROOT)/Device/Maxim/$(TARGET_UC)/Source | |
# for the target microcontroller. | ||
|
||
# Include the BSP | ||
BOARD_DIR := $(LIBS_DIR)/Boards/$(TARGET_UC)/$(BOARD) | ||
include $(BOARD_DIR)/board.mk | ||
|
||
# Include the peripheral driver | ||
PERIPH_DRIVER_DIR := $(LIBS_DIR)/PeriphDrivers | ||
include $(PERIPH_DRIVER_DIR)/periphdriver.mk | ||
|
||
# ******************************************************************************* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
@Jake-Carter if the MAXIM_PATH= in the project.mk, it does not get picked up by the Makefile. This line should be moved to line 100 or above.