Skip to content

Commit 581d825

Browse files
committed
Fixed docs/compile.md
1 parent e897c5d commit 581d825

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

docs/compile.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ By default, wolfBoot is compiled for ARM Cortex-M3/4/7. To compile for Cortex-M0
4646

4747
The file [include/target.h](../include/target.h) is generated according to the configured flash geometry,
4848
partitions size and offset of the target system. The following values must be set to provide the
49-
desired flash configuration, either via the command line, or using the .config file as
49+
desired flash configuration, either via the command line, or using the .config file:
5050

51-
`WOLFBOOT_SECTOR_SIZE`
51+
- `WOLFBOOT_SECTOR_SIZE`
5252

5353
This variable determines the size of the physical sector on the flash memory. If areas with different
5454
block sizes are used for the two partitions (e.g. update partition on an external flash), this variable
@@ -57,26 +57,26 @@ should indicate the size of the biggest sector shared between the two partitions
5757
WolfBoot uses this value as minimum unit when swapping the firmware images in place. For this reason,
5858
this value is also used to set the size of the SWAP partition.
5959

60-
`WOLFBOOT_PARTITION_BOOT_ADDRESS`
60+
- `WOLFBOOT_PARTITION_BOOT_ADDRESS`
6161

6262
This is the start address of the boot partition, aligned to the beginning of a new flash sector.
6363
The application code starts after a further offset, equal to the partition header size (256B
6464
for Ed25519 and ECC signature headers).
6565

66-
`WOLFBOOT_PARTITION_UPDATE_ADDRESS`
66+
- `WOLFBOOT_PARTITION_UPDATE_ADDRESS`
6767

6868
This is the start address of the update partition. If an external memory is used via the
6969
`EXT_FLASH` option, this variable contains the offset of the update partition from the
7070
beginning of the external memory addressable space.
7171

72-
`WOLFBOOT_PARTITION_SWAP_ADDRESS`
72+
- `WOLFBOOT_PARTITION_SWAP_ADDRESS`
7373

7474
The address for the swap spaced used by wolfBoot to swap the two firmware images in place,
7575
in order to perform a reversable update. The size of the SWAP partition is exactly one sector on the flash.
7676
If an external memory is used, the variable contains the offset of the SWAP area from the beginning
7777
of its addressable space.
7878

79-
`WOLFBOOT_PARTITION_SIZE`
79+
- `WOLFBOOT_PARTITION_SIZE`
8080

8181
The size of the BOOT and UPDATE partition. The size is the same for both partitions.
8282

0 commit comments

Comments
 (0)