Anas Nashif | 37b1d1e | 2016-05-25 09:03:33 -0400 | [diff] [blame] | 1 | # Copyright (c) 2016 Intel Corporation |
Anas Nashif | 594992f | 2017-01-20 20:22:01 -0500 | [diff] [blame] | 2 | # SPDX-License-Identifier: Apache-2.0 |
Anas Nashif | 37b1d1e | 2016-05-25 09:03:33 -0400 | [diff] [blame] | 3 | |
Stephanos Ioannidis | ad05b79 | 2019-10-17 09:37:38 +0900 | [diff] [blame] | 4 | config HAS_CMSIS_CORE |
Anas Nashif | 37b1d1e | 2016-05-25 09:03:33 -0400 | [diff] [blame] | 5 | bool |
Stephanos Ioannidis | f40fc4a | 2020-04-09 00:32:42 +0900 | [diff] [blame] | 6 | select HAS_CMSIS_CORE_A if CPU_CORTEX_A |
Stephanos Ioannidis | 4d30d6b | 2019-10-17 14:38:21 +0900 | [diff] [blame] | 7 | select HAS_CMSIS_CORE_R if CPU_CORTEX_R |
Stephanos Ioannidis | f40fc4a | 2020-04-09 00:32:42 +0900 | [diff] [blame] | 8 | select HAS_CMSIS_CORE_M if CPU_CORTEX_M |
Stephanos Ioannidis | ad05b79 | 2019-10-17 09:37:38 +0900 | [diff] [blame] | 9 | |
| 10 | if HAS_CMSIS_CORE |
| 11 | |
Stephanos Ioannidis | f40fc4a | 2020-04-09 00:32:42 +0900 | [diff] [blame] | 12 | config HAS_CMSIS_CORE_A |
Stephanos Ioannidis | ad05b79 | 2019-10-17 09:37:38 +0900 | [diff] [blame] | 13 | bool |
| 14 | |
Stephanos Ioannidis | 4d30d6b | 2019-10-17 14:38:21 +0900 | [diff] [blame] | 15 | config HAS_CMSIS_CORE_R |
| 16 | bool |
| 17 | |
Stephanos Ioannidis | f40fc4a | 2020-04-09 00:32:42 +0900 | [diff] [blame] | 18 | config HAS_CMSIS_CORE_M |
| 19 | bool |
| 20 | |
Stephanos Ioannidis | ad05b79 | 2019-10-17 09:37:38 +0900 | [diff] [blame] | 21 | endif |
Stephanos Ioannidis | b0041fc | 2020-04-13 10:38:14 +0900 | [diff] [blame] | 22 | |
| 23 | menuconfig CMSIS_DSP |
| 24 | bool "CMSIS-DSP Library Support" |
Shlomi Vaknin | cca4e89 | 2021-01-21 00:32:52 +0200 | [diff] [blame] | 25 | depends on (CPU_CORTEX && NEWLIB_LIBC) || ARCH_POSIX |
Stephanos Ioannidis | b0041fc | 2020-04-13 10:38:14 +0900 | [diff] [blame] | 26 | |
| 27 | if CMSIS_DSP |
| 28 | source "modules/Kconfig.cmsis_dsp" |
| 29 | endif |