From: Nathael Pajani Date: Wed, 9 Sep 2015 19:10:14 +0000 (+0200) Subject: Display some size information about the image (used data) at the end of the compilation. X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=9967598207fbfd26b6f7492632b39c69d16bc56d;p=soft%2Flpc122x%2Fcore Display some size information about the image (used data) at the end of the compilation. --- diff --git a/Makefile b/Makefile index 327738f..41ce6a7 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,7 @@ NAME_DEPS = ${NAME_OBJS:%.o=$(OBJDIR)/%.d} @echo "Creating image : $@" @$(CROSS_COMPILE)objcopy -R .stack -R .bss -O binary $^ $@ @ls -l $@ + @$(CROSS_COMPILE)size $^ @echo Done. ${OBJDIR}/%.o: %.c