1#ifndef _@VERSION_TYPE@_VERSION_H_ 2#define _@VERSION_TYPE@_VERSION_H_ 3 4/* @templates@ 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@_VERSION_STRING "@@VERSION_TYPE@_VERSION_STRING@" 18 19#define @BUILD_VERSION_NAME@ @@BUILD_VERSION_NAME@@ 20 21#endif /* _@VERSION_TYPE@_VERSION_H_ */ 22