Kconfig 1.1 KB

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