mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-30 11:24:12 +01:00
15ae9ab1b0
including the script which sets the correct fuses currently working only on mac os x but easy to port to windows/linux
7 lines
462 B
Batchfile
Executable File
7 lines
462 B
Batchfile
Executable File
avr-gcc -g -Wall -O3 -mmcu=atmega8 -DCRUMB8 -c -o ATmegaBOOT.o ATmegaBOOT.c
|
|
avr-gcc -g -Wall -O3 -mmcu=atmega8 -DCRUMB8 -Wl,-Map,ATmegaBOOT.map,--section-start=.text=0x1800 -o ATmegaBOOT.elf ATmegaBOOT.o
|
|
avr-objdump -S -h ATmegaBOOT.elf > ATmegaBOOT.lst
|
|
avr-objcopy -j .text -j .data -O ihex ATmegaBOOT.elf ATmegaBOOT.hex
|
|
avr-objcopy -j .text -j .data -O binary ATmegaBOOT.elf ATmegaBOOT.bin
|
|
avr-objcopy -j .text -j .data -O srec ATmegaBOOT.elf ATmegaBOOT.srec
|