diff options
author | Karl Palsson <karlp@tweak.net.au> | 2017-03-01 23:30:59 +0000 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2017-03-08 23:05:52 +0000 |
commit | d6e9b188c71131cf0745b3b25d033a5e16db886e (patch) | |
tree | a752d81785f382636ac52e0ef6626172783da9b1 /tests/i2c-master/Makefile.stm32l1-generic | |
parent | 12f454b41b8d64fb22a55ba9cd748f62ec4f34e9 (diff) | |
download | olsndot-d6e9b188c71131cf0745b3b25d033a5e16db886e.tar.gz olsndot-d6e9b188c71131cf0745b3b25d033a5e16db886e.tar.bz2 olsndot-d6e9b188c71131cf0745b3b25d033a5e16db886e.zip |
i2c-master: working on l1 too.
Needs retest on f4. then ready to move to new hardware
Diffstat (limited to 'tests/i2c-master/Makefile.stm32l1-generic')
-rw-r--r-- | tests/i2c-master/Makefile.stm32l1-generic | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/i2c-master/Makefile.stm32l1-generic b/tests/i2c-master/Makefile.stm32l1-generic new file mode 100644 index 0000000..ea75919 --- /dev/null +++ b/tests/i2c-master/Makefile.stm32l1-generic @@ -0,0 +1,18 @@ +BOARD = stm32l1-generic +PROJECT = i2c-master-$(BOARD) +BUILD_DIR = bin-$(BOARD) + +SHARED_DIR = ../../shared + +CFILES = main-$(BOARD).c +CFILES += i2c-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 |