summaryrefslogtreecommitdiff
path: root/tests/spi-master/Makefile.dut-stm32l073rz
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2018-04-16 23:15:48 +0000
committerKarl Palsson <karlp@tweak.net.au>2018-04-16 23:15:48 +0000
commit3ee8c6f8b9fa35ccd91b74ecb349e635463104c1 (patch)
treea9d3fa0eaa2e6d3df0010cb7bc33f72f2d7f11ca /tests/spi-master/Makefile.dut-stm32l073rz
parenta62f296f73c4b507890315b7dfb4050bbe872678 (diff)
downloadolsndot-3ee8c6f8b9fa35ccd91b74ecb349e635463104c1.tar.gz
olsndot-3ee8c6f8b9fa35ccd91b74ecb349e635463104c1.tar.bz2
olsndot-3ee8c6f8b9fa35ccd91b74ecb349e635463104c1.zip
spi-master-l0: wip:
doesn't work, but getting there
Diffstat (limited to 'tests/spi-master/Makefile.dut-stm32l073rz')
-rw-r--r--tests/spi-master/Makefile.dut-stm32l073rz21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/spi-master/Makefile.dut-stm32l073rz b/tests/spi-master/Makefile.dut-stm32l073rz
new file mode 100644
index 0000000..899c0fe
--- /dev/null
+++ b/tests/spi-master/Makefile.dut-stm32l073rz
@@ -0,0 +1,21 @@
+BOARD = dut-stm32l073rz
+PROJECT = spi-master-$(BOARD)
+BUILD_DIR = bin-$(BOARD)
+
+SHARED_DIR = ../../shared
+
+CFLAGS = -DSTDIO_USART=USART2
+CFILES = main-$(BOARD).c
+#CFILES += spi-master.c
+# No trace on cm0!
+#CFILES += trace.c trace_stdio.c
+CFILES += usart_stdio.c
+
+VPATH += $(SHARED_DIR)
+
+INCLUDES += $(patsubst %,-I%, . $(SHARED_DIR))
+
+OPENCM3_DIR=../../libopencm3
+DEVICE=stm32l073rz
+OOCD_FILE = openocd.dut-stm32l073rz.cfg
+include ../../rules.mk