CONFIG_FW_INFO_FIRMWARE_VERSION

Version number of the firmware.

Type: int

Help

When SB_MONOTONIC_COUNTER is enabled, the firmware version is limited to 15 bits since the monotonic counters are 16 bits and one bit is used to denote the slot the firwmare is in.

Direct dependencies

FW_INFO

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At <nRF>/subsys/fw_info/Kconfig:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/Kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:28

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Firmware Metadata

config FW_INFO_FIRMWARE_VERSION
    int "Version number of the firmware."
    range 0 32766 if SB_MONOTONIC_COUNTER
    default 1
    depends on FW_INFO
    help
      When SB_MONOTONIC_COUNTER is enabled, the firmware version is limited
      to 15 bits since the monotonic counters are 16 bits and one bit is
      used to denote the slot the firwmare is in.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)