Skip to content

Commit 43ef499

Browse files
Sivasubramanian678nashif
authored andcommitted
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 acp7_0 board in Zephyr. Signed-off-by: Sivasubramanian <sravisar@amd.com>
1 parent ba54693 commit 43ef499

File tree

14 files changed

+501368
-0
lines changed

14 files changed

+501368
-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_0_adsp_zephyr-elf
5657
- xtensa-amd_acp_7_3_adsp_zephyr-elf
5758
- xtensa-dc233c_zephyr-elf
5859
- xtensa-espressif_esp32_zephyr-elf
@@ -179,6 +180,7 @@ jobs:
179180
sparc-zephyr-elf) build_target_sparc_zephyr_elf="y";;
180181
x86_64-zephyr-elf) build_target_x86_64_zephyr_elf="y";;
181182
xtensa-amd_acp_6_0_adsp_zephyr-elf) build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y";;
183+
xtensa-amd_acp_7_0_adsp_zephyr-elf) build_target_xtensa_amd_acp_7_0_adsp_zephyr_elf="y";;
182184
xtensa-amd_acp_7_3_adsp_zephyr-elf) build_target_xtensa_amd_acp_7_3_adsp_zephyr_elf="y";;
183185
xtensa-dc233c_zephyr-elf) build_target_xtensa_dc233c_zephyr_elf="y";;
184186
xtensa-espressif_esp32_zephyr-elf) build_target_xtensa_espressif_esp32_zephyr_elf="y";;
@@ -229,6 +231,7 @@ jobs:
229231
build_target_sparc_zephyr_elf="y"
230232
build_target_x86_64_zephyr_elf="y"
231233
build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y"
234+
build_target_xtensa_amd_acp_7_0_adsp_zephyr_elf="y"
232235
build_target_xtensa_amd_acp_7_3_adsp_zephyr_elf="y"
233236
build_target_xtensa_dc233c_zephyr_elf="y"
234237
build_target_xtensa_espressif_esp32_zephyr_elf="y"
@@ -319,6 +322,7 @@ jobs:
319322
[ "${build_target_sparc_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"sparc-zephyr-elf",'
320323
[ "${build_target_x86_64_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"x86_64-zephyr-elf",'
321324
[ "${build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-amd_acp_6_0_adsp_zephyr-elf",'
325+
[ "${build_target_xtensa_amd_acp_7_0_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-amd_acp_7_0_adsp_zephyr-elf",'
322326
[ "${build_target_xtensa_amd_acp_7_3_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-amd_acp_7_3_adsp_zephyr-elf",'
323327
[ "${build_target_xtensa_dc233c_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-dc233c_zephyr-elf",'
324328
[ "${build_target_xtensa_espressif_esp32_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32_zephyr-elf",'
@@ -1707,6 +1711,11 @@ jobs:
17071711
# upstream user platform is currently available.
17081712
# PLATFORM_ARGS+="-p acp_6_0 "
17091713
;;
1714+
xtensa-amd_acp_7_0_adsp_zephyr-elf)
1715+
# xtensa-sample_controller32_zephyr-elf is untested because no
1716+
# upstream user platform is currently available.
1717+
# PLATFORM_ARGS+="-p acp_7_0 "
1718+
;;
17101719
xtensa-amd_acp_7_3_adsp_zephyr-elf)
17111720
# xtensa-sample_controller32_zephyr-elf is untested because no
17121721
# upstream user platform is currently available.
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_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)