• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2017 C-SKY Microsystems Co., Ltd. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *   http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 /******************************************************************************
18  * @file     csi_core.h
19  * @brief    CSI Core Layer Header File
20  * @version  V1.0
21  * @date     02. June 2017
22  ******************************************************************************/
23 
24 #ifndef _CORE_H_
25 #define _CORE_H_
26 
27 #include <stdint.h>
28 
29 #if defined(__CK801__) || defined(__E801__)
30 #include <core_801.h>
31 #elif defined(__CK802__) || defined(__E802__) || defined(__E802T__) || defined(__S802__) || defined(__S802T__)
32 #include <core_802.h>
33 #elif defined(__CK804__) || defined(__E804D__) || defined(__E804DT__) || defined(__E804F__)  || defined(__E804FT__) || defined (__E804DF__) || defined(__E804DFT__)
34 #include <core_804.h>
35 #elif defined(__CK803__) || defined(__E803__) || defined(__E803T__) || defined(__S803__) || defined(__S803T__)
36 #include <core_803.h>
37 #elif defined(__CK805__) || defined(__I805__) || defined(__I805F__)
38 #include <core_805.h>
39 #elif defined(__CK610__)
40 #include <core_ck610.h>
41 #elif defined(__CK810__) || defined(__C810__) || defined(__C810T__) || defined(__C810V__) || defined(__C810VT__)
42 #include <core_810.h>
43 #elif defined(__CK807__) || defined(__C807__) || defined(__C807F__) || defined(__C807FV__)
44 #include <core_807.h>
45 #elif defined(__riscv)
46 #include <core_rv32.h>
47 #endif
48 
49 #ifdef __riscv
50 #include <csi_rv32_gcc.h>
51 #else
52 #include <csi_gcc.h>
53 #endif
54 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #endif /* _CORE_H_ */
64