rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
rcbench_version.h File Reference

The firmware version, as one number both images and the host suite agree on. More...

Go to the source code of this file.

Macros

#define RCBENCH_VERSION_MAJOR   0
 The release's MAJOR number.
#define RCBENCH_VERSION_MINOR   23
 The release's MINOR number: odd testing, even stable.
#define RCBENCH_VERSION_PATCH   0
 The release's PATCH number.
#define RCBENCH_STRINGIFY_(x)
#define RCBENCH_STRINGIFY(x)
#define RCBENCH_VERSION_STRING
 "0.23.0", for anything that prints it rather than sends it.

Detailed Description

The firmware version, as one number both images and the host suite agree on.

It lives beside the link because its only job is to travel: the IOmcu publishes it on the identity page and the panel prints what came back, so the version on the wire and the version in the changelog are the same claim. Before this existed both images reported 0.0.0 while the repository said otherwise, which is the kind of disagreement nobody notices until a board in the field is asked what it is running.

tools/check_docs.py holds these three numbers to the newest heading in CHANGELOG.md, so cutting a release without moving them fails the build rather than shipping a lie.

SPDX-License-Identifier: MIT

Macro Definition Documentation

◆ RCBENCH_STRINGIFY

#define RCBENCH_STRINGIFY ( x)
Value:
RCBENCH_STRINGIFY_(x)

◆ RCBENCH_STRINGIFY_

#define RCBENCH_STRINGIFY_ ( x)
Value:
#x

◆ RCBENCH_VERSION_STRING

#define RCBENCH_VERSION_STRING
Value:
RCBENCH_STRINGIFY(RCBENCH_VERSION_MAJOR) "." \
RCBENCH_STRINGIFY(RCBENCH_VERSION_MINOR) "." \
RCBENCH_STRINGIFY(RCBENCH_VERSION_PATCH)
#define RCBENCH_VERSION_MINOR
The release's MINOR number: odd testing, even stable.
Definition rcbench_version.h:26
#define RCBENCH_VERSION_PATCH
The release's PATCH number.
Definition rcbench_version.h:28
#define RCBENCH_VERSION_MAJOR
The release's MAJOR number.
Definition rcbench_version.h:24

"0.23.0", for anything that prints it rather than sends it.