zephyr/modules/Kconfig.cmsis
Keith Packard 8f01e4cf22 modules/cmsis: Change libc requirement to allow picolibc
Change from depending on newlib to requiring a full libc, this allows use
with picolibc or any other C library providing a complete implementation.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-01-26 10:10:45 +00:00

39 lines
667 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/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