2018-06-05 11:33:12 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2018 Intel Corporation
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
config CMSIS_RTOS_V1
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "CMSIS RTOS v1 API"
|
2018-06-05 11:33:12 +08:00
|
|
|
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
|
2018-08-02 18:39:39 +08:00
|
|
|
config THREAD_CUSTOM_DATA
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "Thread custom data"
|
2018-08-02 18:39:39 +08:00
|
|
|
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
|
2018-08-14 22:19:20 +08:00
|
|
|
bool "Async I/O Framework"
|
2018-08-02 18:39:39 +08:00
|
|
|
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).
|
|
|
|
|
2018-06-05 11:33:12 +08:00
|
|
|
config CMSIS_MAX_THREAD_COUNT
|
2018-08-14 22:19:20 +08:00
|
|
|
int "Maximum thread count in CMSIS RTOS application"
|
2018-06-05 11:33:12 +08:00
|
|
|
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
|
2018-08-14 22:19:20 +08:00
|
|
|
int "Max stack size threads can be allocated in CMSIS RTOS application"
|
2018-06-05 11:33:12 +08:00
|
|
|
default 512
|
|
|
|
help
|
|
|
|
Mention max stack size threads can be allocated in CMSIS RTOS application.
|
|
|
|
|
2018-06-19 15:03:12 +08:00
|
|
|
config CMSIS_TIMER_MAX_COUNT
|
2018-08-14 22:19:20 +08:00
|
|
|
int "Maximum timer count in CMSIS application"
|
2018-06-19 15:03:12 +08:00
|
|
|
default 5
|
|
|
|
range 0 255
|
|
|
|
help
|
|
|
|
Mention maximum number of timers in CMSIS compliant application.
|
|
|
|
|
2018-07-06 18:14:11 +08:00
|
|
|
config CMSIS_MUTEX_MAX_COUNT
|
2018-08-14 22:19:20 +08:00
|
|
|
int "Maximum mutex count in CMSIS application"
|
2018-07-06 18:14:11 +08:00
|
|
|
default 5
|
|
|
|
range 0 255
|
|
|
|
help
|
|
|
|
Mention maximum number of mutexes in CMSIS compliant application.
|
|
|
|
|
2018-07-09 18:13:28 +08:00
|
|
|
config CMSIS_SEMAPHORE_MAX_COUNT
|
2018-08-14 22:19:20 +08:00
|
|
|
int "Maximum semaphore count in CMSIS application"
|
2018-07-09 18:13:28 +08:00
|
|
|
default 5
|
|
|
|
range 0 255
|
|
|
|
help
|
|
|
|
Mention maximum number of semaphores in CMSIS compliant application.
|
|
|
|
|
2018-06-05 11:33:12 +08:00
|
|
|
config NUM_PREEMPT_PRIORITIES
|
|
|
|
int
|
|
|
|
default 7
|
|
|
|
endif
|