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:
Tomasz Bursztyka 2016-02-23 17:11:44 +01:00 committed by Gerrit Code Review
commit ee587244f4
11 changed files with 138 additions and 18 deletions

View file

@ -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