Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
cmsis.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2020 Stephanos Ioannidis <root@stephanos.io>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
14#ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_A_R_CMSIS_H_
15#define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_A_R_CMSIS_H_
16
17#include <soc.h>
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23#ifndef __CR_REV
24#define __CR_REV 0U
25#endif
26
27#ifndef __FPU_PRESENT
28#define __FPU_PRESENT CONFIG_CPU_HAS_FPU
29#endif
30
31#ifdef __cplusplus
32}
33#endif
34
35#if defined(CONFIG_CPU_CORTEX_R4)
36#include <core_cr4.h>
37#elif defined(CONFIG_CPU_CORTEX_R5)
38#include <core_cr5.h>
39#elif defined(CONFIG_CPU_CORTEX_R7)
40#include <core_cr7.h>
41#else
42#error "Unknown device"
43#endif
44
46
47#endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_CORTEX_A_R_CMSIS_H_ */
CMSIS extension.