Skip to content

Commit 7dcd839

Browse files
Sivasubramanian678nashif
authored andcommitted
xtensa: Add xtensa-amd_acp_7_3_adsp_zephyr-elf
This adds the config and overlay files to enable building the toolchain needed for the acp7_3 board in Zephyr. Signed-off-by: Sivasubramanian <sravisar@amd.com>
1 parent 1be8881 commit 7dcd839

File tree

14 files changed

+542259
-0
lines changed

14 files changed

+542259
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
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_3_adsp_zephyr-elf
5657
- xtensa-dc233c_zephyr-elf
5758
- xtensa-espressif_esp32_zephyr-elf
5859
- xtensa-espressif_esp32s2_zephyr-elf
@@ -178,6 +179,7 @@ jobs:
178179
sparc-zephyr-elf) build_target_sparc_zephyr_elf="y";;
179180
x86_64-zephyr-elf) build_target_x86_64_zephyr_elf="y";;
180181
xtensa-amd_acp_6_0_adsp_zephyr-elf) build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y";;
182+
xtensa-amd_acp_7_3_adsp_zephyr-elf) build_target_xtensa_amd_acp_7_3_adsp_zephyr_elf="y";;
181183
xtensa-dc233c_zephyr-elf) build_target_xtensa_dc233c_zephyr_elf="y";;
182184
xtensa-espressif_esp32_zephyr-elf) build_target_xtensa_espressif_esp32_zephyr_elf="y";;
183185
xtensa-espressif_esp32s2_zephyr-elf) build_target_xtensa_espressif_esp32s2_zephyr_elf="y";;
@@ -227,6 +229,7 @@ jobs:
227229
build_target_sparc_zephyr_elf="y"
228230
build_target_x86_64_zephyr_elf="y"
229231
build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y"
232+
build_target_xtensa_amd_acp_7_3_adsp_zephyr_elf="y"
230233
build_target_xtensa_dc233c_zephyr_elf="y"
231234
build_target_xtensa_espressif_esp32_zephyr_elf="y"
232235
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_3_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-amd_acp_7_3_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",'
@@ -1703,6 +1707,11 @@ jobs:
17031707
# upstream user platform is currently available.
17041708
# PLATFORM_ARGS+="-p acp_6_0 "
17051709
;;
1710+
xtensa-amd_acp_7_3_adsp_zephyr-elf)
1711+
# xtensa-sample_controller32_zephyr-elf is untested because no
1712+
# upstream user platform is currently available.
1713+
# PLATFORM_ARGS+="-p acp_7_3 "
1714+
;;
17061715
xtensa-dc233c_zephyr-elf)
17071716
PLATFORM_ARGS+="-p qemu_xtensa/dc233c/mmu "
17081717
;;
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_7_3_adsp"
5+
CT_ARCH_XTENSA=y
6+
CT_XTENSA_CUSTOM=y
7+
CT_TARGET_VENDOR="amd_acp_7_3_adsp_zephyr"
8+
CT_TARGET_CFLAGS="-ftls-model=local-exec"
9+
CT_CC_GCC_CONFIG_TLS=n

0 commit comments

Comments
 (0)