summaryrefslogtreecommitdiff
path: root/tests/spi-master/Makefile.host-stm32l1-generic
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2018-04-17 22:53:25 +0000
committerKarl Palsson <karlp@tweak.net.au>2018-04-17 22:53:25 +0000
commit90ce052d82daa86e1e86ab4dac7fbba0cdda8680 (patch)
tree15e5d715d0b01fba81e785cf2b2650a523313368 /tests/spi-master/Makefile.host-stm32l1-generic
parent3ee8c6f8b9fa35ccd91b74ecb349e635463104c1 (diff)
downloadolsndot-90ce052d82daa86e1e86ab4dac7fbba0cdda8680.tar.gz
olsndot-90ce052d82daa86e1e86ab4dac7fbba0cdda8680.tar.bz2
olsndot-90ce052d82daa86e1e86ab4dac7fbba0cdda8680.zip
spi-master: functional spi slave on l1 host
Doesn't do much other than reply with an increasing pattern, but at least the basic wiring is now in place.
Diffstat (limited to 'tests/spi-master/Makefile.host-stm32l1-generic')
-rw-r--r--tests/spi-master/Makefile.host-stm32l1-generic18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/spi-master/Makefile.host-stm32l1-generic b/tests/spi-master/Makefile.host-stm32l1-generic
new file mode 100644
index 0000000..8996ff7
--- /dev/null
+++ b/tests/spi-master/Makefile.host-stm32l1-generic
@@ -0,0 +1,18 @@
+BOARD = host-stm32l1-generic
+PROJECT = spi-slave-$(BOARD)
+BUILD_DIR = bin-$(BOARD)
+
+SHARED_DIR = ../../shared
+
+CFILES = main-$(BOARD).c
+#CFILES += spi-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