Version¶
Kernel version handling and APIs related to kernel version being used.
API Reference¶
-
uint32_t
sys_kernel_version_get
(void)¶ 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”.
- Returns
kernel version
-
SYS_KERNEL_VER_MAJOR
(ver)¶
-
SYS_KERNEL_VER_MINOR
(ver)¶
-
SYS_KERNEL_VER_PATCHLEVEL
(ver)¶