NMSIS-Core  Version 1.2.0
NMSIS-Core support for Nuclei processor-based devices
nmsis_core.h
1 /*
2  * Copyright (c) 2009-2019 Arm Limited. All rights reserved.
3  * -- Adaptable modifications made for Nuclei Processors. --
4  * Copyright (c) 2019 Nuclei Limited. All rights reserved.
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  *
8  * Licensed under the Apache License, Version 2.0 (the License); you may
9  * not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
16  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 #include <stdint.h>
21 
22 #ifdef __cplusplus
23  extern "C" {
24 #endif
25 
26 #include "nmsis_version.h"
27 
32 /* The following macro __NUCLEI_N_REV/__NUCLEI_NX_REV/
33  * __NUCLEI_CPU_REV/__NUCLEI_CPU_SERIES definition in this file
34  * is only used for doxygen documentation generation,
35  * The <Device>.h is the real file to define it by vendor
36  */
37 #if defined(__ONLY_FOR_DOXYGEN_DOCUMENT_GENERATION__)
38 
45 #define __NUCLEI_N_REV (0x0309)
46 
53 #define __NUCLEI_NX_REV (0x0207)
54 
61 #define __NUCLEI_CPU_REV (0x030A01)
62 
70 #define __NUCLEI_CPU_SERIES (0x0200)
71 #endif /* __ONLY_FOR_DOXYGEN_DOCUMENT_GENERATION__ */
72  /* End of Group NMSIS_Core_VersionControl */
73 
74 #include "nmsis_compiler.h" /* NMSIS compiler specific defines */
75 
76 /* === Include Nuclei Core Related Headers === */
77 /* Include core base feature header file */
78 #include "core_feature_base.h"
79 
80 /* Include core fpu feature header file */
81 #include "core_feature_fpu.h"
82 /* Include core dsp feature header file */
83 #include "core_feature_dsp.h"
84 /* Include core vector feature header file */
85 #include "core_feature_vector.h"
86 /* Include core bitmanip feature header file */
87 #include "core_feature_bitmanip.h"
88 /* Include core pmp feature header file */
89 #include "core_feature_pmp.h"
90 /* Include core spmp feature header file */
91  #include "core_feature_spmp.h"
92 /* Include core cache feature header file */
93 #include "core_feature_cache.h"
94 /* Include core cidu feature header file */
95  #include "core_feature_cidu.h"
96 
97 /* Include compatiable functions header file */
98 #include "core_compatiable.h"
99 
100 #ifndef __NMSIS_GENERIC
101 /* Include core eclic feature header file */
102 #include "core_feature_eclic.h"
103 /* Include core systimer feature header file */
104 #include "core_feature_timer.h"
105 #endif
106 
107 #ifdef __cplusplus
108 }
109 #endif
nmsis_version.h
NMSIS Version definitions.