zephyr/modules/cmsis/Kconfig
Gerard Marull-Paretas 1818522572 modules: cmsis: move to a folder
Move CMSIS module Kconfig options to a folder, in preparation for CMSIS
core header creation.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2023-08-24 13:20:21 +02:00

39 lines
679 B
Plaintext

# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config HAS_CMSIS_CORE
bool
select HAS_CMSIS_CORE_A if CPU_AARCH32_CORTEX_A
select HAS_CMSIS_CORE_R if CPU_AARCH32_CORTEX_R
select HAS_CMSIS_CORE_M if CPU_CORTEX_M
if HAS_CMSIS_CORE
config HAS_CMSIS_CORE_A
bool
config HAS_CMSIS_CORE_R
bool
config HAS_CMSIS_CORE_M
bool
endif
menuconfig CMSIS_DSP
bool "CMSIS-DSP Library Support"
select REQUIRES_FULL_LIBC if !ARCH_POSIX
if CMSIS_DSP
source "modules/cmsis/Kconfig.cmsis_dsp"
endif
menuconfig CMSIS_NN
bool "CMSIS-NN Library Support"
depends on CPU_CORTEX_M
select CMSIS_DSP
if CMSIS_NN
source "modules/cmsis/Kconfig.cmsis_nn"
endif