Skip to content

Commit bf83460

Browse files
nashifAnas Nashif
authored andcommitted
tests: ipm: change init level from NANOKERNEL to POST_KERNEL
Change-Id: I86bbf50525018148689be9362c191d00324c595c Signed-off-by: Anas Nashif <[email protected]>
1 parent 91b47b9 commit bf83460

File tree

1 file changed

+3
-3
lines changed
  • tests/kernel/test_ipm/src

1 file changed

+3
-3
lines changed

tests/kernel/test_ipm/src/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
struct ipm_dummy_driver_data ipm_dummy0_driver_data;
4141
DEVICE_INIT(ipm_dummy0, "ipm_dummy0", ipm_dummy_init,
4242
&ipm_dummy0_driver_data, NULL,
43-
SECONDARY, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
43+
POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
4444

4545
/* Sending side of the console IPM driver, will forward anything sent
4646
* to printf() since we selected IPM_CONSOLE_STDOUT
@@ -51,7 +51,7 @@ static struct ipm_console_sender_config_info sender_config = {
5151
};
5252
DEVICE_INIT(ipm_console_send0, "ipm_send0", ipm_console_sender_init,
5353
NULL, &sender_config,
54-
NANOKERNEL, INIT_PRIO_IPM_SEND);
54+
APPLICATION, INIT_PRIO_IPM_SEND);
5555

5656
/* Receiving side of the console IPM driver. These numbers are
5757
* more or less arbitrary
@@ -77,7 +77,7 @@ static struct ipm_console_receiver_config_info receiver_config = {
7777
struct ipm_console_receiver_runtime_data receiver_data;
7878
DEVICE_INIT(ipm_console_recv0, "ipm_recv0", ipm_console_receiver_init,
7979
&receiver_data, &receiver_config,
80-
NANOKERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
80+
APPLICATION, CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
8181

8282
static const char thestr[] = "everything is awesome\n";
8383

0 commit comments

Comments
 (0)