summaryrefslogtreecommitdiff
path: root/tests/adc-power/Makefile.stm32f072-disco
diff options
context:
space:
mode:
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