2c47a919af
The `CMSIS_NN` Kconfig previously depended on the `CMSIS_DSP` Kconfig, and this placed the "CMSIS-NN Library Support" prompt under the "CMSIS- DSP Library Support" menu (note that CMSIS-DSP is a menuconfig). Since the CMSIS-NN library, although it requires the CMSIS-DSP library, is not a subordinate component of the CMSIS-DSP library, remove its dependency on `CMSIS_DSP` and make it select the Kconfig symbol instead. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
39 lines
679 B
Plaintext
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"
|
|
depends on (CPU_CORTEX && NEWLIB_LIBC) || ARCH_POSIX
|
|
|
|
if CMSIS_DSP
|
|
source "modules/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/Kconfig.cmsis_nn"
|
|
endif
|