Use nullmac less

This commit is contained in:
Simon Duquennoy 2017-05-16 18:39:49 +02:00
parent 3e07d4a060
commit e8efe98c71
3 changed files with 1 additions and 13 deletions

View File

@ -26,7 +26,7 @@
<identifier>wismote1</identifier>
<description>Wismote Border Router #border-router</description>
<source EXPORT="discard">[CONTIKI_DIR]/examples/ipv6/rpl-border-router/border-router.c</source>
<commands EXPORT="discard">make border-router.wismote TARGET=wismote DEFINES=NETSTACK_RDC=nullrdc_driver,NETSTACK_MAC=nullmac_driver</commands>
<commands EXPORT="discard">make border-router.wismote TARGET=wismote</commands>
<firmware EXPORT="copy">[CONTIKI_DIR]/examples/ipv6/rpl-border-router/border-router.wismote</firmware>
<moteinterface>org.contikios.cooja.interfaces.Position</moteinterface>
<moteinterface>org.contikios.cooja.interfaces.RimeAddress</moteinterface>

View File

@ -42,15 +42,6 @@
#define IPSO_TEMPERATURE example_ipso_temperature
/**
* Disabling RDC and CSMA to save memory on constrained devices.
*/
#undef NETSTACK_CONF_RDC
#define NETSTACK_CONF_RDC nullrdc_driver
#undef NETSTACK_CONF_MAC
#define NETSTACK_CONF_MAC nullmac_driver
/* Disabling TCP on CoAP nodes. */
#undef UIP_CONF_TCP
#define UIP_CONF_TCP 0

View File

@ -67,9 +67,6 @@
#undef UIP_CONF_TCP
#define UIP_CONF_TCP 0
#undef NETSTACK_CONF_MAC
#define NETSTACK_CONF_MAC nullmac_driver
/* Increase rpl-border-router IP-buffer when using more than 64. */
#undef REST_MAX_CHUNK_SIZE
#define REST_MAX_CHUNK_SIZE 48