added run.sh and flash.sh
This commit is contained in:
parent
673b167f8f
commit
03b7dc8719
5
examples/osd/native-border-router/run.sh
Executable file
5
examples/osd/native-border-router/run.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
make clean TARGET=native
|
||||||
|
make TARGET=native
|
||||||
|
mv border-router.native border-router
|
||||||
|
|
2
examples/osd/slip-radio/flash.sh
Executable file
2
examples/osd/slip-radio/flash.sh
Executable file
|
@ -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
|
6
examples/osd/slip-radio/run.sh
Executable file
6
examples/osd/slip-radio/run.sh
Executable file
|
@ -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
|
Loading…
Reference in a new issue