-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
applications: nrf5340_audio: Hide audio configs when not enabled #19952
applications: nrf5340_audio: Hide audio configs when not enabled #19952
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 99eb08e7135d3571bac5734c020b6910c068b7b0 more detailssdk-nrf:
Github labels
List of changed files detected by CI (1)
Outputs:ToolchainVersion: 342151af73 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
You can find the documentation preview for this PR at this link. Note: This comment is automatically posted by the Documentation Publish GitHub Action. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commit title should be updated, this is modifying an audio subsystem file, not the application
#----------------------------------------------------------------------------# | ||
menu "Log levels" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why does this need it's own menu? Which adds to confusion because it will always be displayed even when the module is disabled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is probably not needed. Keeping it here for now
@@ -17,14 +17,17 @@ config AUDIO_MODULE_TEST | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the default n
above is not needed
subsys/audio_module/Kconfig
Outdated
if AUDIO_MODULE || AUDIO_MODULE_TEST | ||
module = AUDIO_MODULE | ||
module-str = audio_module | ||
source "subsys/logging/Kconfig.template.log_config" | ||
endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newline gaps before module = line and after source line
When building non-audio applications the generated .config file previously contained the entries CONFIG_AUDIO_MODULE_NAME_SIZE CONFIG_AUDIO_MODULE_LOG_LEVEL which we do not want to have there. Signed-off-by: Rubin Gerritsen <[email protected]>
It is not needed. Signed-off-by: Rubin Gerritsen <[email protected]>
f7441bd
to
99eb08e
Compare
@nrfconnect/ncs-audio , would you mind having a look at this one? :) |
When building non-audio applications the generated .config file previously contained the entries
CONFIG_AUDIO_MODULE_NAME_SIZE
CONFIG_AUDIO_MODULE_LOG_LEVEL
which we do not want to have there.