Skip to content

Commit

Permalink
config: change RTC_AEC module to loadable module for multiple platforms
Browse files Browse the repository at this point in the history
This patch modifies the configuration to change the Google Real Time
Communication Audio Processing (RTC_AEC) module from built-in to a
loadable module for the MTPM, LNL, and PTL platforms. This change allows
for more flexibility in managing the module and reduces the firmware
size.

Changes include:
- Changing CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING from 'y' to 'm' in
  the intel_adsp_ace15_mtpm.conf configuration file.
- Changing CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING from 'y' to 'm' in
  the intel_adsp_ace20_lnl.conf configuration file.
- Changing CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING from 'y' to 'm' in
  the intel_adsp_ace30_ptl.conf configuration file.
- Adding CONFIG_LLEXT, CONFIG_LLEXT_STORAGE_WRITABLE, and CONFIG_MODULES
  to the intel_adsp_ace30_ptl.conf configuration file to support loadable
  modules.

This change ensures that the RTC_AEC module can be dynamically loaded as
needed, providing greater flexibility and potentially improving system
performance.

Signed-off-by: Tomasz Leman <[email protected]>
  • Loading branch information
tmleman committed Jan 22, 2025
1 parent 3d57a52 commit 8a77adf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/boards/intel_adsp_ace15_mtpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CONFIG_SAMPLE_KEYPHRASE=y
# SOF / audio modules / mocks
# This mock is part of official sof-bin releases because the CI that
# tests it can't use extra CONFIGs. See #9410, #8722 and #9386
CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING=y
CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING=m
CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK=y

# SOF / infrastructure
Expand Down
2 changes: 1 addition & 1 deletion app/boards/intel_adsp_ace20_lnl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CONFIG_SAMPLE_KEYPHRASE=y
# SOF / audio modules / mocks
# This mock is part of official sof-bin releases because the CI that
# tests it can't use extra CONFIGs. See #9410, #8722 and #9386
CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING=y
CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING=m
CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK=y

# SOF / infrastructure
Expand Down
2 changes: 1 addition & 1 deletion app/boards/intel_adsp_ace30_ptl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CONFIG_PIPELINE_2_0=y
# SOF / audio modules / mocks
# This mock is part of official sof-bin releases because the CI that
# tests it can't use extra CONFIGs. See #9410, #8722 and #9386
CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING=y
CONFIG_COMP_GOOGLE_RTC_AUDIO_PROCESSING=m
CONFIG_GOOGLE_RTC_AUDIO_PROCESSING_MOCK=y

# SOF / infrastructure
Expand Down

0 comments on commit 8a77adf

Please sign in to comment.