Skip to content

Commit 3ac932f

Browse files
committed
board default: enable Power Management per default for radio core
This commit is just to test, no plan on merging this branch. Signed-off-by: Kyra Lengfeld <[email protected]>
1 parent 94fa39e commit 3ac932f

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

subsys/mpsl/pm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ config MPSL_USE_ZEPHYR_PM
99
depends on SOC_SERIES_NRF54HX
1010
depends on MPSL
1111
depends on PM
12+
default y
1213
help
1314
This option configures MPSL to use Zephyr's Power Management.

subsys/mpsl/pm/mpsl_pm_utils.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ LOG_MODULE_REGISTER(mpsl_pm_utils, CONFIG_MPSL_LOG_LEVEL);
2121
* margins and allow optimal power savings.
2222
*/
2323
#define TIME_TO_REGISTER_EVENT_IN_ZEPHYR_US 1000
24-
#define PM_MAX_LATENCY_HCI_COMMANDS_US 499999
24+
/* depends on min-residency-us of idle RAM not retained*/
25+
#define PM_MAX_LATENCY_HCI_COMMANDS_US (1000 - 1)
2526

2627
static void m_work_handler(struct k_work *work);
2728
static K_WORK_DELAYABLE_DEFINE(pm_work, m_work_handler);

tests/subsys/mpsl/pm/pm_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include <mpsl/mpsl_pm_utils.h>
2020

21-
#define PM_MAX_LATENCY_HCI_COMMANDS_US 499999
21+
#define PM_MAX_LATENCY_HCI_COMMANDS_US (1000 - 1)
2222

2323
#define TIME_TO_REGISTER_EVENT_IN_ZEPHYR_US 1000
2424

west.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ manifest:
6969
# https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/modules.html
7070
- name: zephyr
7171
repo-path: sdk-zephyr
72-
revision: 581e63819936a0e8ae6040a6cb23ec091f5b02d7
72+
revision: pull/2290/head
7373
import:
7474
# In addition to the zephyr repository itself, NCS also
7575
# imports the contents of zephyr/west.yml at the above

0 commit comments

Comments
 (0)