2013-04-10 07:32:45 +02:00
|
|
|
#!/bin/bash
|
2014-05-13 16:56:59 +02:00
|
|
|
# For the new bootloader (using a jump-table) you want to use
|
|
|
|
# BOOTLOADER_GET_MAC=0x0001ff80 (which is the current default)
|
2013-04-10 07:32:45 +02:00
|
|
|
make clean TARGET=osd-merkur
|
2014-05-13 16:56:59 +02:00
|
|
|
make TARGET=osd-merkur BOOTLOADER_GET_MAC=0x0001f3a0
|
2013-04-10 07:32:45 +02:00
|
|
|
avr-size slip-radio.osd-merkur
|
|
|
|
avr-objcopy -j .text -j .data -O ihex slip-radio.osd-merkur slip-radio.osd-merkur.hex
|
|
|
|
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex slip-radio.osd-merkur slip-radio.osd-merkur.eep
|