2014-03-12 12:29:33 +01:00
|
|
|
#!/bin/bash
|
2016-02-19 17:32:09 +01:00
|
|
|
# For the ages-old bootloader (before 2014) you want to use
|
|
|
|
# BOOTLOADER_GET_MAC=0x0001f3a0 as parameter to make below.
|
2014-03-12 12:29:33 +01:00
|
|
|
#make clean TARGET=osd-merkur
|
2016-02-19 17:32:09 +01:00
|
|
|
make -j TARGET=osd-merkur
|
2014-03-12 12:29:33 +01:00
|
|
|
#avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur
|
|
|
|
avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex
|
|
|
|
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.eep
|