Adding the --print-memory-usage linker flag to get a better idea of the firmware memory usage

This commit is contained in:
Anatole SCHRAMM 2026-04-13 14:04:53 +02:00
parent 636d581bbf
commit 69916d4da4

View File

@ -156,7 +156,8 @@ LINKFLAGS := -mcpu=ck804ef \
-mhard-float \
-lsupc++ \
-lm \
-Wl,-T$(LD_FILE)
-Wl,-T$(LD_FILE) \
-Wl,--print-memory-usage
MAP := -Wl,-ckmap=$(IMAGEODIR)/$(TARGET).map