Saving ROM and RAM

This commit is contained in:
Simon Duquennoy 2016-01-25 13:51:10 +01:00
parent 7855ba20ba
commit 64679642f2
6 changed files with 15 additions and 8 deletions

View file

@ -67,7 +67,7 @@
#ifdef RPL_CONF_SUPPORTED_OFS
#define RPL_SUPPORTED_OFS RPL_CONF_SUPPORTED_OFS
#else /* RPL_CONF_SUPPORTED_OFS */
#define RPL_SUPPORTED_OFS {&rpl_of0, &rpl_mrhof}
#define RPL_SUPPORTED_OFS {&rpl_mrhof}
#endif /* RPL_CONF_SUPPORTED_OFS */
/*

View file

@ -56,4 +56,11 @@
#define RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME 1
/* Save some ROM */
#undef UIP_CONF_TCP
#define UIP_CONF_TCP 0
#undef SICSLOWPAN_CONF_FRAG
#define SICSLOWPAN_CONF_FRAG 0
#endif /* PROJECT_CONF_H_ */

View file

@ -139,7 +139,7 @@
#undef UIP_CONF_TCP
#define UIP_CONF_TCP 0
#undef QUEUEBUF_CONF_NUM
#define QUEUEBUF_CONF_NUM 4
#define QUEUEBUF_CONF_NUM 3
#undef UIP_CONF_MAX_ROUTES
#define UIP_CONF_MAX_ROUTES 8
#undef NBR_TABLE_CONF_MAX_NEIGHBORS

View file

@ -125,8 +125,8 @@
#define UIP_CONF_ROUTER 0
/* configure number of neighbors and routes */
#define NBR_TABLE_CONF_MAX_NEIGHBORS 5
#define UIP_CONF_MAX_ROUTES 5
#define NBR_TABLE_CONF_MAX_NEIGHBORS 4
#define UIP_CONF_MAX_ROUTES 4
#define RPL_CONF_MAX_PARENTS 4
#define RPL_CONF_MAX_DAG_PER_INSTANCE 1

View file

@ -150,10 +150,10 @@
/* configure number of neighbors and routes */
#ifndef NBR_TABLE_CONF_MAX_NEIGHBORS
#define NBR_TABLE_CONF_MAX_NEIGHBORS 20
#define NBR_TABLE_CONF_MAX_NEIGHBORS 16
#endif /* NBR_TABLE_CONF_MAX_NEIGHBORS */
#ifndef UIP_CONF_MAX_ROUTES
#define UIP_CONF_MAX_ROUTES 20
#define UIP_CONF_MAX_ROUTES 16
#endif /* UIP_CONF_MAX_ROUTES */
#define UIP_CONF_ND6_SEND_RA 0

View file

@ -512,10 +512,10 @@ typedef uint32_t rtimer_clock_t;
#define UIP_CONF_ND6_RETRANS_TIMER 10000
#ifndef NBR_TABLE_CONF_MAX_NEIGHBORS
#define NBR_TABLE_CONF_MAX_NEIGHBORS 20
#define NBR_TABLE_CONF_MAX_NEIGHBORS 16
#endif
#ifndef UIP_CONF_MAX_ROUTES
#define UIP_CONF_MAX_ROUTES 20
#define UIP_CONF_MAX_ROUTES 16
#endif
/* uIP */