first steps toward supporting alternate board pinouts

This commit is contained in:
Joey Castillo
2021-09-13 16:43:35 -04:00
parent 5cd6b1afc7
commit 5a53916f0e
8 changed files with 70 additions and 69 deletions

View File

@@ -2,6 +2,10 @@
BUILD = ./build
BIN = watch
ifndef BOARD
override BOARD = OSO-SWAT-A1-04
endif
##############################################################################
.PHONY: all directory clean size
@@ -31,6 +35,7 @@ LDFLAGS += -Wl,--script=../../watch-library/linker/saml22j18.ld
# ../drivers/
INCLUDES += \
-I../../tinyusb/src \
-I../../boards/$(BOARD) \
-I../../watch-library/include \
-I../../watch-library/hal/ \
-I../../watch-library/hal/documentation/ \