-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: benchmarks: Add sysoff with mem retention test.
Add tests combining system off and memory retention with current consumption checking. Signed-off-by: Bartlomiej Buczek <[email protected]>
- Loading branch information
1 parent
c731170
commit 500844c
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...nchmarks/current_consumption/system_off/boards/nrf54l15dk_nrf54l15_cpuapp_ret_mem.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/ { | ||
cpuapp_sram@2002e000 { | ||
compatible = "zephyr,memory-region", "mmio-sram"; | ||
reg = <0x2002e000 DT_SIZE_K(4)>; | ||
zephyr,memory-region = "RetainedMem"; | ||
status = "okay"; | ||
|
||
retainedmem0: retainedmem { | ||
compatible = "zephyr,retained-ram"; | ||
status = "okay"; | ||
}; | ||
}; | ||
|
||
aliases { | ||
retainedmemdevice = &retainedmem0; | ||
}; | ||
}; | ||
|
||
&cpuapp_sram { | ||
/* Shrink SRAM size to avoid overlap with retained memory region */ | ||
reg = <0x20000000 DT_SIZE_K(184)>; | ||
ranges = <0x0 0x20000000 0x2e000>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters