Mercurial > pihelp
comparison Makefile @ 34:b210df11f968
build atmegaboot with -Os
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 27 Jun 2013 12:03:40 +0800 |
parents | a3de303afabf |
children | cce426bb6d3e |
comparison
equal
deleted
inserted
replaced
33:a3de303afabf | 34:b210df11f968 |
---|---|
101 flash: all | 101 flash: all |
102 $(AVRDUDE) -U flash:w:main.hex:i | 102 $(AVRDUDE) -U flash:w:main.hex:i |
103 | 103 |
104 combined.hex: main.hex $(BOOTLOADER_HEX) | 104 combined.hex: main.hex $(BOOTLOADER_HEX) |
105 srec_cat main.hex -I $(BOOTLOADER_HEX) -I -o $@ -I | 105 srec_cat main.hex -I $(BOOTLOADER_HEX) -I -o $@ -I |
106 avr-objdump -h $@ | |
106 | 107 |
107 combo: combined.hex | 108 combo: combined.hex |
108 $(AVRDUDE) -U flash:w:combined.hex:i | 109 $(AVRDUDE) -U flash:w:combined.hex:i |
109 | 110 |
110 checkprog: | 111 checkprog: |