1 /*
2  * Component version header file
3  *
4  * Copyright (c) 2023 Microchip Technology Inc.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *   http://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,
14  * WITHOUT 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 #ifndef _COMPONENT_VERSION_H_INCLUDED
21 #define _COMPONENT_VERSION_H_INCLUDED
22 
23 #define COMPONENT_VERSION_MAJOR 1
24 #define COMPONENT_VERSION_MINOR 2
25 
26 //
27 // The COMPONENT_VERSION define is composed of the major and the minor version number.
28 //
29 // The last four digits of the COMPONENT_VERSION is the minor version with leading zeros.
30 // The rest of the COMPONENT_VERSION is the major version.
31 //
32 #define COMPONENT_VERSION 10002
33 
34 //
35 // The build number does not refer to the component, but to the build number
36 // of the device pack that provides the component.
37 //
38 #define BUILD_NUMBER 129
39 
40 //
41 // The COMPONENT_VERSION_STRING is a string (enclosed in ") that can be used for logging or embedding.
42 //
43 #define COMPONENT_VERSION_STRING "1.2"
44 
45 //
46 // The COMPONENT_DATE_STRING contains a timestamp of when the pack was generated.
47 //
48 // The COMPONENT_DATE_STRING is written out using the following strftime pattern.
49 //
50 //     "%Y-%m-%d %H:%M:%S"
51 //
52 //
53 #define COMPONENT_DATE_STRING "2023-10-05 22:30:27"
54 
55 #endif/* #ifndef _COMPONENT_VERSION_H_INCLUDED */
56 
57