Skip to content

Conversation

@quic-aditrath
Copy link
Contributor

No description provided.

Copy link
Contributor

@quic-plai quic-plai left a comment

Choose a reason for hiding this comment

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

Please see inline comment

… XML

Introduces a new Kconfig option `PROC_DOMAIN` that allows developers
to specify the target processor domain ID for AudioReach (ARE) modules.
This value is used by the H2XML parser to embed the processor domain ID
into the generated module XML, addressing the current limitation where
the PROCESSORS element is missing by default.

Supported domain options include: ADSP, MDSP, APPS, SDSP, CDSP, CC_DSP,
GDSP_0, GDSP_1, and APPS_2.

This eliminates the need for manual XML edits when targeting non-default
processor (ADSP).

Signed-off-by: Aditya Rathi <quic_aditrath@quicinc.com>
Update the default configuration to set `CONFIG_PROC_DOMAIN="ADSP"` in
the Linux defconfig.

Signed-off-by: Aditya Rathi <quic_aditrath@quicinc.com>
Add check in CMake to ensure PROC_DOMAIN value is defined,
non-empty and has a supported processor domain ID value.

Signed-off-by: Aditya Rathi <quic_aditrath@quicinc.com>
Update the H2XML command in `spf_module_sources` to include the
`@h2xml_processors{<PROC_DOMAIN_NAME>}` annotation. This ensures that
the generated module XML includes the processor domain ID, as configured
via `CONFIG_PROC_DOMAIN`.

Signed-off-by: Aditya Rathi <quic_aditrath@quicinc.com>
@quic-aditrath quic-aditrath force-pushed the h2xml_enable_proc_domain branch from a2d0e6e to a8e3d36 Compare September 10, 2025 14:42
@quic-plai quic-plai merged commit 17fae9c into AudioReach:master Oct 30, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Solution to generate processor ID element in module XML generated from H2XML parser

2 participants