1#ifndef _@VERSION_TYPE@_VERSION_H_
2#define _@VERSION_TYPE@_VERSION_H_
3
4/* The template values come from cmake/version.cmake
5 * BUILD_VERSION related template values will be 'git describe',
6 * alternatively user defined BUILD_VERSION.
7 */
8
9#cmakedefine ZEPHYR_VERSION_CODE @ZEPHYR_VERSION_CODE@
10#cmakedefine ZEPHYR_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
11
12#define @VERSION_TYPE@VERSION                   @@VERSION_TYPE@VERSION@
13#define @VERSION_TYPE@_VERSION_NUMBER           @@VERSION_TYPE@_VERSION_NUMBER@
14#define @VERSION_TYPE@_VERSION_MAJOR            @@VERSION_TYPE@_VERSION_MAJOR@
15#define @VERSION_TYPE@_VERSION_MINOR            @@VERSION_TYPE@_VERSION_MINOR@
16#define @VERSION_TYPE@_PATCHLEVEL               @@VERSION_TYPE@_PATCHLEVEL@
17#define @VERSION_TYPE@_TWEAK                    @@VERSION_TYPE@_VERSION_TWEAK@
18#define @VERSION_TYPE@_VERSION_STRING           "@@VERSION_TYPE@_VERSION_STRING@"
19#define @VERSION_TYPE@_VERSION_EXTENDED_STRING  "@@VERSION_TYPE@_VERSION_EXTENDED_STRING@"
20#define @VERSION_TYPE@_VERSION_TWEAK_STRING     "@@VERSION_TYPE@_VERSION_TWEAK_STRING@"
21
22#define @BUILD_VERSION_NAME@ @@BUILD_VERSION_NAME@@
23@@VERSION_TYPE@_VERSION_CUSTOMIZATION@
24
25#endif /* _@VERSION_TYPE@_VERSION_H_ */
26