From a0d6e8ab1c35f2497b7f44f3489da08c97bd353d Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Wed, 23 May 2018 14:28:38 -0400 Subject: [PATCH] Print MCU memory usage during compilation --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 01c0538..0e8a980 100644 --- a/Makefile +++ b/Makefile @@ -197,7 +197,7 @@ LDFLAGS_F7 =-T stm32f7xx_link.ld $(MCFLAGS_F7) $(INCLUDES_LIBS_F7) # Common flags CFLAGS=-Os -ffunction-sections -fdata-sections -nostdlib -DCUSTOM_NEW -DNO_EXCEPTIONS -Wno-unused-parameter -nostdlib CXXFLAGS=-Os -fno-exceptions -ffunction-sections -fdata-sections -nostdlib -fno-rtti -DCUSTOM_NEW -DNO_EXCEPTIONS -Wno-unused-parameter -LDFLAGS=-Os --specs=nano.specs --specs=nosys.specs +LDFLAGS=-Os --specs=nano.specs --specs=nosys.specs -Wl,--print-memory-usage # Build Rules .PHONY: all release_f1 release_f4 release_f7 hs bl pi-f4 f446 f767 clean