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 31 /** 32 * \ingroup NMSIS_Core_VersionControl 33 * @{ 34 */ 35 /* The following enum __NUCLEI_N_REV/__NUCLEI_NX_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 /** 41 * \brief Nuclei N class core revision number 42 * \details 43 * Reversion number format: [15:8] revision number, [7:0] patch number 44 * \attention 45 * This define is exclusive with \ref __NUCLEI_NX_REV 46 */ 47 #define __NUCLEI_N_REV (0x0104) 48 /** 49 * \brief Nuclei NX class core revision number 50 * \details 51 * Reversion number format: [15:8] revision number, [7:0] patch number 52 * \attention 53 * This define is exclusive with \ref __NUCLEI_N_REV 54 */ 55 #define __NUCLEI_NX_REV (0x0100) 56 #endif /* __ONLY_FOR_DOXYGEN_DOCUMENT_GENERATION__ */ 57 /** @} */ /* End of Group NMSIS_Core_VersionControl */ 58 59 #include "nmsis_compiler.h" /* NMSIS compiler specific defines */ 60 61 /* === Include Nuclei Core Related Headers === */ 62 /* Include core base feature header file */ 63 #include "core_feature_base.h" 64 65 #ifndef __NMSIS_GENERIC 66 /* Include core eclic feature header file */ 67 #include "core_feature_eclic.h" 68 /* Include core systimer feature header file */ 69 #include "core_feature_timer.h" 70 #endif 71 72 /* Include core fpu feature header file */ 73 #include "core_feature_fpu.h" 74 /* Include core dsp feature header file */ 75 #include "core_feature_dsp.h" 76 /* Include core pmp feature header file */ 77 #include "core_feature_pmp.h" 78 /* Include core cache feature header file */ 79 #include "core_feature_cache.h" 80 81 /* Include compatiable functions header file */ 82 #include "core_compatiable.h" 83 84 #ifdef __cplusplus 85 } 86 #endif 87 #endif /* __NMSIS_CORE_H__ */ 88