osd-contiki/examples/osd/rpl-border-router/run-test.sh

7 lines
539 B
Bash
Raw Normal View History

2012-10-30 14:37:05 +01:00
#!/bin/bash
make clean TARGET=atmega128rfa1
make TARGET=atmega128rfa1
avr-size -C --mcu=MCU=atmega128rfa1 rest-server-example.osd-er-lp24
avr-objcopy -j .text -j .data -O ihex border-router.osd-er-lp24 border-router.osd-er-lp24.hex
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex border-router.osd-er-lp24 border-router.osd-er-lp24.eep
#sudo avrdude -pm128rfa1 -c arduino -P/dev/ttyUSB0 -b57600 -e -U flash:w:border-router.osd-er-lp24.hex:a -U eeprom:w:border-router.osd-er-lp24.eep:a