3599fb47e1
This change adds checks to validate consistency between Zephyr’s Kconfig settings and cmsis configuration defined in SiP’s sdk provided headers. This change also introduces a config to enable cmsis’ own checks which emits warnings if a parameter relies on auto-populated default values. Signed-off-by: Wilfried Chauveau <wilfried.chauveau@arm.com>
32 lines
579 B
Plaintext
32 lines
579 B
Plaintext
# Copyright (c) 2016 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config ZEPHYR_CMSIS_MODULE
|
|
bool
|
|
|
|
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
|
|
|
|
config CMSIS_M_CHECK_DEVICE_DEFINES
|
|
bool "Check device defines"
|
|
default n
|
|
depends on HAS_CMSIS_CORE_M
|
|
help
|
|
This options enables the validation of CMSIS configuration flags.
|
|
|
|
endif
|