summaryrefslogtreecommitdiff
path: root/tests/adc-power/Makefile.stm32l1-generic
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2016-09-26 20:57:10 +0000
committerKarl Palsson <karlp@tweak.net.au>2016-09-26 20:57:10 +0000
commit19d3225fd66573a2a62ece83158cd5551255f2ad (patch)
tree72a4d6c5007b95913f2133981b64c761a0605069 /tests/adc-power/Makefile.stm32l1-generic
parent418b3e1415e90aed9a652122ddde36ffc60991ab (diff)
downloadolsndot-19d3225fd66573a2a62ece83158cd5551255f2ad.tar.gz
olsndot-19d3225fd66573a2a62ece83158cd5551255f2ad.tar.bz2
olsndot-19d3225fd66573a2a62ece83158cd5551255f2ad.zip
adc-power: update makefiles with work lying around
Diffstat (limited to 'tests/adc-power/Makefile.stm32l1-generic')
-rw-r--r--tests/adc-power/Makefile.stm32l1-generic18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/adc-power/Makefile.stm32l1-generic b/tests/adc-power/Makefile.stm32l1-generic
new file mode 100644
index 0000000..cc8de84
--- /dev/null
+++ b/tests/adc-power/Makefile.stm32l1-generic
@@ -0,0 +1,18 @@
+BOARD = stm32l1-generic
+PROJECT = adc-power-$(BOARD)
+BUILD_DIR = bin-$(BOARD)
+
+SHARED_DIR = ../../shared
+
+CFILES = main-$(BOARD).c
+CFILES += adc-power.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