Skip to content

Commit cdfbe89

Browse files
committed
Limit RetainedMem from 1KiB to 256B
Signed-off-by: Adam Szczygieł <[email protected]>
1 parent c25254f commit cdfbe89

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

samples/subsys/mgmt/mcumgr/smp_svr/boards/nrf54h20dk_nrf54h20_cpuapp_iron.overlay

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/ {
2-
sram@22007C00 {
2+
sram@22007F00 {
33
compatible = "zephyr,memory-region", "mmio-sram";
4-
reg = <0x22007C00 DT_SIZE_K(1)>;
4+
reg = <0x22007F00 0x100>;
55
zephyr,memory-region = "RetainedMem";
66
status = "okay";
77

@@ -25,5 +25,5 @@
2525
};
2626

2727
&cpuapp_ram0 {
28-
reg = <0x22000000 DT_SIZE_K(31)>;
28+
reg = <0x22000000 0x7F00>;
2929
};

samples/subsys/mgmt/mcumgr/smp_svr/sysbuild/mcuboot.overlay

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/ {
2-
sram@22007C00 {
2+
sram@22007F00 {
33
compatible = "zephyr,memory-region", "mmio-sram";
4-
reg = <0x22007C00 DT_SIZE_K(1)>;
4+
reg = <0x22007F00 0x100>;
55
zephyr,memory-region = "RetainedMem";
66
status = "okay";
77

@@ -26,5 +26,5 @@
2626
};
2727

2828
&cpuapp_ram0 {
29-
reg = <0x22000000 DT_SIZE_K(31)>;
29+
reg = <0x22000000 0x7F00>;
3030
};

0 commit comments

Comments
 (0)