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