Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbed-os/cmsis/TARGET_CORTEX_M/cmsis_version.h@1:fcdb45ee95b9, 2018-05-30 (annotated)
- Committer:
- Bethory
- Date:
- Wed May 30 04:46:28 2018 +0000
- Revision:
- 1:fcdb45ee95b9
- Parent:
- 0:6ad07c9019fd
Entrega Final
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Bethory | 0:6ad07c9019fd | 1 | /**************************************************************************//** |
Bethory | 0:6ad07c9019fd | 2 | * @file cmsis_version.h |
Bethory | 0:6ad07c9019fd | 3 | * @brief CMSIS Core(M) Version definitions |
Bethory | 0:6ad07c9019fd | 4 | * @version V5.0.2 |
Bethory | 0:6ad07c9019fd | 5 | * @date 19. April 2017 |
Bethory | 0:6ad07c9019fd | 6 | ******************************************************************************/ |
Bethory | 0:6ad07c9019fd | 7 | /* |
Bethory | 0:6ad07c9019fd | 8 | * Copyright (c) 2009-2017 ARM Limited. All rights reserved. |
Bethory | 0:6ad07c9019fd | 9 | * |
Bethory | 0:6ad07c9019fd | 10 | * SPDX-License-Identifier: Apache-2.0 |
Bethory | 0:6ad07c9019fd | 11 | * |
Bethory | 0:6ad07c9019fd | 12 | * Licensed under the Apache License, Version 2.0 (the License); you may |
Bethory | 0:6ad07c9019fd | 13 | * not use this file except in compliance with the License. |
Bethory | 0:6ad07c9019fd | 14 | * You may obtain a copy of the License at |
Bethory | 0:6ad07c9019fd | 15 | * |
Bethory | 0:6ad07c9019fd | 16 | * www.apache.org/licenses/LICENSE-2.0 |
Bethory | 0:6ad07c9019fd | 17 | * |
Bethory | 0:6ad07c9019fd | 18 | * Unless required by applicable law or agreed to in writing, software |
Bethory | 0:6ad07c9019fd | 19 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT |
Bethory | 0:6ad07c9019fd | 20 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Bethory | 0:6ad07c9019fd | 21 | * See the License for the specific language governing permissions and |
Bethory | 0:6ad07c9019fd | 22 | * limitations under the License. |
Bethory | 0:6ad07c9019fd | 23 | */ |
Bethory | 0:6ad07c9019fd | 24 | |
Bethory | 0:6ad07c9019fd | 25 | #if defined ( __ICCARM__ ) |
Bethory | 0:6ad07c9019fd | 26 | #pragma system_include /* treat file as system include file for MISRA check */ |
Bethory | 0:6ad07c9019fd | 27 | #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) |
Bethory | 0:6ad07c9019fd | 28 | #pragma clang system_header /* treat file as system include file */ |
Bethory | 0:6ad07c9019fd | 29 | #endif |
Bethory | 0:6ad07c9019fd | 30 | |
Bethory | 0:6ad07c9019fd | 31 | #ifndef __CMSIS_VERSION_H |
Bethory | 0:6ad07c9019fd | 32 | #define __CMSIS_VERSION_H |
Bethory | 0:6ad07c9019fd | 33 | |
Bethory | 0:6ad07c9019fd | 34 | /* CMSIS Version definitions */ |
Bethory | 0:6ad07c9019fd | 35 | #define __CM_CMSIS_VERSION_MAIN ( 5U) /*!< [31:16] CMSIS Core(M) main version */ |
Bethory | 0:6ad07c9019fd | 36 | #define __CM_CMSIS_VERSION_SUB ( 0U) /*!< [15:0] CMSIS Core(M) sub version */ |
Bethory | 0:6ad07c9019fd | 37 | #define __CM_CMSIS_VERSION ((__CM_CMSIS_VERSION_MAIN << 16U) | \ |
Bethory | 0:6ad07c9019fd | 38 | __CM_CMSIS_VERSION_SUB ) /*!< CMSIS Core(M) version number */ |
Bethory | 0:6ad07c9019fd | 39 | #endif |