zephyr/lib/cmsis_rtos_v1/Kconfig
Ulf Magnusson bd6e04411e kconfig: Clean up header comments and make them consistent
Use this short header style in all Kconfig files:

    # <description>

    # <copyright>
    # <license>

    ...

Also change all <description>s from

    # Kconfig[.extension] - Foo-related options

to just

    # Foo-related options

It's clear enough that it's about Kconfig.

The <description> cleanup was done with this command, along with some
manual cleanup (big letter at the start, etc.)

    git ls-files '*Kconfig*' | \
        xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-11-04 17:31:27 -05:00

44 lines
1.1 KiB
Plaintext

# Copyright (c) 2018 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config CMSIS_RTOS_V1
bool "CMSIS RTOS v1 API"
depends on THREAD_CUSTOM_DATA
depends on POLL
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_THREAD_MAX_STACK_SIZE
int "Max stack size threads can be allocated in CMSIS RTOS application"
default 4096 if COVERAGE
default 512
help
Mention max stack size threads can be allocated in CMSIS RTOS application.
config CMSIS_TIMER_MAX_COUNT
int "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 "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 "Maximum semaphore count in CMSIS application"
default 5
range 0 255
help
Mention maximum number of semaphores in CMSIS compliant application.
endif