From a5abf7ff7a105ebfe31b804d1e951b91a6c0a050 Mon Sep 17 00:00:00 2001 From: Navaneeth Bhardwaj Date: Sun, 3 Sep 2023 00:17:45 +0530 Subject: [PATCH] Print memory percentages this gives better idea of memories used. --- make.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/make.mk b/make.mk index bf61708..2870c4f 100644 --- a/make.mk +++ b/make.mk @@ -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