From 26b7b25937759a7d2ea369b54079c2fabb9271a5 Mon Sep 17 00:00:00 2001 From: cpldcpu Date: Tue, 18 Feb 2014 14:44:30 +0100 Subject: firmware: clarify size output --- firmware/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'firmware') diff --git a/firmware/Makefile b/firmware/Makefile index 2e8eca8..3cf8f54 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -199,7 +199,10 @@ main.bin: $(OBJECTS) main.hex: main.bin @rm -f main.hex main.eep.hex @avr-objcopy -j .text -j .data -O ihex main.bin main.hex - @avr-size main.bin + @echo Size of sections: + @avr-size main.bin + @echo Size of binary hexfile. Use the "data" size to calculate the bootloader address: + @avr-size main.hex upgrade: main.bin avr-objcopy -O binary main.bin main.raw -- cgit v1.2.3