Versions

Version symbols are provided for each major firmware component. The version symbols can be used directly or indirectly to verify the version of the components being used to build an application. There are three types of version symbols available:

Define

A preprocessor define or set of defines containing the version information.

Symbolic

A compiled symbol contained within a binary library

Global Variable

A global variable in memory containing the symbol

As an example, the available version information for the flash library firmware component is listed in the "Example Firmware Versions - Flash Library" table.

Table: Example Firmware Versions - Flash Library
Type Version Symbol

Description

Define FLASH_FW_VER_MAJOR

Major component of the library version; updated for non-backward compatible changes

Define FLASH_FW_VER_MINOR

Minor component of the library version; updated for backward compatible changes, reset if major version is incremented

Define FLASH_FW_VER_REVISION

Revision for the library version; incremented for minor changes or bug-fixes that do not affect library use

Define FLASH_FW_VER

Combined library version (16 bits):

15:12 major version
11:8 minor version
7:0 revision
Global Variable FlashLib_Version

Constant variable assigned to hold the combined library version definition