summaryrefslogtreecommitdiff
path: root/tests/i2c-master/Makefile.stm32l1-generic
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2017-03-01 23:30:59 +0000
committerKarl Palsson <karlp@tweak.net.au>2017-03-08 23:05:52 +0000
commitd6e9b188c71131cf0745b3b25d033a5e16db886e (patch)
treea752d81785f382636ac52e0ef6626172783da9b1 /tests/i2c-master/Makefile.stm32l1-generic
parent12f454b41b8d64fb22a55ba9cd748f62ec4f34e9 (diff)
downloadolsndot-d6e9b188c71131cf0745b3b25d033a5e16db886e.tar.gz
olsndot-d6e9b188c71131cf0745b3b25d033a5e16db886e.tar.bz2
olsndot-d6e9b188c71131cf0745b3b25d033a5e16db886e.zip
i2c-master: working on l1 too.
Needs retest on f4. then ready to move to new hardware
Diffstat (limited to 'tests/i2c-master/Makefile.stm32l1-generic')
-rw-r--r--tests/i2c-master/Makefile.stm32l1-generic18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/i2c-master/Makefile.stm32l1-generic b/tests/i2c-master/Makefile.stm32l1-generic
new file mode 100644
index 0000000..ea75919
--- /dev/null
+++ b/tests/i2c-master/Makefile.stm32l1-generic
@@ -0,0 +1,18 @@
+BOARD = stm32l1-generic
+PROJECT = i2c-master-$(BOARD)
+BUILD_DIR = bin-$(BOARD)
+
+SHARED_DIR = ../../shared
+
+CFILES = main-$(BOARD).c
+CFILES += i2c-master.c
+CFILES += trace.c trace_stdio.c
+
+VPATH += $(SHARED_DIR)
+
+INCLUDES += $(patsubst %,-I%, . $(SHARED_DIR))
+
+OPENCM3_DIR=../../libopencm3
+DEVICE=stm32l151xb
+OOCD_FILE = openocd.stm32l1-generic.cfg
+include ../../rules.mk