summaryrefslogtreecommitdiffstats
path: root/make.mk
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-09-13 16:43:35 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-09-13 16:44:07 -0400
commit5a53916f0e51f02aab6d892c87310e5730abce5c (patch)
tree790945ca3e388417685dde5d2f100f3d3fdba83f /make.mk
parent5cd6b1afc7cacbe3479fd57305ce71ac25e42759 (diff)
downloadSensor-Watch-5a53916f0e51f02aab6d892c87310e5730abce5c.tar.gz
Sensor-Watch-5a53916f0e51f02aab6d892c87310e5730abce5c.tar.bz2
Sensor-Watch-5a53916f0e51f02aab6d892c87310e5730abce5c.zip
first steps toward supporting alternate board pinouts
Diffstat (limited to 'make.mk')
-rw-r--r--make.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/make.mk b/make.mk
index a58aba38..b892be98 100644
--- a/make.mk
+++ b/make.mk
@@ -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/ \