summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWesley Aptekar-Cassels <me@wesleyac.com>2023-11-18 23:08:30 -0500
committerGitHub <noreply@github.com>2023-11-18 23:08:30 -0500
commitcda66e8c312ba36483a9e152c588f508ec8053c2 (patch)
tree41953b1563fe06dad75aae07cfeacb4bf73d1ce6
parent0263d9e0c7dfd9fc015f27bf3ae2487eaaa9d436 (diff)
parenta5abf7ff7a105ebfe31b804d1e951b91a6c0a050 (diff)
downloadSensor-Watch-cda66e8c312ba36483a9e152c588f508ec8053c2.tar.gz
Sensor-Watch-cda66e8c312ba36483a9e152c588f508ec8053c2.tar.bz2
Sensor-Watch-cda66e8c312ba36483a9e152c588f508ec8053c2.zip
Merge pull request #267 from navan93/print-memory-percentages
Print memory percentages
-rw-r--r--make.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/make.mk b/make.mk
index 31189c8f..955ea310 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