soc: riscv: openisa_rv32m1: add missing includes
<soc.h> is needed to pull some APIs defined in soc.h. <fsl_device_registers.h> is needed to access EVENT0/1 addresses. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
0c5a2b1fe4
commit
95c573f02e
2 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,8 @@
|
|||
#include <zephyr/irq_nextlevel.h>
|
||||
#endif
|
||||
|
||||
#include <soc.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_SOC_LOG_LEVEL
|
||||
#include <zephyr/logging/log.h>
|
||||
LOG_MODULE_REGISTER(soc);
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
#ifndef SOC_RISCV32_OPENISA_RV32M1_SOC_OFFSETS_H_
|
||||
#define SOC_RISCV32_OPENISA_RV32M1_SOC_OFFSETS_H_
|
||||
|
||||
#include <fsl_device_registers.h>
|
||||
|
||||
#ifdef CONFIG_SOC_OPENISA_RV32M1_RI5CY
|
||||
|
||||
#ifdef CONFIG_RISCV_SOC_CONTEXT_SAVE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue