diff --git a/src/Makefile b/src/Makefile index de05365..15e9a7e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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