-
Notifications
You must be signed in to change notification settings - Fork 1.4k
mpsl: Add KConfig around forcing RRAM when running from NONSECURE #25349
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -119,6 +119,15 @@ config MPSL_INIT_PRIORITY | |
| must be lower than CONFIG_NRFS_BACKEND_IPC_SERVICE_INIT_PRIO. The nrf2 clock control depends | ||
| on the nRFS backend. | ||
|
|
||
| config MPSL_FORCE_RRAM_ON_ALL_THE_TIME | ||
| bool "Force RRAM to stay on" | ||
| depends on TRUSTED_EXECUTION_NONSECURE | ||
| default y | ||
| help | ||
| This option forces RRAM to stay on. | ||
| This is not needed when only basic bluetooth features are used. | ||
| Only needed when for example LLPM, Frame space update, ISO or Channel Sounding is used. | ||
|
Comment on lines
+125
to
+129
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why not There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. right now TRUSTED_EXECUTION_NONSECURE is only experimentally supported. Right now I think just doing it this way is the easiest. but when we move TFM support out of experimental, I think we should improve this yes, either by having it as kconfig like this which defaults depending on the features. But we might also do it even fancier, at runtime and only force RRAM on, on links when any of these features are enabled. Bottom line, I want to merge this now so I can tell customer in NCS 3.2 that uses NS, that they can enable this if they want low power when using bluetooth as long as they dont use any of these features. |
||
|
|
||
| module=MPSL | ||
| module-str=MPSL | ||
| source "$(ZEPHYR_BASE)/subsys/logging/Kconfig.template.log_config" | ||
Uh oh!
There was an error while loading. Please reload this page.