mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 07:51:55 +00:00
Consistently use config FOO bool/int/hex/string "Prompt text" instead of config FOO bool/int/hex/string prompt "Prompt text" (...and a bunch of other variations that e.g. swapped the order of the type and the 'prompt', or put other properties between them). The shorthand is fully equivalent to using 'prompt'. It saves lines and avoids tricking people into thinking there is some semantic difference. Most of the grunt work was done by a modified version of https://unix.stackexchange.com/questions/26284/ how-can-i-use-sed-to-replace-a-multi-line-string/26290#26290, but some of the rarer variations had to be converted manually. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
80 lines
1.6 KiB
Plaintext
80 lines
1.6 KiB
Plaintext
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
config PTHREAD_IPC
|
|
bool "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 "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 "Maximum semaphore limit"
|
|
default 32767
|
|
range 1 32767
|
|
help
|
|
Maximum semaphore count in POSIX compliant Application.
|
|
|
|
config MAX_TIMER_COUNT
|
|
int "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 "Enable POSIX message queue"
|
|
help
|
|
This enabled POSIX message queue related APIs.
|
|
|
|
if POSIX_MQUEUE
|
|
config MSG_COUNT_MAX
|
|
int "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 "Maximum size of a message"
|
|
default 16
|
|
help
|
|
Mention maximum size of message in bytes.
|
|
|
|
config MQUEUE_NAMELEN_MAX
|
|
int "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 "Enable POSIX file system API support"
|
|
help
|
|
This enabled POSIX style file system related APIs.
|
|
|
|
if POSIX_FS
|
|
config POSIX_MAX_OPEN_FILES
|
|
int "Maximum number of open file descriptors"
|
|
default 16
|
|
help
|
|
Mention maximum number of open file descriptors.
|
|
endif
|
|
endif
|
|
|
|
endif
|