Skip to content

Commit 7891543

Browse files
committed
samples: zephyr: system_off: Add support for nRF7120pdk
Add support for the nRF7120pdk for the systemoff samples: - grtc_wakeup - grtc_wakeup (memory retained) Signed-off-by: Dhanoo Surasarang <[email protected]>
1 parent 7fa2249 commit 7891543

File tree

4 files changed

+34
-2
lines changed

4 files changed

+34
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Disable RC Oscillator so that LFXO will be used
2+
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=n
3+
4+
# Output log immediately
5+
CONFIG_LOG_MODE_IMMEDIATE=y
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/ {
2+
cpuapp_sram@2007ec00 {
3+
compatible = "zephyr,memory-region", "mmio-sram";
4+
reg = <0x2007ec00 DT_SIZE_K(4)>;
5+
zephyr,memory-region = "RetainedMem";
6+
status = "okay";
7+
8+
retainedmem0: retainedmem {
9+
compatible = "zephyr,retained-ram";
10+
status = "okay";
11+
};
12+
};
13+
14+
aliases {
15+
retainedmemdevice = &retainedmem0;
16+
};
17+
};
18+
19+
&cpuapp_sram {
20+
/* Shrink SRAM size to avoid overlap with retained memory region:
21+
* 511 - 4 = 507KB = 0x7ec00
22+
*/
23+
reg = <0x20000000 DT_SIZE_K(507)>;
24+
ranges = <0x0 0x20000000 0x7ec00>;
25+
};

samples/zephyr/boards/nordic/system_off/sample.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sample:
2-
name: Low Power State Sample for nRF5x
2+
name: Low Power State Sample for nRF5x and nRF71
33
common:
44
tags:
55
- ci_samples_zephyr_boards_nordic_system_off
@@ -45,6 +45,7 @@ tests:
4545
- nrf54lv10dk/nrf54lv10a/cpuapp
4646
- [email protected]/nrf54lv10a/cpuapp
4747
- [email protected]/nrf54lv10a/cpuapp
48+
- nrf7120pdk/nrf7120/cpuapp/emu
4849
extra_configs:
4950
- CONFIG_GRTC_WAKEUP_ENABLE=y
5051
- CONFIG_GPIO_WAKEUP_ENABLE=n
@@ -68,6 +69,7 @@ tests:
6869
- nrf54lv10dk/nrf54lv10a/cpuapp
6970
- [email protected]/nrf54lv10a/cpuapp
7071
- [email protected]/nrf54lv10a/cpuapp
72+
- nrf7120pdk/nrf7120/cpuapp/emu
7173
extra_configs:
7274
- CONFIG_APP_USE_RETAINED_MEM=y
7375
- CONFIG_GRTC_WAKEUP_ENABLE=y

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ manifest:
6565
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
6666
- name: zephyr
6767
repo-path: sdk-zephyr
68-
revision: bf5684e2a9137f68f222673451d59e0db123091e
68+
revision: 463374fb0e76672b8b5fccab9f463fca18bcd161
6969
import:
7070
# In addition to the zephyr repository itself, NCS also
7171
# imports the contents of zephyr/west.yml at the above

0 commit comments

Comments
 (0)