@@ -226,13 +226,13 @@ allows hundreds to thousands of field upgrades in production is recommended.
226226swap-using scratch algorithm assumes that the primary and the secondary image
227227slot areas sizes are equal.
228228The maximum image size available for the application
229- will be:
229+ will be:
230230```
231231maximum-image-size = image-slot-size - image-trailer-size
232232```
233233
234- Where:
235- ` image-slot-size ` is the size of the image slot.
234+ Where:
235+ ` image-slot-size ` is the size of the image slot.
236236 ` image-trailer-size ` is the size of the image trailer.
237237
238238### [ Swap without using scratch] ( #image-swap-no-scratch )
@@ -241,8 +241,8 @@ This algorithm is an alternative to the swap-using-scratch algorithm.
241241It uses an additional sector in the primary slot to make swap possible.
242242The algorithm works as follows:
243243
244- 1. Moves all sectors of the primary slot up by one sector.
245- Beginning from N=0:
244+ 1. Moves all sectors of the primary slot up by one sector.
245+ Beginning from N=0:
246246 2. Copies the N-th sector from the secondary slot to the N-th sector of the
247247 primary slot.
248248 3. Copies the (N+1)-th sector from the primary slot to the N-th sector of the
@@ -257,13 +257,13 @@ The algorithm is limited to support sectors of the same
257257sector layout. All slot's sectors should be of the same size.
258258
259259When using this algorithm the maximum image size available for the application
260- will be:
260+ will be:
261261```
262262maximum-image-size = (N-1) * slot-sector-size - image-trailer-sectors-size
263263```
264264
265- Where:
266- ` N ` is the number of sectors in the primary slot.
265+ Where:
266+ ` N ` is the number of sectors in the primary slot.
267267 ` image-trailer-sectors-size ` is the size of the image trailer rounded up to
268268 the total size of sectors its occupied. For instance if the image-trailer-size
269269 is equal to 1056 B and the sector size is equal to 1024 B, then
@@ -1468,8 +1468,8 @@ are issued from the MCUboot source directory):
14681468` ` ` sh
14691469$ mkdir docker
14701470$ ./ci/fih-tests_install.sh
1471- $ FIH_LEVEL=MCUBOOT_FIH_PROFILE_MEDIUM BUILD_TYPE=RELEASE SKIP_SIZE=2 \
1472- DAMAGE_TYPE=SIGNATURE ./ci/fih-tests_run.sh
1471+ $ FIH_LEVEL=MEDIUM BUILD_TYPE=RELEASE SKIP_SIZE=2 DAMAGE_TYPE=SIGNATURE \
1472+ ./ci/fih-tests_run.sh
14731473` ` `
14741474On the travis CI the environment variables in the last command are set based on
14751475the configs provided in the ` .travis.yaml`
0 commit comments