Skip to content

Commit

Permalink
doc: readme-zephyr: fix scratch partition
Browse files Browse the repository at this point in the history
It tells about adding the 24KB scratch partition,
not about storage partition.
Updates the used path to HWMv2.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
  • Loading branch information
butok committed May 2, 2024
1 parent d4394c2 commit 798caf0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/readme-zephyr.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ The number of sectors must also be evenly divisable by this sector size, e.g.
4KB, 8KB, 12KB, 16KB are allowed, 7KB, 7.5KB are not. This scratch partition
needs adding to the .dts file for the board, e.g. for the nrf52dk_nrf52832
board thus would involve updating
`<zephyr>/boards/arm/nrf52dk_nrf52832/nrf52dk_nrf52832.dts` with:
`<zephyr>/boards/nordic/nrf52dk/nrf52dk_nrf52832.dts` with:

```
boot_partition: partition@0 {
Expand All @@ -189,8 +189,8 @@ board thus would involve updating
label = "image-1";
reg = <0x00043000 0x37000>;
};
storage_partition: partition@7a000 {
label = "storage";
scratch_partition: partition@7a000 {
label = "image-scratch";
reg = <0x0007a000 0x00006000>;
};
```
Expand Down

0 comments on commit 798caf0

Please sign in to comment.