2016-05-25 21:03:33 +08:00
|
|
|
# Copyright (c) 2016 Intel Corporation
|
2017-01-21 09:22:01 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2016-05-25 21:03:33 +08:00
|
|
|
|
2023-09-27 02:51:09 +08:00
|
|
|
config ZEPHYR_CMSIS_MODULE
|
|
|
|
bool
|
|
|
|
|
2019-10-17 08:37:38 +08:00
|
|
|
config HAS_CMSIS_CORE
|
2016-05-25 21:03:33 +08:00
|
|
|
bool
|
2021-09-02 23:15:30 +08:00
|
|
|
select HAS_CMSIS_CORE_A if CPU_AARCH32_CORTEX_A
|
2021-10-30 07:24:17 +08:00
|
|
|
select HAS_CMSIS_CORE_R if CPU_AARCH32_CORTEX_R
|
2020-04-08 23:32:42 +08:00
|
|
|
select HAS_CMSIS_CORE_M if CPU_CORTEX_M
|
2019-10-17 08:37:38 +08:00
|
|
|
|
|
|
|
if HAS_CMSIS_CORE
|
|
|
|
|
2020-04-08 23:32:42 +08:00
|
|
|
config HAS_CMSIS_CORE_A
|
2019-10-17 08:37:38 +08:00
|
|
|
bool
|
|
|
|
|
2019-10-17 13:38:21 +08:00
|
|
|
config HAS_CMSIS_CORE_R
|
|
|
|
bool
|
|
|
|
|
2020-04-08 23:32:42 +08:00
|
|
|
config HAS_CMSIS_CORE_M
|
|
|
|
bool
|
|
|
|
|
2023-11-06 22:23:19 +08:00
|
|
|
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.
|
|
|
|
|
2019-10-17 08:37:38 +08:00
|
|
|
endif
|