]> jspc29.x-matter.uni-frankfurt.de Git - avr.git/commitdiff
use avr-size on /d/salt in Makefile
authorPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Fri, 7 Aug 2015 07:03:51 +0000 (09:03 +0200)
committerPhilipp Klaus <klaus@physik.uni-frankfurt.de>
Fri, 7 Aug 2015 07:03:51 +0000 (09:03 +0200)
pt100/Makefile

index 39c1d30242cb680234f97220d3200fb2da5f13a8..0df2e23431cfd4070f7bf7b6022f4e29b8cecf5b 100644 (file)
@@ -115,7 +115,7 @@ AVRDUDE_FLAGS = $(AVRDUDE_BASIC) $(AVRDUDE_NO_VERIFY) $(AVRDUDE_VERBOSE) $(AVRDU
 CC = avr-gcc
 OBJCOPY = avr-objcopy
 OBJDUMP = avr-objdump
-SIZE = avr-size
+SIZE = /d/salt/bin/avr-size
 NM = avr-nm
 AVRDUDE = avrdude
 REMOVE = rm -f
@@ -151,7 +151,7 @@ program: $(TARGET).hex $(TARGET).eep
 
 
 size: 
-       $(SIZE) $(TARGET).elf
+       $(SIZE) -C --mcu=$(MCU)  $(TARGET).elf
 #-C --mcu=$(MCU)  
 # Convert ELF to COFF for use in debugging / simulating in AVR Studio or VMLAB.
 COFFCONVERT=$(OBJCOPY) --debugging \