zephyr/lib/posix/Kconfig
Ulf Magnusson 0785b79ebe lib: kconfig: Remove redundant 'default n' properties
Bool symbols implicitly default to 'n'.

A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though.

Also simplify the default on STDOUT_CONSOLE. Defaults can be arbitrary
expressions, not just fixed values.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-06-22 15:12:48 -04:00

90 lines
1.7 KiB
Plaintext

#
# Copyright (c) 2018 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
config PTHREAD_IPC
bool
prompt "POSIX pthread IPC API"
help
This enables a mostly-standards-compliant implementation of
the pthread mutex, condition variable and barrier IPC
mechanisms.
if PTHREAD_IPC
config MAX_PTHREAD_COUNT
int
prompt "Maximum pthread count in POSIX application"
default 5
range 0 255
help
Mention maximum number of threads in POSIX compliant application.
config SEM_VALUE_MAX
int
prompt "Maximum semaphore limit"
default 32767
range 1 32767
help
Maximum semaphore count in POSIX compliant Application.
config MAX_TIMER_COUNT
int
prompt "Maximum timer count in POSIX application"
default 5
range 0 255
help
Mention maximum number of timers in POSIX compliant application.
config POSIX_MQUEUE
bool
prompt "Enable POSIX message queue"
help
This enabled POSIX message queue related APIs.
if POSIX_MQUEUE
config MSG_COUNT_MAX
int
prompt "Maximum number of messages in message queue"
default 16
help
Mention maximum number of messages in message queue in POSIX compliant
application.
config MSG_SIZE_MAX
int
prompt "Maximum size of a message"
default 16
help
Mention maximum size of message in bytes.
config MQUEUE_NAMELEN_MAX
int
prompt "Maximum size of a name length"
default 16
range 2 255
help
Mention length of message queue name in number of characters.
endif
if FILE_SYSTEM
config POSIX_FS
bool
prompt "Enable POSIX file system API support"
help
This enabled POSIX style file system related APIs.
if POSIX_FS
config POSIX_MAX_OPEN_FILES
int
prompt "Maximum number of open file descriptors"
default 16
help
Mention maximum number of open file descriptors.
endif
endif
endif