net: ip: Enable Kconfig based debug options for the IP stack
It will be possible to enable/disable debug messages from IP stack from make menuconfig, instead of modifying the relevant files to do so. Change-Id: I065f10bcc2bc3579081b2fcdb1c47e12d148e2f1 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
0abd5dd7d5
commit
ee587244f4
11 changed files with 138 additions and 18 deletions
|
@ -86,7 +86,9 @@
|
|||
/* For Debug, logging, statistics */
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
#define DEBUG DEBUG_NONE
|
||||
#ifdef CONFIG_NETWORK_IP_STACK_DEBUG_IPV6
|
||||
#define DEBUG 1
|
||||
#endif
|
||||
#include "contiki/ip/uip-debug.h"
|
||||
|
||||
#if UIP_CONF_IPV6_RPL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue