mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-14 13:51:56 +00:00
Add the inclusion of the Common Peripheral Access Layer for aarch32 Cortex-A SoCs in combination with the respective SoC's header file, in which the feature flags evaluated in core_ca.h must be provided. The corresponding CMSIS include path is added to the build by setting the HAS_CMSIS_CORE_A Kconfig item for all aarch32 Cortex-A CPUs. Signed-off-by: Immo Birnbaum <Immo.Birnbaum@Weidmueller.com>
31 lines
562 B
Plaintext
31 lines
562 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_CORTEX_A
|
|
select HAS_CMSIS_CORE_A if CPU_AARCH32_CORTEX_A
|
|
select HAS_CMSIS_CORE_R if CPU_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
|