summaryrefslogtreecommitdiff
path: root/tests/adc-power
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2015-10-17 02:52:48 +0000
committerKarl Palsson <karlp@tweak.net.au>2015-10-17 02:52:48 +0000
commitb76fbc06360440e414e01343cf5d79abf6c5fd5d (patch)
tree4bb49533462752fc6ee58e0c115279ff67d221e1 /tests/adc-power
parent935912fb0ee34bc088d29731fd221ff61b783b7d (diff)
downloadolsndot-b76fbc06360440e414e01343cf5d79abf6c5fd5d.tar.gz
olsndot-b76fbc06360440e414e01343cf5d79abf6c5fd5d.tar.bz2
olsndot-b76fbc06360440e414e01343cf5d79abf6c5fd5d.zip
adc-power: f4: use correct path to linker
Don't escape the project!
Diffstat (limited to 'tests/adc-power')
-rw-r--r--tests/adc-power/Makefile.stm32f4-disco2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/adc-power/Makefile.stm32f4-disco b/tests/adc-power/Makefile.stm32f4-disco
index b592384..a990ec5 100644
--- a/tests/adc-power/Makefile.stm32f4-disco
+++ b/tests/adc-power/Makefile.stm32f4-disco
@@ -32,7 +32,7 @@ INCLUDES += $(patsubst %,-I%, . $(SHARED_DIR))
OPENCM3_DIR=../../libopencm3/
### This section can go to an arch shared rules eventually...
-LDSCRIPT = ../../../libopencm3/lib/stm32/f4/stm32f405x6.ld
+LDSCRIPT = $(OPENCM3_DIR)/lib/stm32/f4/stm32f405x6.ld
OPENCM3_LIB = opencm3_stm32f4
OPENCM3_DEFS = -DSTM32F4
FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv4-sp-d16