Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
287d9620
Commit
287d9620
authored
Feb 11, 2014
by
Paul Sokolovsky
Browse files
Enable link map file generation.
parent
a075741c
Changes
2
Hide whitespace changes
Inline
Side-by-side
stm/Makefile
View file @
287d9620
...
...
@@ -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
...
...
unix/Makefile
View file @
287d9620
...
...
@@ -12,7 +12,7 @@ include ../py/py.mk
# compiler settings
CFLAGS
=
-I
.
-I
$(PY_SRC)
-Wall
-Werror
-ansi
-std
=
gnu99
-DUNIX
$(CFLAGS_MOD)
LDFLAGS
=
$(LDFLAGS_MOD)
-lm
LDFLAGS
=
$(LDFLAGS_MOD)
-lm
-Wl
,-Map
=
$@
.map,--cref
ifeq
($(MICROPY_MOD_TIME),1)
CFLAGS_MOD
+=
-DMICROPY_MOD_TIME
=
1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment