Added a linker flag to output memory usage.
This commit is contained in:
parent
4b92415442
commit
e0619ca7d5
@ -61,6 +61,9 @@ SRC = \
|
|||||||
stm32g0.c \
|
stm32g0.c \
|
||||||
target.c \
|
target.c \
|
||||||
|
|
||||||
|
# Output memory usage information
|
||||||
|
LDFLAGS += -Wl,--print-memory-usage
|
||||||
|
|
||||||
include $(PLATFORM_DIR)/Makefile.inc
|
include $(PLATFORM_DIR)/Makefile.inc
|
||||||
|
|
||||||
OPT_FLAGS ?= -Os
|
OPT_FLAGS ?= -Os
|
||||||
|
Loading…
x
Reference in New Issue
Block a user