Skip to content

Commit a29ed5f

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 90d6193 commit a29ed5f

File tree

12 files changed

+499835
-0
lines changed

12 files changed

+499835
-0
lines changed

.github/workflows/ci.yml

+9
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ on:
5454
- sparc-zephyr-elf
5555
- x86_64-zephyr-elf
5656
- xtensa-amd_acp_6_0_adsp_zephyr-elf
57+
- xtensa-amd_acp_7_0_adsp_zephyr-elf
5758
- xtensa-dc233c_zephyr-elf
5859
- xtensa-espressif_esp32_zephyr-elf
5960
- xtensa-espressif_esp32s2_zephyr-elf
@@ -176,6 +177,7 @@ jobs:
176177
sparc-zephyr-elf) build_target_sparc_zephyr_elf="y";;
177178
x86_64-zephyr-elf) build_target_x86_64_zephyr_elf="y";;
178179
xtensa-amd_acp_6_0_adsp_zephyr-elf) build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y";;
180+
xtensa-amd_acp_7_0_adsp_zephyr-elf) build_target_xtensa_amd_acp_7_0_adsp_zephyr_elf="y";;
179181
xtensa-dc233c_zephyr-elf) build_target_xtensa_dc233c_zephyr_elf="y";;
180182
xtensa-espressif_esp32_zephyr-elf) build_target_xtensa_espressif_esp32_zephyr_elf="y";;
181183
xtensa-espressif_esp32s2_zephyr-elf) build_target_xtensa_espressif_esp32s2_zephyr_elf="y";;
@@ -226,6 +228,7 @@ jobs:
226228
build_target_sparc_zephyr_elf="y"
227229
build_target_x86_64_zephyr_elf="y"
228230
build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y"
231+
build_target_xtensa_amd_acp_7_0_adsp_zephyr_elf="y"
229232
build_target_xtensa_dc233c_zephyr_elf="y"
230233
build_target_xtensa_espressif_esp32_zephyr_elf="y"
231234
build_target_xtensa_espressif_esp32s2_zephyr_elf="y"
@@ -316,6 +319,7 @@ jobs:
316319
[ "${build_target_sparc_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"sparc-zephyr-elf",'
317320
[ "${build_target_x86_64_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"x86_64-zephyr-elf",'
318321
[ "${build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-amd_acp_6_0_adsp_zephyr-elf",'
322+
[ "${build_target_xtensa_amd_acp_7_0_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-amd_acp_7_0_adsp_zephyr-elf",'
319323
[ "${build_target_xtensa_dc233c_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-dc233c_zephyr-elf",'
320324
[ "${build_target_xtensa_espressif_esp32_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32_zephyr-elf",'
321325
[ "${build_target_xtensa_espressif_esp32s2_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32s2_zephyr-elf",'
@@ -1583,6 +1587,11 @@ jobs:
15831587
# upstream user platform is currently available.
15841588
# PLATFORM_ARGS+="-p acp_6_0 "
15851589
;;
1590+
xtensa-amd_acp_7_0_adsp_zephyr-elf)
1591+
# xtensa-sample_controller32_zephyr-elf is untested because no
1592+
# upstream user platform is currently available.
1593+
# PLATFORM_ARGS+="-p acp_7_0 "
1594+
;;
15861595
xtensa-dc233c_zephyr-elf)
15871596
PLATFORM_ARGS+="-p qemu_xtensa/dc233c/mmu "
15881597
;;
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)