kernel: kconfig: reorg kernel Kconfig a bit
Move INIT_STACK to debug options and give POSIX layer its own menu. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
ee9bebf7d0
commit
8470b4d365
1 changed files with 16 additions and 15 deletions
|
@ -170,6 +170,17 @@ config APPLICATION_MEMORY
|
|||
including the C library in it.
|
||||
|
||||
menu "Kernel Debugging and Metrics"
|
||||
|
||||
config INIT_STACKS
|
||||
bool
|
||||
prompt "Initialize stack areas"
|
||||
default n
|
||||
help
|
||||
This option instructs the kernel to initialize stack areas with a
|
||||
known value (0xaa) before they are first used, so that the high
|
||||
water mark can be easily determined. This applies to the stack areas
|
||||
for threads.
|
||||
|
||||
config KERNEL_DEBUG
|
||||
bool
|
||||
prompt "Kernel debugging"
|
||||
|
@ -323,7 +334,7 @@ config TIMESLICE_PRIORITY
|
|||
|
||||
config POLL
|
||||
bool
|
||||
prompt "async I/O framework"
|
||||
prompt "Async I/O Framework"
|
||||
default n
|
||||
help
|
||||
Asynchronous notification framework. Enable the k_poll() and
|
||||
|
@ -357,9 +368,6 @@ config NUM_PIPE_ASYNC_MSGS
|
|||
Setting this option to 0 disables support for asynchronous
|
||||
pipe messages.
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Memory Pool Options"
|
||||
config HEAP_MEM_POOL_SIZE
|
||||
int
|
||||
prompt "Heap memory pool size (in bytes)"
|
||||
|
@ -371,7 +379,6 @@ config HEAP_MEM_POOL_SIZE
|
|||
heap memory pool is defined.
|
||||
endmenu
|
||||
|
||||
|
||||
config ARCH_HAS_CUSTOM_SWAP_TO_MAIN
|
||||
bool
|
||||
# hidden
|
||||
|
@ -431,16 +438,6 @@ config SYS_CLOCK_EXISTS
|
|||
help
|
||||
This option specifies that the kernel lacks timer support.
|
||||
|
||||
config INIT_STACKS
|
||||
bool
|
||||
prompt "Initialize stack areas"
|
||||
default n
|
||||
help
|
||||
This option instructs the kernel to initialize stack areas with a
|
||||
known value (0xaa) before they are first used, so that the high
|
||||
water mark can be easily determined. This applies to the stack areas
|
||||
for threads.
|
||||
|
||||
config XIP
|
||||
bool
|
||||
prompt "Execute in place"
|
||||
|
@ -486,6 +483,10 @@ config APPLICATION_INIT_PRIORITY
|
|||
This priority level is for end-user drivers such as sensors and display
|
||||
which have no inward dependencies.
|
||||
|
||||
|
||||
endmenu
|
||||
|
||||
menu "POSIX Layer"
|
||||
config PTHREAD_IPC
|
||||
bool
|
||||
prompt "POSIX pthread IPC API"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue