]> begriffs open source - freertos/blob - FreeRTOS-Plus/Source/Reliance-Edge/include/redver.h
Update Reliance Edge fail safe file system to the latest version.
[freertos] / FreeRTOS-Plus / Source / Reliance-Edge / include / redver.h
1 /*             ----> DO NOT REMOVE THE FOLLOWING NOTICE <----
2
3                    Copyright (c) 2014-2015 Datalight, Inc.
4                        All Rights Reserved Worldwide.
5
6     This program is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; use version 2 of the License.
9
10     This program is distributed in the hope that it will be useful,
11     but "AS-IS," WITHOUT ANY WARRANTY; without even the implied warranty
12     of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13     GNU General Public License for more details.
14
15     You should have received a copy of the GNU General Public License along
16     with this program; if not, write to the Free Software Foundation, Inc.,
17     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19 /*  Businesses and individuals that for commercial or other reasons cannot
20     comply with the terms of the GPLv2 license may obtain a commercial license
21     before incorporating Reliance Edge into proprietary software for
22     distribution in any form.  Visit http://www.datalight.com/reliance-edge for
23     more information.
24 */
25 /** @file
26     @brief Macros for version numbers, build number, and product information.
27 */
28 #ifndef REDVER_H
29 #define REDVER_H
30
31
32 /** @brief Consecutive number assigned to each automated build.
33
34     <!-- This macro is updated automatically: do not edit! -->
35 */
36 #define RED_BUILD_NUMBER "700"
37
38 #define RED_KIT_GPL         0U  /* Open source GPL kit. */
39 #define RED_KIT_COMMERCIAL  1U  /* Commercially-licensed kit. */
40 #define RED_KIT_SANDBOX     2U  /* Not a kit: developer sandbox. */
41
42 /** @brief Indicates the Reliance Edge kit.
43
44     <!-- This macro is updated automatically: do not edit! -->
45 */
46 #define RED_KIT RED_KIT_GPL
47
48
49 /** @brief Version number to display in output.
50 */
51 #define RED_VERSION "v2.0"
52
53 /** @brief Version number in hex.
54
55     The most significant byte is the major version number, etc.
56 */
57 #define RED_VERSION_VAL 0x02000000U
58
59 /** @brief On-disk version number.
60
61     This is incremented only when the on-disk layout is updated in such a way
62     which is incompatible with previously released versions of the file system.
63 */
64 #define RED_DISK_LAYOUT_VERSION 1U
65
66
67 /** @brief Base name of the file system product.
68 */
69 #define RED_PRODUCT_BASE_NAME "Reliance Edge"
70
71
72 /*  Specifies whether the product is in alpha stage, beta stage, or neither.
73 */
74 #if 0
75   #if 0
76     #define ALPHABETA   " (Alpha)"
77   #else
78     #define ALPHABETA   " (Beta)"
79   #endif
80 #else
81   #define ALPHABETA     ""
82 #endif
83
84 /** @brief Full product name and version.
85 */
86 #define RED_PRODUCT_NAME "Datalight " RED_PRODUCT_BASE_NAME " " RED_VERSION " Build " RED_BUILD_NUMBER ALPHABETA
87
88
89 /** @brief Product copyright.
90 */
91 #define RED_PRODUCT_LEGAL "Copyright (c) 2014-2017 Datalight, Inc.  All Rights Reserved Worldwide."
92
93
94 /** @brief Product patents.
95 */
96 #define RED_PRODUCT_PATENT "Patents:  US#7284101."
97
98
99 /** @brief Product edition.
100 */
101 #if RED_KIT == RED_KIT_GPL
102 #define RED_PRODUCT_EDITION "Open-Source GPLv2 Edition -- Compiled " __DATE__ " at " __TIME__
103 #elif RED_KIT == RED_KIT_COMMERCIAL
104 #define RED_PRODUCT_EDITION "Commercial Edition -- Compiled " __DATE__ " at " __TIME__
105 #else
106 #define RED_PRODUCT_EDITION "Developer Sandbox -- Compiled " __DATE__ " at " __TIME__
107 #endif
108
109
110 #endif
111