Skip to content

CMake: Add Zephyr RTOS build support#68

Merged
quic-aditrath merged 1 commit intoAudioReach:masterfrom
quic-aditrath:root_cmake_zephyr_changes
Apr 9, 2026
Merged

CMake: Add Zephyr RTOS build support#68
quic-aditrath merged 1 commit intoAudioReach:masterfrom
quic-aditrath:root_cmake_zephyr_changes

Conversation

@quic-aditrath
Copy link
Copy Markdown
Contributor

Add Zephyr architecture support to the CMake build system to enable enable building the audio framework on Zephyr-based embedded platforms.

  • Add zephyr_INCLUDE variable with ar_osal API path
  • Reuse linux POSIX implementation by setting TGT_SPECIFIC_FOLDER to linux
  • Include zephyr-specific headers in global include directories
  • Link zephyr_interface library for Zephyr kernel integration
  • Build ar-gpr and ar-osal subdirectories for Zephyr architecture
  • Link spf target with ar-gpr and ar-osal libraries

This enables the audio processing framework to run on Zephyr RTOS while leveraging existing POSIX-compatible code paths from the Linux implementation.

Add Zephyr architecture support to the CMake build system to enable
enable building the audio framework on Zephyr-based embedded platforms.

* Add zephyr_INCLUDE variable with ar_osal API path
* Reuse linux POSIX implementation by setting TGT_SPECIFIC_FOLDER
  to linux
* Include zephyr-specific headers in global include directories
* Link zephyr_interface library for Zephyr kernel integration
* Build ar-gpr and ar-osal subdirectories for Zephyr architecture
* Link spf target with ar-gpr and ar-osal libraries

This enables the audio processing framework to run on Zephyr RTOS
while leveraging existing POSIX-compatible code paths from the
Linux implementation.

Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.com>
@quic-aditrath quic-aditrath merged commit d930f44 into AudioReach:master Apr 9, 2026
11 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.

3 participants