From 90ce052d82daa86e1e86ab4dac7fbba0cdda8680 Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Tue, 17 Apr 2018 22:53:25 +0000 Subject: 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. --- tests/spi-master/Makefile.host-stm32l1-generic | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/spi-master/Makefile.host-stm32l1-generic (limited to 'tests/spi-master/Makefile.host-stm32l1-generic') 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 -- cgit