blob: 1ebdddc07ba3d7ff138cc4c47caced95a3b07fb4 [file] [log] [blame]
Anas Nashif37b1d1e2016-05-25 09:03:33 -04001# Copyright (c) 2016 Intel Corporation
Anas Nashif594992f2017-01-20 20:22:01 -05002# SPDX-License-Identifier: Apache-2.0
Anas Nashif37b1d1e2016-05-25 09:03:33 -04003
Stephanos Ioannidisad05b792019-10-17 09:37:38 +09004config HAS_CMSIS_CORE
Anas Nashif37b1d1e2016-05-25 09:03:33 -04005 bool
Stephanos Ioannidisf40fc4a2020-04-09 00:32:42 +09006 select HAS_CMSIS_CORE_A if CPU_CORTEX_A
Stephanos Ioannidis4d30d6b2019-10-17 14:38:21 +09007 select HAS_CMSIS_CORE_R if CPU_CORTEX_R
Stephanos Ioannidisf40fc4a2020-04-09 00:32:42 +09008 select HAS_CMSIS_CORE_M if CPU_CORTEX_M
Stephanos Ioannidisad05b792019-10-17 09:37:38 +09009
10if HAS_CMSIS_CORE
11
Stephanos Ioannidisf40fc4a2020-04-09 00:32:42 +090012config HAS_CMSIS_CORE_A
Stephanos Ioannidisad05b792019-10-17 09:37:38 +090013 bool
14
Stephanos Ioannidis4d30d6b2019-10-17 14:38:21 +090015config HAS_CMSIS_CORE_R
16 bool
17
Stephanos Ioannidisf40fc4a2020-04-09 00:32:42 +090018config HAS_CMSIS_CORE_M
19 bool
20
Stephanos Ioannidisad05b792019-10-17 09:37:38 +090021endif
Stephanos Ioannidisb0041fc2020-04-13 10:38:14 +090022
23menuconfig CMSIS_DSP
24 bool "CMSIS-DSP Library Support"
Shlomi Vaknincca4e892021-01-21 00:32:52 +020025 depends on (CPU_CORTEX && NEWLIB_LIBC) || ARCH_POSIX
Stephanos Ioannidisb0041fc2020-04-13 10:38:14 +090026
27if CMSIS_DSP
28source "modules/Kconfig.cmsis_dsp"
29endif