mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2026-01-02 23:00:10 +01:00
Print MCU memory usage during compilation
This commit is contained in:
parent
b268e40025
commit
a0d6e8ab1c
2
Makefile
2
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue