Skip to content
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

mpsl: make mpsl sw interrupt kconfig configurable #13362

Merged

Conversation

Tschet1
Copy link
Contributor

@Tschet1 Tschet1 commented Dec 7, 2023

Make the SW interrupt that MPSL is using configurable through KConfig. Like that, MPSL can better cooperate with other libraries that might use the same SW interrupt.

@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Dec 7, 2023
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Dec 7, 2023

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
test-fw-nrfconnect-ble X
test-fw-nrfconnect-ble_samples X
test-fw-nrfconnect-chip X
test-fw-nrfconnect-fem X
test-fw-nrfconnect-rs X
test-fw-nrfconnect-thread X
test-fw-nrfconnect-zigbee X
test-sdk-find-my X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

@Tschet1 Tschet1 force-pushed the make_sw_interrupt_kconfig_configurable branch 5 times, most recently from c200a41 to 11b9e47 Compare December 11, 2023 13:52
@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

@@ -56,6 +56,14 @@ config MPSL_TRIGGER_IPC_TASK_ON_RTC_START_CHANNEL
The application core part of the code needs to be aware of
which channel is used.

config MPSL_LOW_PRIO_IRQN
int
default $(dt_node_array_prop_int,$(dt_nodelabel_path,swi5),interrupts,0) if SOC_COMPATIBLE_NRF52X
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

discussed OOB: I suggest to drop the dts complexity and "just hardcode" the number.

When we do have to revisit this, I propose we do the right thing (IMO) and add a mpsl driver and configure the SWI through a property.

@Tschet1 Tschet1 force-pushed the make_sw_interrupt_kconfig_configurable branch from 11b9e47 to de71998 Compare December 12, 2023 11:06
@Tschet1 Tschet1 marked this pull request as ready for review December 12, 2023 11:06
@Tschet1 Tschet1 requested a review from a team as a code owner December 12, 2023 11:06
@Tschet1 Tschet1 marked this pull request as draft December 12, 2023 11:07
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Dec 12, 2023

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
nrfxlib nrfconnect/sdk-nrfxlib@3398c84 nrfconnect/sdk-nrfxlib@dcb888f (main) nrfconnect/[email protected]

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@Tschet1 Tschet1 force-pushed the make_sw_interrupt_kconfig_configurable branch 2 times, most recently from 376ab37 to c6ca011 Compare December 12, 2023 11:49
Make the SW interrupt that MPSL is using configurable through KConfig.
Like that, MPSL can better cooperate with other libraries that might use
the same SW interrupt.

Signed-off-by: Jan Müller <[email protected]>
Update the MPSL documentation in nrfxlib.

Signed-off-by: Jan Müller <[email protected]>
@Tschet1 Tschet1 marked this pull request as ready for review December 13, 2023 12:03
@Tschet1 Tschet1 force-pushed the make_sw_interrupt_kconfig_configurable branch from c6ca011 to 7d68f5a Compare December 13, 2023 12:03
@Tschet1 Tschet1 removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Dec 13, 2023
@NordicBuilder NordicBuilder removed the DNM label Dec 13, 2023
@nordicjm nordicjm merged commit 733151a into nrfconnect:main Dec 14, 2023
21 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants