Skip to content

Commit 2c2f60d

Browse files
zyczanangl
authored andcommitted
[nrf noup] boards: nordic: By default turn off NRFS for ztest
nrf-squash! [nrf noup] boards: nordic: Turn on NRFS globally Signed-off-by: Jan Zyczkowski <[email protected]>
1 parent 9b6cae8 commit 2c2f60d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

boards/nordic/nrf54h20dk/board.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void mram_latency_handler(nrfs_mram_latency_evt_t const *p_evt, void *context)
1919
{
2020
switch (p_evt->type) {
2121
case NRFS_MRAM_LATENCY_REQ_APPLIED:
22-
LOG_INF("MRAM latency handler: response received");
22+
LOG_DBG("MRAM latency handler: response received");
2323
break;
2424
case NRFS_MRAM_LATENCY_REQ_REJECTED:
2525
LOG_ERR("MRAM latency handler - request rejected!");
@@ -43,10 +43,10 @@ static int turn_off_suspend_mram(void)
4343
if (err != NRFS_SUCCESS) {
4444
LOG_ERR("MRAM service init failed: %d", err);
4545
} else {
46-
LOG_INF("MRAM service initialized");
46+
LOG_DBG("MRAM service initialized");
4747
}
4848

49-
LOG_INF("MRAM: set latency: NOT ALLOWED");
49+
LOG_DBG("MRAM: set latency: NOT ALLOWED");
5050
err = nrfs_mram_set_latency(MRAM_LATENCY_NOT_ALLOWED, NULL);
5151
if (err) {
5252
LOG_ERR("MRAM: set latency failed (%d)", err);

modules/hal_nordic/nrfs/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ config NRFS
3939
select NRFS_LOCAL_DOMAIN if (SOC_NRF54H20_CPUAPP || SOC_NRF54H20_CPURAD)
4040
depends on HAS_NRFS
4141
depends on !MISRA_SANE
42-
default y
42+
default y if !ZTEST
4343
help
4444
This option enables the nRF Services library.
4545

0 commit comments

Comments
 (0)