xref: /btstack/port/stm32-l451-miromico-sx1280/Drivers/CMSIS/Include/cmsis_version.h (revision 2fd737d36a1de5d778cacc671d4b4d8c4f3fed82)
1*2fd737d3SMatthias Ringwald /**************************************************************************//**
2*2fd737d3SMatthias Ringwald  * @file     cmsis_version.h
3*2fd737d3SMatthias Ringwald  * @brief    CMSIS Core(M) Version definitions
4*2fd737d3SMatthias Ringwald  * @version  V5.0.2
5*2fd737d3SMatthias Ringwald  * @date     19. April 2017
6*2fd737d3SMatthias Ringwald  ******************************************************************************/
7*2fd737d3SMatthias Ringwald /*
8*2fd737d3SMatthias Ringwald  * Copyright (c) 2009-2017 ARM Limited. All rights reserved.
9*2fd737d3SMatthias Ringwald  *
10*2fd737d3SMatthias Ringwald  * SPDX-License-Identifier: Apache-2.0
11*2fd737d3SMatthias Ringwald  *
12*2fd737d3SMatthias Ringwald  * Licensed under the Apache License, Version 2.0 (the License); you may
13*2fd737d3SMatthias Ringwald  * not use this file except in compliance with the License.
14*2fd737d3SMatthias Ringwald  * You may obtain a copy of the License at
15*2fd737d3SMatthias Ringwald  *
16*2fd737d3SMatthias Ringwald  * www.apache.org/licenses/LICENSE-2.0
17*2fd737d3SMatthias Ringwald  *
18*2fd737d3SMatthias Ringwald  * Unless required by applicable law or agreed to in writing, software
19*2fd737d3SMatthias Ringwald  * distributed under the License is distributed on an AS IS BASIS, WITHOUT
20*2fd737d3SMatthias Ringwald  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21*2fd737d3SMatthias Ringwald  * See the License for the specific language governing permissions and
22*2fd737d3SMatthias Ringwald  * limitations under the License.
23*2fd737d3SMatthias Ringwald  */
24*2fd737d3SMatthias Ringwald 
25*2fd737d3SMatthias Ringwald #if   defined ( __ICCARM__ )
26*2fd737d3SMatthias Ringwald   #pragma system_include         /* treat file as system include file for MISRA check */
27*2fd737d3SMatthias Ringwald #elif defined (__clang__)
28*2fd737d3SMatthias Ringwald   #pragma clang system_header   /* treat file as system include file */
29*2fd737d3SMatthias Ringwald #endif
30*2fd737d3SMatthias Ringwald 
31*2fd737d3SMatthias Ringwald #ifndef __CMSIS_VERSION_H
32*2fd737d3SMatthias Ringwald #define __CMSIS_VERSION_H
33*2fd737d3SMatthias Ringwald 
34*2fd737d3SMatthias Ringwald /*  CMSIS Version definitions */
35*2fd737d3SMatthias Ringwald #define __CM_CMSIS_VERSION_MAIN  ( 5U)                                      /*!< [31:16] CMSIS Core(M) main version */
36*2fd737d3SMatthias Ringwald #define __CM_CMSIS_VERSION_SUB   ( 1U)                                      /*!< [15:0]  CMSIS Core(M) sub version */
37*2fd737d3SMatthias Ringwald #define __CM_CMSIS_VERSION       ((__CM_CMSIS_VERSION_MAIN << 16U) | \
38*2fd737d3SMatthias Ringwald                                    __CM_CMSIS_VERSION_SUB           )       /*!< CMSIS Core(M) version number */
39*2fd737d3SMatthias Ringwald #endif
40