Skip to content

Conversation

@nordic-piks
Copy link
Contributor

No description provided.

Kernel events depend on multithreading being enabled, and mixing them
with a non-multithreaded build gives linker failures internal to
events.c. To avoid this, make events depend on multithreading.

```
libkernel.a(events.c.obj): in function `k_event_post_internal':
175: undefined reference to `z_sched_waitq_walk'
events.c:183: undefined reference to `z_sched_wake_thread'
events.c:191: undefined reference to `z_reschedule'
libkernel.a(events.c.obj): in function `k_sched_current_thread_query':
kernel.h:216: undefined reference to `z_impl_k_sched_current_thread_query'
libkernel.a(events.c.obj): in function `k_event_wait_internal':
events.c:312: undefined reference to `z_pend_curr'
```

Signed-off-by: Carles Cufi <[email protected]>
Signed-off-by: Piotr Kosycarz <[email protected]>

(cherry picked from commit cd8e773)
@nordic-piks nordic-piks force-pushed the fix_mspi_with_no_multithreading branch from 941f83a to 58030d1 Compare November 6, 2025 13:47
Not needed for this test and prevents from building with
CONFIG_MULTITHREADING=n.
Changes for h20 rad are similar, but needed to test cases
filtering working only.

Signed-off-by: Piotr Kosycarz <[email protected]>
@nordic-piks nordic-piks force-pushed the fix_mspi_with_no_multithreading branch from 58030d1 to d5d4ff6 Compare November 7, 2025 07:23
@nordicjm nordicjm merged commit 164b47d into nrfconnect:main Nov 7, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants