summaryrefslogtreecommitdiff
path: root/pwm_appl/Makefile
diff options
context:
space:
mode:
authorAndreas Auras <yak54@gmx.net>2010-11-12 13:58:23 +0100
committerAndreas Auras <yak54@gmx.net>2010-11-12 13:58:23 +0100
commita9fd3ff0b95b45ea419c701448270a061b28c570 (patch)
tree5b796fa71b7925f19b0bdd2599ae8f0a03c5d59b /pwm_appl/Makefile
parent832c1b23892a6c12b826c58decce805fdae1affe (diff)
downloaddf10ch-atmolight-controller-a9fd3ff0b95b45ea419c701448270a061b28c570.tar.gz
df10ch-atmolight-controller-a9fd3ff0b95b45ea419c701448270a061b28c570.tar.bz2
Migrate avr-size call to newer avr suite
Diffstat (limited to 'pwm_appl/Makefile')
-rw-r--r--pwm_appl/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/pwm_appl/Makefile b/pwm_appl/Makefile
index 0a23034..bbbb5ad 100644
--- a/pwm_appl/Makefile
+++ b/pwm_appl/Makefile
@@ -57,6 +57,10 @@ HEX_EEPROM_FLAGS = -j .eeprom
HEX_EEPROM_FLAGS += --set-section-flags=.eeprom="alloc,load"
HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0x01 --no-change-warnings
+## AVR size flags
+#AVR_SIZE_FLAGS ?= -C --mcu=${MCU}
+AVR_SIZE_FLAGS ?= --format=sysv
+
## Include Directories
INCLUDES = -I. -I..
@@ -98,7 +102,7 @@ $(TARGET): $(OBJECTS)
size: ${TARGET}
@echo
- @avr-size -C --mcu=${MCU} ${TARGET}
+ @avr-size ${AVR_SIZE_FLAGS} ${TARGET}
## Clean target
.PHONY: clean