TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_version.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2020, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  *
6  */
7 
8 #ifndef __TFM_VERSION_H__
9 #define __TFM_VERSION_H__
10 
11 /*
12  * Defines for TFM version.
13  */
14 #define VERSION_MAJOR 1
15 #define VERSION_MINOR 2
16 #define VERSION_HOTFIX 0
17 #define VERSION_STRING ""
18 
19 #define VERSTR(x) #x
20 #define VERCON(major, minor, hotfix) VERSTR(major)"."VERSTR(minor)"."VERSTR(hotfix)
21 
22 #define VERSION_FULLSTR VERCON(VERSION_MAJOR, VERSION_MINOR, VERSION_HOTFIX)""VERSION_STRING
23 
24 
25 
26 #endif /* __TFM_VERSION_H__ */