From: Matthias K. <mko...@us...> - 2011-12-08 13:22:50
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "contiki". The branch, master has been updated via 13140f922f436413b3976688bd7d937e8060106f (commit) from a0f52cea54df37cf394d044f221eb308e8dd9e91 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 13140f922f436413b3976688bd7d937e8060106f Author: Matthias Kovatsch <kov...@in...> Date: Wed Dec 7 20:03:54 2011 +0100 Disabled RDC for CoAP demo purposes due to changing memory requirements of core system. diff --git a/examples/er-rest-example/project-conf.h b/examples/er-rest-example/project-conf.h index 1672795..017f807 100644 --- a/examples/er-rest-example/project-conf.h +++ b/examples/er-rest-example/project-conf.h @@ -34,23 +34,28 @@ #define SICSLOWPAN_CONF_FRAG 1 -/* Save some memory for the sky platform */ +/* Disabling RDC for demo purposes. Core updates often require more memory. */ +/* For projects, optimize memory and enable RDC again. */ +#undef NETSTACK_CONF_RDC +#define NETSTACK_CONF_RDC nullrdc_driver + +/* Save some memory for the sky platform. */ #undef UIP_CONF_DS6_NBR_NBU #define UIP_CONF_DS6_NBR_NBU 10 #undef UIP_CONF_DS6_ROUTE_NBU #define UIP_CONF_DS6_ROUTE_NBU 10 -/* Increase rpl-border-router IP-buffer when using 128 */ +/* Increase rpl-border-router IP-buffer when using 128. */ #ifndef REST_MAX_CHUNK_SIZE #define REST_MAX_CHUNK_SIZE 64 #endif -/* Decrease to 2 if no space left for stack when using 128-byte chunks */ +/* Multiplies with chunk size, be aware of memory constraints. */ #ifndef COAP_MAX_OPEN_TRANSACTIONS #define COAP_MAX_OPEN_TRANSACTIONS 4 #endif -/* Must be <= open transaction number */ +/* Must be <= open transaction number. */ #ifndef COAP_MAX_OBSERVERS #define COAP_MAX_OBSERVERS COAP_MAX_OPEN_TRANSACTIONS #endif ----------------------------------------------------------------------- Summary of changes: examples/er-rest-example/project-conf.h | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) hooks/post-receive -- contiki |