File: compile32.sh

package info (click to toggle)
kuttypy 2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 37,896 kB
  • sloc: python: 58,651; javascript: 14,686; xml: 5,767; ansic: 2,716; makefile: 453; asm: 254; sh: 48
file content (5 lines) | stat: -rwxr-xr-x 194 bytes parent folder | download | duplicates (2)
1
2
3
4
5
# Compile for 32, generate .hex, .map and .lst files
avr-gcc  -Wall -O2 -mmcu=atmega32 -Wl,-Map,$1.map -o $1 $1.c
avr-objcopy -j .text -j .data -O ihex $1 $1_32.hex
#avr-objdump -S $1 > $1.lst