Skip to content

Commit de709df

Browse files
rluboscarlescufi
authored andcommitted
samples: nrf_rpc: entropy_nrf53: Lower serialization init priority
Lower the serialization initialization priority to the APPLICATION level. Upstream Zephyr PR #89072 moved part of the nRF53 initializations to the soc_late_init_hook(), which is executed after the POST_KERNEL initializations. Apparently there was something important for IPC to work, as the cores failed to communicate if the serialization was initialized at POST_KERNEL level. Signed-off-by: Robert Lubos <[email protected]>
1 parent 20195f1 commit de709df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/nrf_rpc/entropy_nrf53/remote/src/entropy_ser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,4 @@ static int serialization_init(void)
203203
}
204204

205205

206-
SYS_INIT(serialization_init, POST_KERNEL, CONFIG_APPLICATION_INIT_PRIORITY);
206+
SYS_INIT(serialization_init, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY);

samples/nrf_rpc/entropy_nrf53/src/entropy_ser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,4 @@ static int serialization_init(void)
292292
}
293293

294294

295-
SYS_INIT(serialization_init, POST_KERNEL, CONFIG_APPLICATION_INIT_PRIORITY);
295+
SYS_INIT(serialization_init, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY);

0 commit comments

Comments
 (0)