mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 06:15:21 +00:00
Out-of-tree code can still be using the old file locations. Introduce header shims to include the headers from the new correct location and print a warning message. Add also a new Kconfig symbol to suppress such warning. The shim will go away after two releases, so make sure to adapt your application for the new locations. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
17 lines
386 B
C
17 lines
386 B
C
/*
|
|
* Copyright (c) 2019 Carlo Caione <ccaione@baylibre.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_IRQ_H_
|
|
#define ZEPHYR_INCLUDE_ARCH_ARM_IRQ_H_
|
|
|
|
#ifndef CONFIG_COMPAT_INCLUDES
|
|
#warning "This header file has moved, include <arch/arm/aarch32/irq.h> instead."
|
|
#endif
|
|
|
|
#include <arch/arm/aarch32/irq.h>
|
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_IRQ_H_ */
|