diff options
-rw-r--r-- | tests/adc-power/Makefile.stm32f4-disco | 2 |
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 |