1# Copyright (c) 2016 Intel Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4config ZEPHYR_CMSIS_MODULE
5	bool
6
7config HAS_CMSIS_CORE
8	bool
9	select HAS_CMSIS_CORE_A if CPU_AARCH32_CORTEX_A
10	select HAS_CMSIS_CORE_R if CPU_AARCH32_CORTEX_R
11	select HAS_CMSIS_CORE_M if CPU_CORTEX_M
12
13if HAS_CMSIS_CORE
14
15config HAS_CMSIS_CORE_A
16	bool
17
18config HAS_CMSIS_CORE_R
19	bool
20
21config HAS_CMSIS_CORE_M
22	bool
23
24config CMSIS_M_CHECK_DEVICE_DEFINES
25	bool "Check device defines"
26	default n
27	depends on HAS_CMSIS_CORE_M
28	help
29	  This options enables the validation of CMSIS configuration flags.
30
31config CMSIS_CORE_HAS_SYSTEM_CORE_CLOCK
32	bool
33	help
34	  Enable this option if CMSIS SystemCoreClock symbols is available.
35
36endif
37