Skip to content

Commit 894223d

Browse files
committed
xtensa: Add xtensa-amd_acp_6_0_adsp_zephyr-elf.
This adds the config and overlay files to enable building the toolchain needed for the acp_6_0 board in Zephyr. Signed-off-by: DINESHKUMAR <[email protected]>
1 parent 2e83438 commit 894223d

File tree

13 files changed

+485066
-3
lines changed

13 files changed

+485066
-3
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ on:
5252
- riscv64-zephyr-elf
5353
- sparc-zephyr-elf
5454
- x86_64-zephyr-elf
55+
- xtensa-amd_acp_6_0_adsp_zephyr-elf
5556
- xtensa-dc233c_zephyr-elf
5657
- xtensa-espressif_esp32_zephyr-elf
5758
- xtensa-espressif_esp32s2_zephyr-elf
@@ -166,6 +167,7 @@ jobs:
166167
riscv64-zephyr-elf) build_target_riscv64_zephyr_elf="y";;
167168
sparc-zephyr-elf) build_target_sparc_zephyr_elf="y";;
168169
x86_64-zephyr-elf) build_target_x86_64_zephyr_elf="y";;
170+
xtensa-amd_acp_6_0_adsp_zephyr-elf) build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y";;
169171
xtensa-dc233c_zephyr-elf) build_target_xtensa_dc233c_zephyr_elf="y";;
170172
xtensa-espressif_esp32_zephyr-elf) build_target_xtensa_espressif_esp32_zephyr_elf="y";;
171173
xtensa-espressif_esp32s2_zephyr-elf) build_target_xtensa_espressif_esp32s2_zephyr_elf="y";;
@@ -208,6 +210,7 @@ jobs:
208210
build_target_riscv64_zephyr_elf="y"
209211
build_target_sparc_zephyr_elf="y"
210212
build_target_x86_64_zephyr_elf="y"
213+
build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y"
211214
build_target_xtensa_dc233c_zephyr_elf="y"
212215
build_target_xtensa_espressif_esp32_zephyr_elf="y"
213216
build_target_xtensa_espressif_esp32s2_zephyr_elf="y"
@@ -290,6 +293,7 @@ jobs:
290293
[ "${build_target_riscv64_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"riscv64-zephyr-elf",'
291294
[ "${build_target_sparc_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"sparc-zephyr-elf",'
292295
[ "${build_target_x86_64_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"x86_64-zephyr-elf",'
296+
[ "${build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-amd_acp_6_0_adsp_zephyr-elf",'
293297
[ "${build_target_xtensa_dc233c_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-dc233c_zephyr-elf",'
294298
[ "${build_target_xtensa_espressif_esp32_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32_zephyr-elf",'
295299
[ "${build_target_xtensa_espressif_esp32s2_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32s2_zephyr-elf",'
@@ -1534,6 +1538,9 @@ jobs:
15341538
PLATFORM_ARGS+="-p qemu_x86 "
15351539
PLATFORM_ARGS+="-p qemu_x86_64 "
15361540
;;
1541+
xtensa-amd_acp_6_0_adsp_zephyr-elf)
1542+
PLATFORM_ARGS+="-p acp_6_0 "
1543+
;;
15371544
xtensa-dc233c_zephyr-elf)
15381545
PLATFORM_ARGS+="-p qemu_xtensa/dc233c/mmu "
15391546
;;

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ 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, 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)
17+
- Xtensa (sample_controller, amd_acp_6_0_adsp, intel_ace15_mtpm,
18+
intel_tgl_adsp, nxp_imx_adsp, nxp_imx8m_adsp, nxp_imx8ulp_adsp,
19+
nxp_rt500_adsp, espressif_esp32, espressif_esp32s2, espressif_esp32s3,
20+
mt8195_adsp)
2021

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CT_CONFIG_VERSION="3"
2+
CT_EXPERIMENTAL=y
3+
CT_OVERLAY_LOCATION="overlays"
4+
CT_OVERLAY_NAME="amd_acp_6_0_adsp"
5+
CT_ARCH_XTENSA=y
6+
CT_XTENSA_CUSTOM=y
7+
CT_TARGET_VENDOR="amd_acp_6_0_adsp_zephyr"
8+
CT_TARGET_CFLAGS="-ftls-model=local-exec"
9+
CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--enable-xtensa-use-target-regnum --disable-xtensa-remote-g-packet"
10+
CT_CC_GCC_CONFIG_TLS=n

0 commit comments

Comments
 (0)