1 /***************************************************************************** 2 * 3 * Copyright (C) 2016 Atmel Corporation 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are met: 8 * 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 11 * 12 * * Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in 14 * the documentation and/or other materials provided with the 15 * distribution. 16 * 17 * * Neither the name of the copyright holders nor the names of 18 * contributors may be used to endorse or promote products derived 19 * from this software without specific prior written permission. 20 * 21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 22 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 25 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31 * POSSIBILITY OF SUCH DAMAGE. 32 ****************************************************************************/ 33 34 35 #ifndef _COMPONENT_VERSION_H_INCLUDED 36 #define _COMPONENT_VERSION_H_INCLUDED 37 38 #define COMPONENT_VERSION_MAJOR 1 39 #define COMPONENT_VERSION_MINOR 0 40 41 // 42 // The COMPONENT_VERSION define is composed of the major and the minor version number. 43 // 44 // The last four digits of the COMPONENT_VERSION is the minor version with leading zeros. 45 // The rest of the COMPONENT_VERSION is the major version, with leading zeros. The COMPONENT_VERSION 46 // is at least 8 digits long. 47 // 48 #define COMPONENT_VERSION 00010000 49 50 // 51 // The build number does not refer to the component, but to the build number 52 // of the device pack that provides the component. 53 // 54 #define BUILD_NUMBER 50 55 56 // 57 // The COMPONENT_VERSION_STRING is a string (enclosed in ") that can be used for logging or embedding. 58 // 59 #define COMPONENT_VERSION_STRING "1.0" 60 61 // 62 // The COMPONENT_DATE_STRING contains a timestamp of when the pack was generated. 63 // 64 // The COMPONENT_DATE_STRING is written out using the following strftime pattern. 65 // 66 // "%Y-%m-%d %H:%M:%S" 67 // 68 // 69 #define COMPONENT_DATE_STRING "2016-09-15 13:24:20" 70 71 #endif/* #ifndef _COMPONENT_VERSION_H_INCLUDED */ 72 73