summaryrefslogtreecommitdiff
path: root/tests/adc-power/Makefile.stm32f072-disco
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2015-11-03 23:53:42 +0000
committerKarl Palsson <karlp@tweak.net.au>2016-03-04 00:43:21 +0000
commit19a85ae45beb97d5b260e80320e233f95c0e302b (patch)
treea4686cd846ae987a0e355ab7d2d047c9653982ca /tests/adc-power/Makefile.stm32f072-disco
parentc522c29dcab2be8c8ee629e22a3f632d8c614282 (diff)
downloadolsndot-19a85ae45beb97d5b260e80320e233f95c0e302b.tar.gz
olsndot-19a85ae45beb97d5b260e80320e233f95c0e302b.tar.bz2
olsndot-19a85ae45beb97d5b260e80320e233f95c0e302b.zip
f0 working (one fixme)
need scan mode upstream?
Diffstat (limited to 'tests/adc-power/Makefile.stm32f072-disco')
-rw-r--r--tests/adc-power/Makefile.stm32f072-disco19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/adc-power/Makefile.stm32f072-disco b/tests/adc-power/Makefile.stm32f072-disco
new file mode 100644
index 0000000..99eade8
--- /dev/null
+++ b/tests/adc-power/Makefile.stm32f072-disco
@@ -0,0 +1,19 @@
+BOARD = stm32f072-disco
+PROJECT = adc-power-$(BOARD)
+BUILD_DIR = bin-$(BOARD)
+
+SHARED_DIR = ../../shared
+
+CFILES = main-$(BOARD).c
+CFILES += adc-power.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
+include ../../rules.stm32f0.mk
+include ../../rules.mk