diff --git a/examples/osd/native-border-router/run.sh b/examples/osd/native-border-router/run.sh new file mode 100755 index 000000000..768ad2e82 --- /dev/null +++ b/examples/osd/native-border-router/run.sh @@ -0,0 +1,5 @@ +#!/bin/bash +make clean TARGET=native +make TARGET=native +mv border-router.native border-router + diff --git a/examples/osd/slip-radio/flash.sh b/examples/osd/slip-radio/flash.sh new file mode 100755 index 000000000..633f3f434 --- /dev/null +++ b/examples/osd/slip-radio/flash.sh @@ -0,0 +1,2 @@ +#!/bin/bash +sudo avrdude -pm128rfa1 -c arduino -P/dev/ttyUSB0 -b57600 -e -U flash:w:slip-radio.osd-merkur.hex:a -U eeprom:w:slip-radio.osd-merkur.eep:a diff --git a/examples/osd/slip-radio/run.sh b/examples/osd/slip-radio/run.sh new file mode 100755 index 000000000..056794e5d --- /dev/null +++ b/examples/osd/slip-radio/run.sh @@ -0,0 +1,6 @@ +#!/bin/bash +make clean TARGET=osd-merkur +make TARGET=osd-merkur +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