Debian Codegraph @

examples/compile32.sh

raw
1 # Compile for 32, generate .hex, .map and .lst files
2 avr-gcc -Wall -O2 -mmcu=atmega32 -Wl,-Map,$1.map -o $1 $1.c
3 avr-objcopy -j .text -j .data -O ihex $1 $1_32.hex
4 #avr-objdump -S $1 > $1.lst
5