Bridle API 4.2.99
A Zephyr based application framework
Loading...
Searching...
No Matches
Version API

Bridle version access API. More...

Macros

#define SYS_BRIDLE_VER_MAJOR(ver)
#define SYS_BRIDLE_VER_MINOR(ver)
#define SYS_BRIDLE_VER_PATCHLEVEL(ver)
#define SYS_BRIDLE_VERSION_TWEAK(ver)

Functions

uint32_t sys_bridle_version_get (void)
 Return the bridle version of the present build.

Detailed Description

Bridle version access API.

Since
2.5
Version
1.0.0

The bridle version has been converted from a string to a four-byte quantity that is divided into two parts.

Part 1: The three most significant bytes represent the bridle's numeric version, x.y.z. These fields denote: x – major release y – minor release z – patchlevel release Each of these elements must therefore be in the range 0 to 255, inclusive.

Part 2: The least significant byte is reserved for tweak mark use.

Macro Definition Documentation

◆ SYS_BRIDLE_VER_MAJOR

#define SYS_BRIDLE_VER_MAJOR ( ver)

◆ SYS_BRIDLE_VER_MINOR

#define SYS_BRIDLE_VER_MINOR ( ver)

◆ SYS_BRIDLE_VER_PATCHLEVEL

#define SYS_BRIDLE_VER_PATCHLEVEL ( ver)

◆ SYS_BRIDLE_VERSION_TWEAK

#define SYS_BRIDLE_VERSION_TWEAK ( ver)

Function Documentation

◆ sys_bridle_version_get()

uint32_t sys_bridle_version_get ( void )
extern

#include </__w/bridle/bridle/workspace/bridle/include/bridle/core_version.h>

Return the bridle version of the present build.

The bridle version is a four-byte value, whose format is described in the file "bridle_version.h".

Returns
bridle version