modules: cmsis: move glue code to modules/cmsis
The CMSIS module glue code was part of arch/ directory. Move it to modules/cmsis, and provide a single entry point for it: cmsis_core.h. This entry header will include the right CMSIS header (M or A/R). To make this change possible, CMSIS module Kconfig/CMake are declared as external, allowing us to add a new Zephyr include directory. All files including CMSIS have been updated. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
1818522572
commit
9c961571a2
111 changed files with 173 additions and 119 deletions
|
@ -7,8 +7,8 @@
|
|||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_m/cmsis.h>
|
||||
|
||||
#include <cmsis_core.h>
|
||||
#include <OsIf.h>
|
||||
|
||||
#ifdef CONFIG_XIP
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/device.h>
|
||||
#include <zephyr/init.h>
|
||||
#include <zephyr/arch/arm/aarch32/cortex_a_r/cmsis.h>
|
||||
#include <cmsis_core.h>
|
||||
#include <zephyr/sys/barrier.h>
|
||||
|
||||
#include <OsIf.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue