mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-09 17:25:00 +00:00
Modified project setup for er-rest-example and rest-example to use
nullrdc and nullmac to reduce the code size. This allows the examples to compile on Tmote Sky again.
This commit is contained in:
@@ -35,11 +35,15 @@
|
|||||||
/* Some platforms have weird includes. */
|
/* Some platforms have weird includes. */
|
||||||
#undef IEEE802154_CONF_PANID
|
#undef IEEE802154_CONF_PANID
|
||||||
|
|
||||||
/* Disabling RDC for demo purposes. Core updates often require more memory. */
|
/* Disabling RDC and CSMA for demo purposes. Core updates often
|
||||||
/* For projects, optimize memory and enable RDC again. */
|
require more memory. */
|
||||||
|
/* For projects, optimize memory and enable RDC and CSMA again. */
|
||||||
#undef NETSTACK_CONF_RDC
|
#undef NETSTACK_CONF_RDC
|
||||||
#define NETSTACK_CONF_RDC nullrdc_driver
|
#define NETSTACK_CONF_RDC nullrdc_driver
|
||||||
|
|
||||||
|
#undef NETSTACK_CONF_MAC
|
||||||
|
#define NETSTACK_CONF_MAC nullmac_driver
|
||||||
|
|
||||||
/* Increase rpl-border-router IP-buffer when using more than 64. */
|
/* Increase rpl-border-router IP-buffer when using more than 64. */
|
||||||
#undef REST_MAX_CHUNK_SIZE
|
#undef REST_MAX_CHUNK_SIZE
|
||||||
#define REST_MAX_CHUNK_SIZE 64
|
#define REST_MAX_CHUNK_SIZE 64
|
||||||
|
@@ -32,6 +32,15 @@
|
|||||||
#ifndef PROJECT_RPL_WEB_CONF_H_
|
#ifndef PROJECT_RPL_WEB_CONF_H_
|
||||||
#define PROJECT_RPL_WEB_CONF_H_
|
#define PROJECT_RPL_WEB_CONF_H_
|
||||||
|
|
||||||
|
/* Disabling RDC and CSMA for demo purposes. Core updates often
|
||||||
|
require more memory. */
|
||||||
|
/* For projects, optimize memory and enable RDC and CSMA again. */
|
||||||
|
#undef NETSTACK_CONF_RDC
|
||||||
|
#define NETSTACK_CONF_RDC nullrdc_driver
|
||||||
|
|
||||||
|
#undef NETSTACK_CONF_MAC
|
||||||
|
#define NETSTACK_CONF_MAC nullmac_driver
|
||||||
|
|
||||||
#ifndef QUEUEBUF_CONF_NUM
|
#ifndef QUEUEBUF_CONF_NUM
|
||||||
#define QUEUEBUF_CONF_NUM 6
|
#define QUEUEBUF_CONF_NUM 6
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user