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:
parent
9c961571a2
commit
b966865dd1
2 changed files with 26 additions and 0 deletions
13
include/zephyr/arch/arm/aarch32/cortex_a_r/cmsis.h
Normal file
13
include/zephyr/arch/arm/aarch32/cortex_a_r/cmsis.h
Normal 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_ */
|
13
include/zephyr/arch/arm/aarch32/cortex_m/cmsis.h
Normal file
13
include/zephyr/arch/arm/aarch32/cortex_m/cmsis.h
Normal 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_ */
|
Loading…
Add table
Add a link
Reference in a new issue