summaryrefslogtreecommitdiff
path: root/tests/adc-power/Makefile.stm32l4-disco
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2016-04-08 00:00:02 +0000
committerKarl Palsson <karlp@tweak.net.au>2016-09-09 22:16:45 +0000
commitc5c33a46003ba66008774e1ddf9557906df76462 (patch)
tree6316560a837e0e5ebd1c98f55ade0b730d967990 /tests/adc-power/Makefile.stm32l4-disco
parent835fafe2700930e51532e6ffdf62d049565acd89 (diff)
downloadolsndot-c5c33a46003ba66008774e1ddf9557906df76462.tar.gz
olsndot-c5c33a46003ba66008774e1ddf9557906df76462.tar.bz2
olsndot-c5c33a46003ba66008774e1ddf9557906df76462.zip
switch to using devices.data linker generation
Still using my own private rules, but now using the linker script generator so no need to keep expanding on including .ld files in core libopencm3
Diffstat (limited to 'tests/adc-power/Makefile.stm32l4-disco')
-rw-r--r--tests/adc-power/Makefile.stm32l4-disco11
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/adc-power/Makefile.stm32l4-disco b/tests/adc-power/Makefile.stm32l4-disco
index 7957e9d..245d01a 100644
--- a/tests/adc-power/Makefile.stm32l4-disco
+++ b/tests/adc-power/Makefile.stm32l4-disco
@@ -16,17 +16,8 @@ INCLUDES += $(patsubst %,-I%, . $(SHARED_DIR))
OPENCM3_DIR=../../libopencm3/
### This section can go to an arch shared rules eventually...
-#DEVICE=stm32l476vgt6
-#SRCLIBDIR=$(OPENCM3_DIR)
-#include $(OPENCM3_DIR)/ld/Makefile.linker
-LDSCRIPT=$(OPENCM3_DIR)/lib/stm32/l4/stm32l4xxg.ld
-
-OPENCM3_LIB = opencm3_stm32l4
-OPENCM3_DEFS = -DSTM32L4
-FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv4-sp-d16
-ARCH_FLAGS = -mthumb -mcpu=cortex-m4 $(FP_FLAGS)
+DEVICE=stm32l476vgt6
#OOCD_INTERFACE = stlink-v2-1
#OOCD_TARGET = stm32l4x
OOCD_FILE = ../../openocd/openocd.stm32l4-disco.cfg
-
include ../../rules.mk