zephyr/lib/cmsis_rtos_v1/Kconfig

79 lines
1.9 KiB
Plaintext
Raw Normal View History

#
# Copyright (c) 2018 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#
config CMSIS_RTOS_V1
bool
prompt "CMSIS RTOS v1 API"
default n
help
This enables CMSIS RTOS v1 API support. This is an OS-integration
layer which allows applications using CMSIS RTOS APIs to build on
Zephyr.
if CMSIS_RTOS_V1
config THREAD_CUSTOM_DATA
bool
prompt "Thread custom data"
default y
help
This option allows each thread to store 32 bits of custom data,
which can be accessed using the k_thread_custom_data_xxx() APIs.
config POLL
bool
prompt "Async I/O Framework"
default y
help
Asynchronous notification framework. Enable the k_poll() and
k_poll_signal() APIs. The former can wait on multiple events
concurrently, which can be either directly triggered or triggered by
the availability of some kernel objects (semaphores and fifos).
config CMSIS_MAX_THREAD_COUNT
int
prompt "Maximum thread count in CMSIS RTOS application"
default 10
range 0 255
help
Mention max number of threads in CMSIS RTOS compliant application.
There's a limitation on the number of threads due to memory
related constraints.
config CMSIS_THREAD_MAX_STACK_SIZE
int
prompt "Max stack size threads can be allocated in CMSIS RTOS application"
default 512
help
Mention max stack size threads can be allocated in CMSIS RTOS application.
config CMSIS_TIMER_MAX_COUNT
int
prompt "Maximum timer count in CMSIS application"
default 5
range 0 255
help
Mention maximum number of timers in CMSIS compliant application.
config CMSIS_MUTEX_MAX_COUNT
int
prompt "Maximum mutex count in CMSIS application"
default 5
range 0 255
help
Mention maximum number of mutexes in CMSIS compliant application.
config CMSIS_SEMAPHORE_MAX_COUNT
int
prompt "Maximum semaphore count in CMSIS application"
default 5
range 0 255
help
Mention maximum number of semaphores in CMSIS compliant application.
config NUM_PREEMPT_PRIORITIES
int
default 7
endif