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