From 538bb6075c58b431d10ea543f3872e9ac6872cb7 Mon Sep 17 00:00:00 2001 From: harald42 Date: Tue, 15 Jan 2013 16:27:07 +0100 Subject: [PATCH] setup 15 NBR 50 DS6-Route --- examples/osd/rpl-border-router/README | 8 ++------ examples/osd/rpl-border-router/project-conf.h | 6 ++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/examples/osd/rpl-border-router/README b/examples/osd/rpl-border-router/README index 71d67edac..08207e885 100644 --- a/examples/osd/rpl-border-router/README +++ b/examples/osd/rpl-border-router/README @@ -4,10 +4,6 @@ www.osdomotics.com Plattform: osd-er-lp24 -make clean TARGET=osd-er-lp24 -make TARGET=osd-er-lp24 -avr-size -C --mcu=MCU=atmega128rfa1 border-router.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 +./run.sh -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 \ No newline at end of file +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 diff --git a/examples/osd/rpl-border-router/project-conf.h b/examples/osd/rpl-border-router/project-conf.h index e928a759f..d393e34a8 100644 --- a/examples/osd/rpl-border-router/project-conf.h +++ b/examples/osd/rpl-border-router/project-conf.h @@ -35,6 +35,12 @@ #define UIP_FALLBACK_INTERFACE rpl_interface #endif +/* Save some memory for the sky platform. */ +#undef UIP_CONF_DS6_NBR_NBU +#define UIP_CONF_DS6_NBR_NBU 15 +#undef UIP_CONF_DS6_ROUTE_NBU +#define UIP_CONF_DS6_ROUTE_NBU 50 + #ifndef QUEUEBUF_CONF_NUM #define QUEUEBUF_CONF_NUM 4 #endif