Skip to content

Commit 8ed4a07

Browse files
rimage: wcl: wire google hotword module manifest
Add Google hotword module manifest for WCL and include it when CONFIG_COMP_GOOGLE_HOTWORD_DETECT is enabled or all modular components are forced. Signed-off-by: Naveen Manohar <naveen.m@intel.com>
1 parent 54ea351 commit 8ed4a07

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#ifndef LOAD_TYPE
2+
#define LOAD_TYPE "0"
3+
#endif
4+
5+
[[module.entry]]
6+
name = "HOTWORD"
7+
uuid = UUIDREG_STR_GOOGLE_HOTWORD
8+
affinity_mask = "0x1"
9+
instance_count = "1"
10+
domain_types = "0"
11+
load_type = LOAD_TYPE
12+
module_type = "10"
13+
auto_start = "0"
14+
sched_caps = [1, 0x00008000]
15+
16+
REM # pin = [dir, type, sample rate, size, container, channel-cfg]
17+
pin = [0, 0, 0x8, 0x2, 0x2, 0x3,
18+
1, 0, 0xfeef, 0xf, 0xf, 0x1]
19+
20+
REM # mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
21+
mod_cfg = [0, 0, 0, 0, 0, 4000000, 0, 0, 0, 0, 0]
22+
23+
index = __COUNTER__

tools/rimage/config/wcl.toml.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ index = __COUNTER__
126126
#include <audio/google/google_rtc_audio_processing.toml>
127127
#endif
128128

129+
#if defined(CONFIG_COMP_GOOGLE_HOTWORD_DETECT) || defined(LLEXT_FORCE_ALL_MODULAR)
130+
#include <audio/google/google_hotword_detect.toml>
131+
#endif
132+
129133
#if defined(CONFIG_COMP_TDFB) || defined(LLEXT_FORCE_ALL_MODULAR)
130134
#include <audio/tdfb/tdfb.toml>
131135
#endif

0 commit comments

Comments
 (0)