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