Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 1395 → Rev 1396

/RC-Expander/branches/MX16s_9Ch_V1.0/_make.bat
0,0 → 1,21
set PATH=D:\Projekte\Atmel_AVR\_Tools\GCC\WinAVR-20100110_V4.3.3\bin;%PATH%
 
del *.elf
del *.hex
 
@rem -> compile and link
avr-gcc -Os -Wall -mmcu=attiny44a -DF_CPU=8000000 -o main.elf main.c
 
@rem -> generate program hex file
avr-objcopy -O ihex main.elf main.hex
 
@rem -> display program size
avr-size main.hex
 
@rem -Os optimization level (optimize for size)
@rem -Wall show all warnings
@rem -mmcu=attiny44a generate code for ATtiny44a
@rem -DF_CPU=8000000 CPU-Frequenz 8.0 MHz
@rem -o output file name
 
pause