aboutsummaryrefslogtreecommitdiff
path: root/stm/Makefile
diff options
context:
space:
mode:
authorPaul Sokolovsky2014-02-11 14:37:37 +0200
committerPaul Sokolovsky2014-02-11 14:42:20 +0200
commit287d9620fc4f19eadbaaa2fbb7008604ea02a37f (patch)
tree5aa1f005446feab32ad419a27dbf8a87613ea948 /stm/Makefile
parenta075741c90f392c13a47c5948cccc7371d12dd14 (diff)
Enable link map file generation.
Diffstat (limited to 'stm/Makefile')
-rw-r--r--stm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/Makefile b/stm/Makefile
index 12fb4b71b..32f43213c 100644
--- a/stm/Makefile
+++ b/stm/Makefile
@@ -31,7 +31,7 @@ else
CFLAGS += -Os -DNDEBUG
endif
-LDFLAGS = --nostdlib -T stm32f405.ld
+LDFLAGS = --nostdlib -T stm32f405.ld -Map=$(@:.elf=.map) --cref
LIBS =
# uncomment this if you want libgcc