net: rpl: Enable timer debugging via Kconfig
User can activate RPL timer debugging by setting CONFIG_NETWORK_IP_STACK_DEBUG_RPL_TIMERS config option. Change-Id: I66079640e4135a0f85620cc4eca04612eee1a890 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
d19f08f104
commit
9641a0fed0
2 changed files with 10 additions and 1 deletions
|
@ -150,6 +150,13 @@ config NETWORK_IP_STACK_DEBUG_RPL_OF
|
||||||
help
|
help
|
||||||
Enables RPL Objective Function related debug messages
|
Enables RPL Objective Function related debug messages
|
||||||
|
|
||||||
|
config NETWORK_IP_STACK_DEBUG_RPL_TIMERS
|
||||||
|
bool "Debug RPL timer functionality"
|
||||||
|
depends on NETWORKING_WITH_RPL
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
Enables RPL timers related debug messages
|
||||||
|
|
||||||
config NETWORK_IP_STACK_DEBUG_IPV4
|
config NETWORK_IP_STACK_DEBUG_IPV4
|
||||||
bool "Debug core IPv4"
|
bool "Debug core IPv4"
|
||||||
depends on NETWORKING_WITH_IPV4
|
depends on NETWORKING_WITH_IPV4
|
||||||
|
|
|
@ -47,7 +47,9 @@
|
||||||
#include "lib/random.h"
|
#include "lib/random.h"
|
||||||
#include "sys/ctimer.h"
|
#include "sys/ctimer.h"
|
||||||
|
|
||||||
#define DEBUG DEBUG_NONE
|
#ifdef CONFIG_NETWORK_IP_STACK_DEBUG_RPL_TIMERS
|
||||||
|
#define DEBUG 1
|
||||||
|
#endif
|
||||||
#include "contiki/ip/uip-debug.h"
|
#include "contiki/ip/uip-debug.h"
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue