Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 1 | /** |
| 2 | * \file |
| 3 | * |
| 4 | * \brief Component version header file |
| 5 | * |
Harald Welte | 9bb8bfe | 2019-05-17 16:10:00 +0200 | [diff] [blame] | 6 | * Copyright (c) 2019 Atmel Corporation, a wholly owned subsidiary of Microchip Technology Inc.
|
Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 7 | * |
| 8 | * \license_start |
| 9 | * |
| 10 | * \page License |
| 11 | * |
| 12 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 13 | * you may not use this file except in compliance with the License. |
| 14 | * You may obtain a copy of the License at |
| 15 | * |
| 16 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 17 | * |
| 18 | * Unless required by applicable law or agreed to in writing, software |
| 19 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 20 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 21 | * See the License for the specific language governing permissions and |
| 22 | * limitations under the License. |
| 23 | * |
| 24 | * \license_stop |
| 25 | * |
| 26 | */ |
| 27 | |
| 28 | #ifndef _COMPONENT_VERSION_H_INCLUDED |
| 29 | #define _COMPONENT_VERSION_H_INCLUDED |
| 30 | |
| 31 | #define COMPONENT_VERSION_MAJOR 1 |
Harald Welte | 9bb8bfe | 2019-05-17 16:10:00 +0200 | [diff] [blame] | 32 | #define COMPONENT_VERSION_MINOR 1
|
Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 33 | |
| 34 | // |
| 35 | // The COMPONENT_VERSION define is composed of the major and the minor version number. |
| 36 | // |
| 37 | // The last four digits of the COMPONENT_VERSION is the minor version with leading zeros. |
| 38 | // The rest of the COMPONENT_VERSION is the major version. |
| 39 | // |
Harald Welte | 9bb8bfe | 2019-05-17 16:10:00 +0200 | [diff] [blame] | 40 | #define COMPONENT_VERSION 10001
|
Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 41 | |
| 42 | // |
| 43 | // The build number does not refer to the component, but to the build number |
| 44 | // of the device pack that provides the component. |
| 45 | // |
Harald Welte | 9bb8bfe | 2019-05-17 16:10:00 +0200 | [diff] [blame] | 46 | #define BUILD_NUMBER 134
|
Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 47 | |
| 48 | // |
| 49 | // The COMPONENT_VERSION_STRING is a string (enclosed in ") that can be used for logging or embedding. |
| 50 | // |
Harald Welte | 9bb8bfe | 2019-05-17 16:10:00 +0200 | [diff] [blame] | 51 | #define COMPONENT_VERSION_STRING "1.1"
|
Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 52 | |
| 53 | // |
| 54 | // The COMPONENT_DATE_STRING contains a timestamp of when the pack was generated. |
| 55 | // |
| 56 | // The COMPONENT_DATE_STRING is written out using the following strftime pattern. |
| 57 | // |
| 58 | // "%Y-%m-%d %H:%M:%S" |
| 59 | // |
| 60 | // |
Harald Welte | 9bb8bfe | 2019-05-17 16:10:00 +0200 | [diff] [blame] | 61 | #define COMPONENT_DATE_STRING "2019-04-09 08:16:19"
|
Kévin Redon | 69b92d9 | 2019-01-24 16:39:20 +0100 | [diff] [blame] | 62 | |
| 63 | #endif/* #ifndef _COMPONENT_VERSION_H_INCLUDED */ |
| 64 | |