kernel: remove v2 usage and rename KERNEL_V2_DEBUG

Change-Id: I6b3f07714322ad79aeec2342621a4cddfe84cb2c
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2016-11-18 10:53:59 -05:00 committed by Anas Nashif
commit 61f4b2419c
2 changed files with 11 additions and 6 deletions

View file

@ -37,7 +37,8 @@
extern "C" {
#endif
#ifdef CONFIG_KERNEL_V2_DEBUG
#ifdef CONFIG_KERNEL_DEBUG
#include <misc/printk.h>
#define K_DEBUG(fmt, ...) printk("[%s] " fmt, __func__, ##__VA_ARGS__)
#else
#define K_DEBUG(fmt, ...)

View file

@ -18,15 +18,19 @@
menu "Unified Kernel Options"
config KERNEL_V2_DEBUG
config KERNEL_DEBUG
bool
prompt "Kernel V2 debug help"
prompt "Kernel debugging"
default n
select INIT_STACKS
help
Enable kernel debugging.
Note that debugging the kernel internals can be very verbose.
config NUM_COOP_PRIORITIES
int
prompt "Kernel V2: number of coop priorities"
prompt "Number of coop priorities"
default 16
help
Number of cooperative priorities configured in the system. Gives access
@ -46,7 +50,7 @@ config NUM_COOP_PRIORITIES
config NUM_PREEMPT_PRIORITIES
int
prompt "Kernel V2: number of preemptible priorities"
prompt "Number of preemptible priorities"
default 15
help
Number of preemptible priorities available in the system. Gives access
@ -62,7 +66,7 @@ config NUM_PREEMPT_PRIORITIES
config PRIORITY_CEILING
int
prompt "Kernel V2: priority inheritance ceiling"
prompt "Priority inheritance ceiling"
default 0
config BOOT_BANNER