1# Copyright (c) 2018 Intel Corporation 2# SPDX-License-Identifier: Apache-2.0 3 4config CMSIS_RTOS_V1 5 bool "CMSIS RTOS v1 API" 6 depends on THREAD_CUSTOM_DATA 7 depends on POLL 8 depends on THREAD_STACK_INFO 9 select THREAD_ABORT_HOOK 10 help 11 This enables CMSIS RTOS v1 API support. This is an OS-integration 12 layer which allows applications using CMSIS RTOS APIs to build on 13 Zephyr. 14 15if CMSIS_RTOS_V1 16 17config CMSIS_THREAD_MAX_STACK_SIZE 18 int "Max stack size threads can be allocated in CMSIS RTOS application" 19 default 4096 if COVERAGE_GCOV 20 default 512 21 help 22 Mention max stack size threads can be allocated in CMSIS RTOS application. 23 24config CMSIS_TIMER_MAX_COUNT 25 int "Maximum timer count in CMSIS application" 26 default 5 27 range 0 $(UINT8_MAX) 28 help 29 Mention maximum number of timers in CMSIS compliant application. 30 31config CMSIS_MUTEX_MAX_COUNT 32 int "Maximum mutex count in CMSIS application" 33 default 5 34 range 0 $(UINT8_MAX) 35 help 36 Mention maximum number of mutexes in CMSIS compliant application. 37 38config CMSIS_SEMAPHORE_MAX_COUNT 39 int "Maximum semaphore count in CMSIS application" 40 default 5 41 range 0 $(UINT8_MAX) 42 help 43 Mention maximum number of semaphores in CMSIS compliant application. 44 45endif 46