From 3ee8c6f8b9fa35ccd91b74ecb349e635463104c1 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Mon, 16 Apr 2018 23:15:48 +0000 Subject: spi-master-l0: wip: doesn't work, but getting there --- tests/spi-master/Makefile.dut-stm32l073rz | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/spi-master/Makefile.dut-stm32l073rz (limited to 'tests/spi-master/Makefile.dut-stm32l073rz') 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 -- cgit