diff options
Diffstat (limited to 'pwm_boot')
| -rw-r--r-- | pwm_boot/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pwm_boot/Makefile b/pwm_boot/Makefile index fb401ea..d316e94 100644 --- a/pwm_boot/Makefile +++ b/pwm_boot/Makefile @@ -56,6 +56,10 @@ HEX_FLASH_FLAGS = -R .eeprom -R .fuse -R .lock -R .signature HEX_EEPROM_FLAGS = -j .eeprom HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load" +## AVR size flags +#AVR_SIZE_FLAGS ?= -C --mcu=${MCU} +AVR_SIZE_FLAGS ?= --format=sysv + ## Include Directories INCLUDES = -I. -I.. @@ -94,7 +98,7 @@ $(TARGET): $(OBJECTS) size: ${TARGET} @echo - @avr-size -C --mcu=${MCU} ${TARGET} + @avr-size ${AVR_SIZE_FLAGS} ${TARGET} ## Clean target .PHONY: clean |
