Version components

Asset Tracker Template

tags
Asset Tracker Template

The app/VERSION file defines the firmware version with the following components:

  • VERSION_MAJOR: Major version.
  • VERSION_MINOR: Minor version.
  • PATCHLEVEL: Patch level.
  • VERSION_TWEAK: Additional component, which is usually 0.
  • EXTRAVERSION: Extra string, for example dev or rc1.

The following example results in version 1.2.3-dev:

VERSION_MAJOR = 1
VERSION_MINOR = 2
PATCHLEVEL = 3
VERSION_TWEAK = 0
EXTRAVERSION = dev