Skip to content

Commit 39f90d2

Browse files
xtensa: Add xtensa-amd_acp_7_0_adsp_zephyr-elf.
This adds the config and overlay files to enable building the toolchain needed for the acp_7_0 board in Zephyr. Signed-off-by: Sivasubramanian <[email protected]>
1 parent 8b753ca commit 39f90d2

File tree

13 files changed

+499838
-1
lines changed

13 files changed

+499838
-1
lines changed

.github/workflows/ci.yml

+9
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ on:
5353
- sparc-zephyr-elf
5454
- x86_64-zephyr-elf
5555
- xtensa-amd_acp_6_0_adsp_zephyr-elf
56+
- xtensa-amd_acp_7_0_adsp_zephyr-elf
5657
- xtensa-dc233c_zephyr-elf
5758
- xtensa-espressif_esp32_zephyr-elf
5859
- xtensa-espressif_esp32s2_zephyr-elf
@@ -174,6 +175,7 @@ jobs:
174175
sparc-zephyr-elf) build_target_sparc_zephyr_elf="y";;
175176
x86_64-zephyr-elf) build_target_x86_64_zephyr_elf="y";;
176177
xtensa-amd_acp_6_0_adsp_zephyr-elf) build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y";;
178+
xtensa-amd_acp_7_0_adsp_zephyr-elf) build_target_xtensa_amd_acp_7_0_adsp_zephyr_elf="y";;
177179
xtensa-dc233c_zephyr-elf) build_target_xtensa_dc233c_zephyr_elf="y";;
178180
xtensa-espressif_esp32_zephyr-elf) build_target_xtensa_espressif_esp32_zephyr_elf="y";;
179181
xtensa-espressif_esp32s2_zephyr-elf) build_target_xtensa_espressif_esp32s2_zephyr_elf="y";;
@@ -223,6 +225,7 @@ jobs:
223225
build_target_sparc_zephyr_elf="y"
224226
build_target_x86_64_zephyr_elf="y"
225227
build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y"
228+
build_target_xtensa_amd_acp_7_0_adsp_zephyr_elf="y"
226229
build_target_xtensa_dc233c_zephyr_elf="y"
227230
build_target_xtensa_espressif_esp32_zephyr_elf="y"
228231
build_target_xtensa_espressif_esp32s2_zephyr_elf="y"
@@ -312,6 +315,7 @@ jobs:
312315
[ "${build_target_sparc_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"sparc-zephyr-elf",'
313316
[ "${build_target_x86_64_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"x86_64-zephyr-elf",'
314317
[ "${build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-amd_acp_6_0_adsp_zephyr-elf",'
318+
[ "${build_target_xtensa_amd_acp_7_0_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-amd_acp_7_0_adsp_zephyr-elf",'
315319
[ "${build_target_xtensa_dc233c_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-dc233c_zephyr-elf",'
316320
[ "${build_target_xtensa_espressif_esp32_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32_zephyr-elf",'
317321
[ "${build_target_xtensa_espressif_esp32s2_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32s2_zephyr-elf",'
@@ -1576,6 +1580,11 @@ jobs:
15761580
# upstream user platform is currently available.
15771581
# PLATFORM_ARGS+="-p acp_6_0 "
15781582
;;
1583+
xtensa-amd_acp_7_0_adsp_zephyr-elf)
1584+
# xtensa-sample_controller32_zephyr-elf is untested because no
1585+
# upstream user platform is currently available.
1586+
# PLATFORM_ARGS+="-p acp_7_0 "
1587+
;;
15791588
xtensa-dc233c_zephyr-elf)
15801589
PLATFORM_ARGS+="-p qemu_xtensa/dc233c/mmu "
15811590
;;

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ The toolchains for the following target architectures are supported:
1414
- RISC-V (32-bit and 64-bit; RV32I, RV32E, RV64I)
1515
- SPARC (32-bit and 64-bit; SPARC V8, SPARC V9)
1616
- x86 (32-bit and 64-bit)
17-
- Xtensa (sample_controller and other vendor-specific variants)
17+
- Xtensa (sample_controller,intel_ace15_mtpm, intel_tgl_adsp,
18+
nxp_imx_adsp, nxp_imx8m_adsp, nxp_imx8ulp_adsp, nxp_rt500_adsp,
19+
espressif_esp32, espressif_esp32s2, espressif_esp32s3, mt8195_adsp, amd_acp_6_0_adsp,amd_acp_7_0_adsp)
1820

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CT_CONFIG_VERSION="3"
2+
CT_EXPERIMENTAL=y
3+
CT_OVERLAY_LOCATION="overlays"
4+
CT_OVERLAY_NAME="amd_acp_7_0_adsp"
5+
CT_ARCH_XTENSA=y
6+
CT_XTENSA_CUSTOM=y
7+
CT_TARGET_VENDOR="amd_acp_7_0_adsp_zephyr"
8+
CT_TARGET_CFLAGS="-ftls-model=local-exec"
9+
CT_CC_GCC_CONFIG_TLS=n

0 commit comments

Comments
 (0)