NMSIS-Core  Version 1.0.0-HummingBird
NMSIS-Core support for HummingBird RISC-V 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 #ifndef __NMSIS_CORE_H__
21 #define __NMSIS_CORE_H__
22 
23 #include <stdint.h>
24 
25 #ifdef __cplusplus
26  extern "C" {
27 #endif
28 
29 #include "nmsis_version.h"
30 
35 /* The following enum __HBIRD_RISCV_REV definition in this file
36  * is only used for doxygen documentation generation,
37  * The <device>.h is the real file to define it by vendor
38  */
39 #if defined(__ONLY_FOR_DOXYGEN_DOCUMENT_GENERATION__)
40 
44 #define __HBIRD_RISCV_REV (0x0100)
45 #endif /* __ONLY_FOR_DOXYGEN_DOCUMENT_GENERATION__ */
46  /* End of Group NMSIS_Core_VersionControl */
47 
48 #include "nmsis_compiler.h" /* NMSIS compiler specific defines */
49 
50 /* === Include Nuclei Core Related Headers === */
51 /* Include core base feature header file */
52 #include "core_feature_base.h"
53 
54 #ifndef __NMSIS_GENERIC
55 /* Include core plic feature header file */
56 #include "core_feature_plic.h"
57 /* Include core systimer feature header file */
58 #include "core_feature_timer.h"
59 #endif
60 
61 /* Include core fpu feature header file */
62 #include "core_feature_fpu.h"
63 
64 /* Include compatiable functions header file */
65 #include "core_compatiable.h"
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 #endif /* __NMSIS_CORE_H__ */
nmsis_version.h
NMSIS Version definitions.