bugfix compile and flash
This commit is contained in:
parent
f6fa014a1f
commit
cb41c216e9
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
sudo avrdude -pm128rfa1 -c arduino -P/dev/ttyUSB0 -b57600 -e -U flash:w:er-example-server.osd-merkur.hex:a -U eeprom:w:er-example-server.osd-merkur.eep:a
|
sudo avrdude -pm128rfa1 -c arduino -P/dev/ttyUSB0 -b57600 -e -U flash:w:border-router.osd-merkur.hex:a -U eeprom:w:border-router.osd-merkur.eep:a
|
||||||
|
|
|
@ -41,6 +41,9 @@
|
||||||
#undef UIP_CONF_DS6_ROUTE_NBU
|
#undef UIP_CONF_DS6_ROUTE_NBU
|
||||||
#define UIP_CONF_DS6_ROUTE_NBU 50
|
#define UIP_CONF_DS6_ROUTE_NBU 50
|
||||||
|
|
||||||
|
#undef UIP_CONF_TCP
|
||||||
|
#define UIP_CONF_TCP 1
|
||||||
|
|
||||||
#ifndef QUEUEBUF_CONF_NUM
|
#ifndef QUEUEBUF_CONF_NUM
|
||||||
#define QUEUEBUF_CONF_NUM 4
|
#define QUEUEBUF_CONF_NUM 4
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
make clean TARGET=osd-merkur
|
make clean TARGET=osd-merkur
|
||||||
make TARGET=osd-merkur
|
make TARGET=osd-merkur
|
||||||
avr-size -C --mcu=MCU=atmega128rfa1 er-example-server.osd-merkur
|
avr-size -C --mcu=MCU=atmega128rfa1 border-router.osd-merkur
|
||||||
avr-objcopy -j .text -j .data -O ihex er-example-server.osd-merkur er-example-server.osd-merkur.hex
|
avr-objcopy -j .text -j .data -O ihex border-router.osd-merkur border-router.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
|
avr-objcopy -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 -O ihex border-router.osd-merkur border-router.osd-merkur.eep
|
||||||
|
|
Loading…
Reference in a new issue