arch: arm: aarch32: cortex_m: nvic: make header self-contained
The header contains macros that make use of the Devicetree API, however, <devicetree.h> is not included. This was "mitigated" by most <soc.h> including <devicetree.h>. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
31ad52336b
commit
a84a16f8ff
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
|||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_NVIC_H_
|
||||
#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_M_NVIC_H_
|
||||
|
||||
#include <devicetree.h>
|
||||
|
||||
#if defined(CONFIG_ARMV8_1_M_MAINLINE)
|
||||
/* The order here is on purpose since ARMv8.1-M SoCs may define
|
||||
* CONFIG_ARMV6_M_ARMV8_M_BASELINE, CONFIG_ARMV7_M_ARMV8_M_MAINLINE or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue