aboutsummaryrefslogtreecommitdiff
path: root/stm
diff options
context:
space:
mode:
authorDamien George2014-02-11 21:36:57 +0000
committerDamien George2014-02-11 21:36:57 +0000
commit0d14d1301667132ea12ae37ff8fe8b04842a69f1 (patch)
tree2d5874db9de9c851c7834b14d3c6d03e1f8934b7 /stm
parentbbe39b62bc6d980ff13618e36d66b9ec0bec987f (diff)
parent287d9620fc4f19eadbaaa2fbb7008604ea02a37f (diff)
Merge pull request #277 from pfalcon/link-map
Enable link map file generation.
Diffstat (limited to 'stm')
-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