1# Copyright (c) 2016 Intel Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4config HAS_CMSIS_CORE
5	bool
6	select HAS_CMSIS_CORE_A if CPU_AARCH32_CORTEX_A
7	select HAS_CMSIS_CORE_R if CPU_AARCH32_CORTEX_R
8	select HAS_CMSIS_CORE_M if CPU_CORTEX_M
9
10if HAS_CMSIS_CORE
11
12config HAS_CMSIS_CORE_A
13	bool
14
15config HAS_CMSIS_CORE_R
16	bool
17
18config HAS_CMSIS_CORE_M
19	bool
20
21endif
22
23menuconfig CMSIS_DSP
24	bool "CMSIS-DSP Library Support"
25	select REQUIRES_FULL_LIBC if !ARCH_POSIX
26
27if CMSIS_DSP
28source "modules/Kconfig.cmsis_dsp"
29endif
30
31menuconfig CMSIS_NN
32	bool "CMSIS-NN Library Support"
33	depends on CPU_CORTEX_M
34	select CMSIS_DSP
35
36if CMSIS_NN
37source "modules/Kconfig.cmsis_nn"
38endif
39