summaryrefslogtreecommitdiff
path: root/tests/spi-master/Makefile.dut-stm32l073rz
diff options
context:
space:
mode:
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