Skip to content

CMake: Add Zephyr RTOS build support#68

Open
quic-aditrath wants to merge 1 commit intoAudioReach:masterfrom
quic-aditrath:root_cmake_zephyr_changes
Open

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

Conversation

@quic-aditrath
Copy link
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 requested review from a team February 26, 2026 04:58
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.

1 participant