blob: 4af778d50a45ff8f610115f417ce4323a138a6b8 [file] [log] [blame]
/* version.c */
/*
* Copyright (c) 1997-2010, 2012-2014 Wind River Systems, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <zephyr/types.h>
#include "version.h" /* generated by MAKE, at compile time */
static u32_t kernel_version = KERNELVERSION;
/**
*
* @brief Return the kernel version of the present build
*
* The kernel version is a four-byte value, whose format is described in the
* file "kernel_version.h".
*
* @return kernel version
*/
u32_t sys_kernel_version_get(void)
{
return kernel_version;
}