Skip to content

Commit

Permalink
zephyr: build: add support for imx8ulp
Browse files Browse the repository at this point in the history
Build SOF with Zephyr for i.MX8ULP platform.

Signed-off-by: Zhang Peng <peng.zhang_8@nxp.com>
  • Loading branch information
Zhang Peng authored and dbaluta committed Nov 6, 2023
1 parent 06ead2e commit 8447952
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,34 @@ if (CONFIG_SOC_SERIES_NXP_IMX8M)
set(PLATFORM "imx8m")
endif()

if (CONFIG_SOC_SERIES_NXP_IMX8ULP)
zephyr_library_sources(
${SOF_DRIVERS_PATH}/generic/dummy-dma.c
${SOF_DRIVERS_PATH}/imx/edma.c
${SOF_DRIVERS_PATH}/imx/sai.c
${SOF_DRIVERS_PATH}/imx/ipc.c
${SOF_DRIVERS_PATH}/imx/interrupt-generic.c
)

# Platform sources
zephyr_library_sources(
${SOF_PLATFORM_PATH}/imx8ulp/platform.c
${SOF_PLATFORM_PATH}/imx8ulp/lib/clk.c
${SOF_PLATFORM_PATH}/imx8ulp/lib/dai.c
${SOF_PLATFORM_PATH}/imx8ulp/lib/dma.c
${SOF_PLATFORM_PATH}/imx8ulp/lib/memory.c
)

# SOF core infrastructure - runs on top of Zephyr
zephyr_library_sources(
${SOF_SRC_PATH}/drivers/interrupt.c
)

zephyr_library_sources(${SOF_SRC_PATH}/schedule/zephyr_ll.c)

set(PLATFORM "imx8ulp")
endif()

if (CONFIG_SOC_SERIES_MIMX9_A55)
# Platform sources
zephyr_library_sources(
Expand Down

0 comments on commit 8447952

Please sign in to comment.