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