A default configuraion file for Contiki
The contiki-default-conf.h file is intended as a safe fallback for a number of configuration options in Contiki, to avoid putting too much in the individual contiki-conf.h files.
This commit is contained in:
parent
f5a1ffa90d
commit
2d50a40643
4 changed files with 249 additions and 7 deletions
|
@ -59,13 +59,15 @@ void uip_ds6_notification_add(struct uip_ds6_notification *n,
|
|||
|
||||
|
||||
/* Routing table */
|
||||
#define UIP_DS6_ROUTE_NBS 0
|
||||
#ifndef UIP_CONF_DS6_ROUTE_NBU
|
||||
#define UIP_DS6_ROUTE_NBU 4
|
||||
#else
|
||||
#define UIP_DS6_ROUTE_NBU UIP_CONF_DS6_ROUTE_NBU
|
||||
#endif
|
||||
#define UIP_DS6_ROUTE_NB UIP_DS6_ROUTE_NBS + UIP_DS6_ROUTE_NBU
|
||||
#ifndef UIP_CONF_MAX_ROUTES
|
||||
#ifdef UIP_CONF_DS6_ROUTE_NBU
|
||||
#define UIP_DS6_ROUTE_NB UIP_CONF_DS6_ROUTE_NBU
|
||||
#else /* UIP_CONF_DS6_ROUTE_NBU */
|
||||
#define UIP_DS6_ROUTE_NB 4
|
||||
#endif /* UIP_CONF_DS6_ROUTE_NBU */
|
||||
#else /* UIP_CONF_MAX_ROUTES */
|
||||
#define UIP_DS6_ROUTE_NB UIP_CONF_MAX_ROUTES
|
||||
#endif /* UIP_CONF_MAX_ROUTES */
|
||||
|
||||
/** \brief define some additional RPL related route state and
|
||||
* neighbor callback for RPL - if not a DS6_ROUTE_STATE is already set */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue