Makefile: Add linker flag to show memory usage after linking

This commit is contained in:
Mario Hüttel 2020-08-18 20:10:15 +02:00
parent 60e990632b
commit 86ba94a3f3

View File

@ -89,7 +89,7 @@ endif
LFLAGS += -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork
LFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 --disable-newlib-supplied-syscalls -nostartfiles
LFLAGS += -Tstm32f407vet6_flash.ld -Wl,-Map=$(MAPFILE).map
LFLAGS += -Tstm32f407vet6_flash.ld -Wl,-Map=$(MAPFILE).map -Wl,--print-memory-usage
CFLAGS += -c -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork
CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 -nostartfiles