Added a linker flag to output memory usage.

This commit is contained in:
Piotr Esden-Tempski 2022-03-15 11:41:31 -07:00
parent 4b92415442
commit e0619ca7d5
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ SRC = \
stm32g0.c \
target.c \
# Output memory usage information
LDFLAGS += -Wl,--print-memory-usage
include $(PLATFORM_DIR)/Makefile.inc
OPT_FLAGS ?= -Os