cmsis: add deprecated headers

To ease migration of out-of-tree code, re-introduce previous CMSIS
headers that when include generate a warning informing about the
replacement header.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2023-08-14 15:19:13 +02:00 committed by Carles Cufí
commit b966865dd1
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2023 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_ARCH_ARM_AARCH32_CORTEX_A_R_CMSIS_H_
#define ZEPHYR_ARCH_ARM_AARCH32_CORTEX_A_R_CMSIS_H_
#include <cmsis_core.h>
#warning This header is deprecated, please include <cmsis_core.h>
#endif /* ZEPHYR_ARCH_ARM_AARCH32_CORTEX_A_R_CMSIS_H_ */

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2023 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_ARCH_ARM_AARCH32_CORTEX_M_CMSIS_H_
#define ZEPHYR_ARCH_ARM_AARCH32_CORTEX_M_CMSIS_H_
#include <cmsis_core.h>
#warning This header is deprecated, please include <cmsis_core.h>
#endif /* ZEPHYR_ARCH_ARM_AARCH32_CORTEX_M_CMSIS_H_ */