Skip to content

Commit d29f75c

Browse files
DINESHKUMARK1stephanosio
authored andcommitted
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 <DineshKumar.Kalva@amd.com>
1 parent 9e3521c commit d29f75c

File tree

12 files changed

+485060
-0
lines changed

12 files changed

+485060
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 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
@@ -169,6 +170,7 @@ jobs:
169170
riscv64-zephyr-elf) build_target_riscv64_zephyr_elf="y";;
170171
sparc-zephyr-elf) build_target_sparc_zephyr_elf="y";;
171172
x86_64-zephyr-elf) build_target_x86_64_zephyr_elf="y";;
173+
xtensa-amd_acp_6_0_adsp_zephyr-elf) build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y";;
172174
xtensa-dc233c_zephyr-elf) build_target_xtensa_dc233c_zephyr_elf="y";;
173175
xtensa-espressif_esp32_zephyr-elf) build_target_xtensa_espressif_esp32_zephyr_elf="y";;
174176
xtensa-espressif_esp32s2_zephyr-elf) build_target_xtensa_espressif_esp32s2_zephyr_elf="y";;
@@ -214,6 +216,7 @@ jobs:
214216
build_target_riscv64_zephyr_elf="y"
215217
build_target_sparc_zephyr_elf="y"
216218
build_target_x86_64_zephyr_elf="y"
219+
build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y"
217220
build_target_xtensa_dc233c_zephyr_elf="y"
218221
build_target_xtensa_espressif_esp32_zephyr_elf="y"
219222
build_target_xtensa_espressif_esp32s2_zephyr_elf="y"
@@ -299,6 +302,7 @@ jobs:
299302
[ "${build_target_riscv64_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"riscv64-zephyr-elf",'
300303
[ "${build_target_sparc_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"sparc-zephyr-elf",'
301304
[ "${build_target_x86_64_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"x86_64-zephyr-elf",'
305+
[ "${build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-amd_acp_6_0_adsp_zephyr-elf",'
302306
[ "${build_target_xtensa_dc233c_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-dc233c_zephyr-elf",'
303307
[ "${build_target_xtensa_espressif_esp32_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32_zephyr-elf",'
304308
[ "${build_target_xtensa_espressif_esp32s2_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32s2_zephyr-elf",'
@@ -1550,6 +1554,11 @@ jobs:
15501554
PLATFORM_ARGS+="-p qemu_x86 "
15511555
PLATFORM_ARGS+="-p qemu_x86_64 "
15521556
;;
1557+
xtensa-amd_acp_6_0_adsp_zephyr-elf)
1558+
# xtensa-sample_controller32_zephyr-elf is untested because no
1559+
# upstream user platform is currently available.
1560+
# PLATFORM_ARGS+="-p acp_6_0 "
1561+
;;
15531562
xtensa-dc233c_zephyr-elf)
15541563
PLATFORM_ARGS+="-p qemu_xtensa/dc233c/mmu "
15551564
;;
Lines changed: 9 additions & 0 deletions
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_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_CC_GCC_CONFIG_TLS=n

0 commit comments

Comments
 (0)