You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/app/sm_releasing.rst
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Each published image must carry a higher value than the previous one on the same
9
9
Application — :file:`app/VERSION`
10
10
=================================
11
11
12
-
Sets ``AT#XSMVER`` and the MCUboot application sign version (``CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION``), which is used for application downgrade prevention.
12
+
Sets the ``<sm_version>`` field in ``AT#XSMVER`` and the MCUboot application sign version (``CONFIG_MCUBOOT_IMGTOOL_SIGN_VERSION``), which is used for application downgrade prevention.
13
13
Format: ``major.minor.patchlevel+VERSION_TWEAK``. See `Zephyr application VERSION`_.
14
14
15
15
Pre-releases
@@ -25,6 +25,10 @@ Example for 2.0.0 GA — line ``1.99.0``, images ``1.99.0+1``, ``1.99.0+2``, …
25
25
PATCHLEVEL = 0
26
26
VERSION_TWEAK = 1
27
27
28
+
.. note::
29
+
30
+
The ``VERSION_TWEAK`` is not taken into account for downgrade prevention, so pre-release images which differ only in ``VERSION_TWEAK`` are interchangeable in terms of downgrade prevention.
Copy file name to clipboardExpand all lines: doc/releases/migration_notes_v2.0.0.rst
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,11 @@ Informational changes
28
28
29
29
The following changes are listed for informational purposes, and many hosts will work without any changes.
30
30
31
-
* ``AT#XSMVER`` response format — In v1.x.x, the first field was a Git describe string (for example ``"v1.0.0"`` or ``"v1.0.0-3-g1a2b3c4"``).
32
-
From v2.0.0, it is the numeric version from :file:`app/VERSION` in the form ``"major.minor.patch+tweak"`` (for example ``"2.0.0+0"``).
31
+
* ``AT#XSMVER`` response format — In v1.x.x, the first field (``<sm_version>``) was a Git describe string (for example ``"v1.0.0"`` or ``"v1.0.0-3-g1a2b3c4"``).
32
+
From v2.0.0, the first field is the numeric version from :file:`app/VERSION` in the form ``"major.minor.patch+tweak"`` (for example ``"2.0.0+0"``).
33
33
It is aligned with the MCUboot application sign version which is used for application rollback prevention.
34
+
A Git describe string is appended as the last field (``<build_version>``).
35
+
See :ref:`sm_releasing` for how to set :file:`app/VERSION`.
34
36
35
37
* Ring Indication (RI) - Change RI from pulse (100 ms) to level triggered, meaning RI stays asserted until the host asserts DTR.
36
38
After the Serial Modem has enabled UART, RI will be deasserted.
0 commit comments