Print memory percentages

this gives better idea of memories used.
This commit is contained in:
Navaneeth Bhardwaj 2023-09-03 00:17:45 +05:30
parent 7fd51caa25
commit a5abf7ff7a

View file

@ -62,6 +62,7 @@ CFLAGS += -MD -MP -MT $(BUILD)/$(*F).o -MF $(BUILD)/$(@F).d
LDFLAGS += -mcpu=cortex-m0plus -mthumb
LDFLAGS += -Wl,--gc-sections
LDFLAGS += -Wl,--script=$(TOP)/watch-library/hardware/linker/saml22j18.ld
LDFLAGS += -Wl,--print-memory-usage
LIBS += -lm