Lines Matching +full:left +full:- +full:shifted
1 .. _app-version-details:
8 version file and have application (or module) code include the auto-generated file and be able to
18 images to be signed with correct version of the application automatically - no manual signing
24 Application version information is set on a per-application basis in a file named :file:`VERSION`,
29 .. code-block:: cfg
42 +---------------+-------------------------------------------------------+
44 +---------------+-------------------------------------------------------+
45 | VERSION_MAJOR | Numerical (0-255) |
46 +---------------+-------------------------------------------------------+
47 | VERSION_MINOR | Numerical (0-255) |
48 +---------------+-------------------------------------------------------+
49 | PATCHLEVEL | Numerical (0-255) |
50 +---------------+-------------------------------------------------------+
51 | VERSION_TWEAK | Numerical (0-255) |
52 +---------------+-------------------------------------------------------+
53 | EXTRAVERSION | Alphanumerical (Lowercase a-z and 0-9) and "." or "-" |
54 +---------------+-------------------------------------------------------+
58 manually re-ran for changes to this file.
62 .. code-block:: cfg
77 +-----------------------------+-------------------+------------------------------------------------…
79 +-----------------------------+-------------------+------------------------------------------------…
80 | APPVERSION | Numerical | ``VERSION_MAJOR`` (left shifted by 24 bits), |b…
81 | | | ``VERSION_MINOR`` (left shifted by 16 bits), |b…
82 | | | ``PATCHLEVEL`` (left shifted by 8 bits), |br| …
84 +-----------------------------+-------------------+------------------------------------------------…
85 | APP_VERSION_NUMBER | Numerical | ``VERSION_MAJOR`` (left shifted by 16 bits), |b…
86 | | | ``VERSION_MINOR`` (left shifted by 8 bits), |br…
88 +-----------------------------+-------------------+------------------------------------------------…
90 +-----------------------------+-------------------+------------------------------------------------…
92 +-----------------------------+-------------------+------------------------------------------------…
94 +-----------------------------+-------------------+------------------------------------------------…
96 +-----------------------------+-------------------+------------------------------------------------…
97 …ing (quoted) | ``VERSION_MAJOR``, |br| | "1.2.3-unstable.5" |
101 +-----------------------------+-------------------+------------------------------------------------…
102 …ing (quoted) | ``VERSION_MAJOR``, |br| | "1.2.3-unstable.5+4" |
107 +-----------------------------+-------------------+------------------------------------------------…
112 +-----------------------------+-------------------+------------------------------------------------…
113 … | String (unquoted) | None (value of ``git describe --abbrev=12 --always`` | v3.3.0-18-g2c8…
115 +-----------------------------+-------------------+------------------------------------------------…
122 +--------------------------------+-----------+--------------------------+--------------------+
124 +--------------------------------+-----------+--------------------------+--------------------+
126 +--------------------------------+-----------+--------------------------+--------------------+
128 +--------------------------------+-----------+--------------------------+--------------------+
130 +--------------------------------+-----------+--------------------------+--------------------+
132 +--------------------------------+-----------+--------------------------+--------------------+
133 | $(APPVERSION) | String | ``VERSION_MAJOR``, |br| | 1.2.3-unstable.5 |
137 +--------------------------------+-----------+--------------------------+--------------------+
138 | $(APP_VERSION_EXTENDED_STRING) | String | ``VERSION_MAJOR``, |br| | 1.2.3-unstable.5+4 |
143 +--------------------------------+-----------+--------------------------+--------------------+
148 +--------------------------------+-----------+--------------------------+--------------------+
155 +-----------------------------+-----------------+--------------------------------------------------…
157 +-----------------------------+-----------------+--------------------------------------------------…
158 | APPVERSION | Numerical (hex) | ``VERSION_MAJOR`` (left shifted by 24 bits), |br|…
159 | | | ``VERSION_MINOR`` (left shifted by 16 bits), |br|…
160 | | | ``PATCHLEVEL`` (left shifted by 8 bits), |br| …
162 +-----------------------------+-----------------+--------------------------------------------------…
163 | APP_VERSION_NUMBER | Numerical (hex) | ``VERSION_MAJOR`` (left shifted by 16 bits), |br|…
164 | | | ``VERSION_MINOR`` (left shifted by 8 bits), |br| …
166 +-----------------------------+-----------------+--------------------------------------------------…
168 +-----------------------------+-----------------+--------------------------------------------------…
170 +-----------------------------+-----------------+--------------------------------------------------…
172 +-----------------------------+-----------------+--------------------------------------------------…
174 +-----------------------------+-----------------+--------------------------------------------------…
175 … | String | ``VERSION_MAJOR``, |br| | 1.2.3-unstable.5 |
179 +-----------------------------+-----------------+--------------------------------------------------…
180 …STRING | String | ``VERSION_MAJOR``, |br| | 1.2.3-unstable.5+4 |
185 +-----------------------------+-----------------+--------------------------------------------------…
190 +-----------------------------+-----------------+--------------------------------------------------…
192 Use in MCUboot-supported applications