Disabled RDC for CoAP demo purposes due to changing memory requirements of core system.
This commit is contained in:
parent
a0f52cea54
commit
13140f922f
@ -34,23 +34,28 @@
|
|||||||
|
|
||||||
#define SICSLOWPAN_CONF_FRAG 1
|
#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
|
#undef UIP_CONF_DS6_NBR_NBU
|
||||||
#define UIP_CONF_DS6_NBR_NBU 10
|
#define UIP_CONF_DS6_NBR_NBU 10
|
||||||
#undef UIP_CONF_DS6_ROUTE_NBU
|
#undef UIP_CONF_DS6_ROUTE_NBU
|
||||||
#define UIP_CONF_DS6_ROUTE_NBU 10
|
#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
|
#ifndef REST_MAX_CHUNK_SIZE
|
||||||
#define REST_MAX_CHUNK_SIZE 64
|
#define REST_MAX_CHUNK_SIZE 64
|
||||||
#endif
|
#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
|
#ifndef COAP_MAX_OPEN_TRANSACTIONS
|
||||||
#define COAP_MAX_OPEN_TRANSACTIONS 4
|
#define COAP_MAX_OPEN_TRANSACTIONS 4
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Must be <= open transaction number */
|
/* Must be <= open transaction number. */
|
||||||
#ifndef COAP_MAX_OBSERVERS
|
#ifndef COAP_MAX_OBSERVERS
|
||||||
#define COAP_MAX_OBSERVERS COAP_MAX_OPEN_TRANSACTIONS
|
#define COAP_MAX_OBSERVERS COAP_MAX_OPEN_TRANSACTIONS
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user