2016-05-25 21:03:33 +08:00
|
|
|
# Copyright (c) 2016 Intel Corporation
|
2017-01-21 09:22:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-05-25 21:03:33 +08:00
|
|
|
|
2019-10-17 08:37:38 +08:00
|
|
|
config HAS_CMSIS_CORE
|
2016-05-25 21:03:33 +08:00
|
|
|
bool
|
2021-09-02 23:15:30 +08:00
|
|
|
select HAS_CMSIS_CORE_A if CPU_AARCH32_CORTEX_A
|
2021-10-30 07:24:17 +08:00
|
|
|
select HAS_CMSIS_CORE_R if CPU_AARCH32_CORTEX_R
|
2020-04-08 23:32:42 +08:00
|
|
|
select HAS_CMSIS_CORE_M if CPU_CORTEX_M
|
2019-10-17 08:37:38 +08:00
|
|
|
|
|
|
|
if HAS_CMSIS_CORE
|
|
|
|
|
2020-04-08 23:32:42 +08:00
|
|
|
config HAS_CMSIS_CORE_A
|
2019-10-17 08:37:38 +08:00
|
|
|
bool
|
|
|
|
|
2019-10-17 13:38:21 +08:00
|
|
|
config HAS_CMSIS_CORE_R
|
|
|
|
bool
|
|
|
|
|
2020-04-08 23:32:42 +08:00
|
|
|
config HAS_CMSIS_CORE_M
|
|
|
|
bool
|
|
|
|
|
2019-10-17 08:37:38 +08:00
|
|
|
endif
|
2020-04-13 09:38:14 +08:00
|
|
|
|
|
|
|
menuconfig CMSIS_DSP
|
|
|
|
bool "CMSIS-DSP Library Support"
|
2021-01-21 06:32:52 +08:00
|
|
|
depends on (CPU_CORTEX && NEWLIB_LIBC) || ARCH_POSIX
|
2020-04-13 09:38:14 +08:00
|
|
|
|
|
|
|
if CMSIS_DSP
|
|
|
|
source "modules/Kconfig.cmsis_dsp"
|
|
|
|
endif
|
2021-12-21 11:52:47 +08:00
|
|
|
|
|
|
|
menuconfig CMSIS_NN
|
|
|
|
bool "CMSIS-NN Library Support"
|
2022-05-05 00:25:21 +08:00
|
|
|
depends on CPU_CORTEX_M
|
|
|
|
select CMSIS_DSP
|
2021-12-21 11:52:47 +08:00
|
|
|
|
|
|
|
if CMSIS_NN
|
|
|
|
source "modules/Kconfig.cmsis_nn"
|
|
|
|
endif
|