Skip to content

Commit 922d673

Browse files
nordicjmanangl
authored andcommitted
doc: nrf: config: bootloader: downgrade: Fix build number comment
Fixes a comment on the downgrade page which wrongly states that the build number would be ignored Signed-off-by: Jamie McCrae <[email protected]>
1 parent 572316e commit 922d673

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/nrf/config_and_build/bootloaders/bootloader_downgrade_protection.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ After you upload a new image and reset the development kit, MCUboot attempts to
5252
If this image has, in order of precedence, a *major*, *minor*, or *revision* value that is lower than the primary application image, it is considered invalid and the existing primary application boots instead.
5353

5454
.. note::
55-
The optional label or build number specified after the ``+`` character is ignored when evaluating the version.
55+
By default, the optional label or build number specified after the ``+`` character is ignored when evaluating the version.
5656
For example, an existing application image with version ``0.1.2+3`` can be overwritten by an uploaded image with ``0.1.2+2``, but not by one with ``0.1.1+2``.
57+
Checking against this field can be performed by enabling :kconfig:option:`CONFIG_BOOT_VERSION_CMP_USE_BUILD_NUMBER` in the MCUboot image
5758

5859
.. _ug_fw_update_downgrade_protection_hw:
5960
.. _bootloader_monotonic_counter:

0 commit comments

Comments
 (0)