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-09-28 12:26:22 +08:00
|
|
|
depends on THREAD_CUSTOM_DATA
|
|
|
|
depends on POLL
|
2018-06-05 11:33:12 +08:00
|
|
|
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 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
|
|
|
endif
|