Bridle API 4.1.99
A Zephyr based application framework
Loading...
Searching...
No Matches
core_version.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021-2023 TiaC Systems
3 * Copyright (c) 2015 Wind River Systems, Inc.
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
13#ifndef BRIDLE_INCLUDE_BRIDLE_VERSION_H_
14#define BRIDLE_INCLUDE_BRIDLE_VERSION_H_
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
41#define SYS_BRIDLE_VER_MAJOR(ver) (((ver) >> 24) & 0xFF)
42#define SYS_BRIDLE_VER_MINOR(ver) (((ver) >> 16) & 0xFF)
43#define SYS_BRIDLE_VER_PATCHLEVEL(ver) (((ver) >> 8) & 0xFF)
44#define SYS_BRIDLE_VERSION_TWEAK(ver) ((ver) & 0xFF)
45
46/* bridle version routines */
47
56extern uint32_t sys_bridle_version_get(void);
57
62#ifdef __cplusplus
63}
64#endif
65
66#endif /* BRIDLE_INCLUDE_BRIDLE_VERSION_H_ */
uint32_t sys_bridle_version_get(void)
Return the bridle version of the present build.