Skip to content

Commit

Permalink
xtensa: Add 8ulp_adsp toolchain
Browse files Browse the repository at this point in the history
Add Xtensa toolchain for the HiFi4 DSP from i.MX8ULP.

Signed-off-by: Iuliana Prodan <[email protected]>
  • Loading branch information
iuliana-prodan committed Oct 9, 2023
1 parent 3e43417 commit 1166f8c
Show file tree
Hide file tree
Showing 13 changed files with 228,566 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ on:
- xtensa-mtk_mt8195_adsp_zephyr-elf
- xtensa-nxp_imx_adsp_zephyr-elf
- xtensa-nxp_imx8m_adsp_zephyr-elf
- xtensa-nxp_imx8ulp_adsp_zephyr-elf
- xtensa-nxp_rt500_adsp_zephyr-elf
- xtensa-sample_controller_zephyr-elf
debug:
Expand Down Expand Up @@ -170,6 +171,7 @@ jobs:
xtensa-mtk_mt8195_adsp_zephyr-elf) build_target_xtensa_mtk_mt8195_adsp_zephyr_elf="y";;
xtensa-nxp_imx_adsp_zephyr-elf) build_target_xtensa_nxp_imx_adsp_zephyr_elf="y";;
xtensa-nxp_imx8m_adsp_zephyr-elf) build_target_xtensa_nxp_imx8m_adsp_zephyr_elf="y";;
xtensa-nxp_imx8ulp_adsp_zephyr-elf) build_target_xtensa_nxp_imx8ulp_adsp_zephyr_elf="y";;
xtensa-nxp_rt500_adsp_zephyr-elf) build_target_xtensa_nxp_rt500_adsp_zephyr_elf="y";;
xtensa-sample_controller_zephyr-elf) build_target_xtensa_sample_controller_zephyr_elf="y";;
esac
Expand Down Expand Up @@ -209,6 +211,7 @@ jobs:
build_target_xtensa_mtk_mt8195_adsp_zephyr_elf="y"
build_target_xtensa_nxp_imx_adsp_zephyr_elf="y"
build_target_xtensa_nxp_imx8m_adsp_zephyr_elf="y"
build_target_xtensa_nxp_imx8ulp_adsp_zephyr_elf="y"
build_target_xtensa_nxp_rt500_adsp_zephyr_elf="y"
build_target_xtensa_sample_controller_zephyr_elf="y"
fi
Expand Down Expand Up @@ -288,6 +291,7 @@ jobs:
[ "${build_target_xtensa_mtk_mt8195_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-mtk_mt8195_adsp_zephyr-elf",'
[ "${build_target_xtensa_nxp_imx_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_imx_adsp_zephyr-elf",'
[ "${build_target_xtensa_nxp_imx8m_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_imx8m_adsp_zephyr-elf",'
[ "${build_target_xtensa_nxp_imx8ulp_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_imx8ulp_adsp_zephyr-elf",'
[ "${build_target_xtensa_nxp_rt500_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_rt500_adsp_zephyr-elf",'
[ "${build_target_xtensa_sample_controller_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-sample_controller_zephyr-elf",'
MATRIX_TARGETS+=']'
Expand Down Expand Up @@ -1552,6 +1556,9 @@ jobs:
xtensa-nxp_imx8m_adsp_zephyr-elf)
PLATFORM_ARGS+="-p nxp_adsp_imx8m "
;;
xtensa-nxp_imx8ulp_adsp_zephyr-elf)
PLATFORM_ARGS+="-p nxp_adsp_imx8ulp "
;;
xtensa-sample_controller_zephyr-elf)
PLATFORM_ARGS+="-p qemu_xtensa "
;;
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ The toolchains for the following target architectures are supported:
- SPARC (32-bit and 64-bit; SPARC V8, SPARC V9)
- x86 (32-bit and 64-bit)
- Xtensa (sample_controller, intel_ace15_mtpm, intel_tgl_adsp,
nxp_imx_adsp, nxp_imx8m_adsp, nxp_rt500_adsp, espressif_esp32, espressif_esp32s2,
espressif_esp32s3, mt8195_adsp)
nxp_imx_adsp, nxp_imx8m_adsp, nxp_imx8ulp_adsp, nxp_rt500_adsp,
espressif_esp32, espressif_esp32s2, espressif_esp32s3, mt8195_adsp)

The following host tools are available as part of the Zephyr SDK:

Expand Down
9 changes: 9 additions & 0 deletions configs/xtensa-nxp_imx8ulp_adsp_zephyr-elf.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CT_CONFIG_VERSION="3"
CT_EXPERIMENTAL=y
CT_OVERLAY_LOCATION="overlays"
CT_OVERLAY_NAME="nxp_imx8ulp_adsp"
CT_ARCH_XTENSA=y
CT_XTENSA_CUSTOM=y
CT_TARGET_VENDOR="nxp_imx8ulp_adsp_zephyr"
CT_TARGET_CFLAGS="-ftls-model=local-exec"
CT_CC_GCC_CONFIG_TLS=n
Loading

0 comments on commit 1166f8c

Please sign in to comment.