Skip to content

Commit 50f3514

Browse files
butokde-nordic
authored andcommitted
doc: readme-zephyr: fix the scratch partition example
It tells about adding the 24KB scratch partition, not about storage partition. Updates the used path to HWMv2. Signed-off-by: Andrej Butok <[email protected]>
1 parent 4b9d07d commit 50f3514

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/readme-zephyr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ The number of sectors must also be evenly divisable by this sector size, e.g.
174174
4KB, 8KB, 12KB, 16KB are allowed, 7KB, 7.5KB are not. This scratch partition
175175
needs adding to the .dts file for the board, e.g. for the nrf52dk_nrf52832
176176
board thus would involve updating
177-
`<zephyr>/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts` with:
177+
`<zephyr>/boards/nordic/nrf52dk/nrf52dk_nrf52832.dts` with:
178178

179179
```
180180
boot_partition: partition@0 {
@@ -189,8 +189,8 @@ board thus would involve updating
189189
label = "image-1";
190190
reg = <0x00043000 0x37000>;
191191
};
192-
storage_partition: partition@7a000 {
193-
label = "storage";
192+
scratch_partition: partition@7a000 {
193+
label = "image-scratch";
194194
reg = <0x0007a000 0x00006000>;
195195
};
196196
```

0 commit comments

Comments
 (0)