Saving ROM and RAM
This commit is contained in:
parent
7855ba20ba
commit
64679642f2
|
@ -67,7 +67,7 @@
|
||||||
#ifdef RPL_CONF_SUPPORTED_OFS
|
#ifdef RPL_CONF_SUPPORTED_OFS
|
||||||
#define RPL_SUPPORTED_OFS RPL_CONF_SUPPORTED_OFS
|
#define RPL_SUPPORTED_OFS RPL_CONF_SUPPORTED_OFS
|
||||||
#else /* 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 */
|
#endif /* RPL_CONF_SUPPORTED_OFS */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -56,4 +56,11 @@
|
||||||
|
|
||||||
#define RPL_CONF_DEFAULT_ROUTE_INFINITE_LIFETIME 1
|
#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_ */
|
#endif /* PROJECT_CONF_H_ */
|
||||||
|
|
|
@ -139,7 +139,7 @@
|
||||||
#undef UIP_CONF_TCP
|
#undef UIP_CONF_TCP
|
||||||
#define UIP_CONF_TCP 0
|
#define UIP_CONF_TCP 0
|
||||||
#undef QUEUEBUF_CONF_NUM
|
#undef QUEUEBUF_CONF_NUM
|
||||||
#define QUEUEBUF_CONF_NUM 4
|
#define QUEUEBUF_CONF_NUM 3
|
||||||
#undef UIP_CONF_MAX_ROUTES
|
#undef UIP_CONF_MAX_ROUTES
|
||||||
#define UIP_CONF_MAX_ROUTES 8
|
#define UIP_CONF_MAX_ROUTES 8
|
||||||
#undef NBR_TABLE_CONF_MAX_NEIGHBORS
|
#undef NBR_TABLE_CONF_MAX_NEIGHBORS
|
||||||
|
|
|
@ -125,8 +125,8 @@
|
||||||
#define UIP_CONF_ROUTER 0
|
#define UIP_CONF_ROUTER 0
|
||||||
|
|
||||||
/* configure number of neighbors and routes */
|
/* configure number of neighbors and routes */
|
||||||
#define NBR_TABLE_CONF_MAX_NEIGHBORS 5
|
#define NBR_TABLE_CONF_MAX_NEIGHBORS 4
|
||||||
#define UIP_CONF_MAX_ROUTES 5
|
#define UIP_CONF_MAX_ROUTES 4
|
||||||
|
|
||||||
#define RPL_CONF_MAX_PARENTS 4
|
#define RPL_CONF_MAX_PARENTS 4
|
||||||
#define RPL_CONF_MAX_DAG_PER_INSTANCE 1
|
#define RPL_CONF_MAX_DAG_PER_INSTANCE 1
|
||||||
|
|
|
@ -150,10 +150,10 @@
|
||||||
|
|
||||||
/* configure number of neighbors and routes */
|
/* configure number of neighbors and routes */
|
||||||
#ifndef NBR_TABLE_CONF_MAX_NEIGHBORS
|
#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 */
|
#endif /* NBR_TABLE_CONF_MAX_NEIGHBORS */
|
||||||
#ifndef UIP_CONF_MAX_ROUTES
|
#ifndef UIP_CONF_MAX_ROUTES
|
||||||
#define UIP_CONF_MAX_ROUTES 20
|
#define UIP_CONF_MAX_ROUTES 16
|
||||||
#endif /* UIP_CONF_MAX_ROUTES */
|
#endif /* UIP_CONF_MAX_ROUTES */
|
||||||
|
|
||||||
#define UIP_CONF_ND6_SEND_RA 0
|
#define UIP_CONF_ND6_SEND_RA 0
|
||||||
|
|
|
@ -512,10 +512,10 @@ typedef uint32_t rtimer_clock_t;
|
||||||
#define UIP_CONF_ND6_RETRANS_TIMER 10000
|
#define UIP_CONF_ND6_RETRANS_TIMER 10000
|
||||||
|
|
||||||
#ifndef NBR_TABLE_CONF_MAX_NEIGHBORS
|
#ifndef NBR_TABLE_CONF_MAX_NEIGHBORS
|
||||||
#define NBR_TABLE_CONF_MAX_NEIGHBORS 20
|
#define NBR_TABLE_CONF_MAX_NEIGHBORS 16
|
||||||
#endif
|
#endif
|
||||||
#ifndef UIP_CONF_MAX_ROUTES
|
#ifndef UIP_CONF_MAX_ROUTES
|
||||||
#define UIP_CONF_MAX_ROUTES 20
|
#define UIP_CONF_MAX_ROUTES 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* uIP */
|
/* uIP */
|
||||||
|
|
Loading…
Reference in a new issue