Skip to content

Cherry pick changes needed for building with nothreading and no sw isr table #3167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bjarki-andreasen
Copy link
Contributor

Cherry pick changes needed for building with nothreading and no sw isr table

Add support for building nrf_grtc_timer using IRQ_DIRECT_CONNECT.
This allows for building the driver with no SW ISR table.

Upstream PR #: 94132

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
…nd nothreading

Default to using DIRECT_ISR if nothreading. This allows the SW ISR
table to be excluded if nothreading. This requires additional
handling in the UARTE_DIRECT_ISR_DECLARE() macro to not do any
multithreading work if CONFIG_MULTITHREADING=n

Upstream PR #: 94132

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
Currently the isr_tables.c is not included as a zephyr library,
hence it does not have --whole-archive applied to it, which
prevents the build system from preserving the unreferenced
_iheader structure which is required by gen_isr_tables.py

This commit fixes the issue for gcc, while potentially
breaking mwdt which is the reason isr_tables.c was put
into a special library in the first place.

Upstream PR #: 94132

Signed-off-by: Bjarki Arge Andreasen <[email protected]>
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.

2 participants