Skip to content

Commit e243e3c

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 0c5b22f commit e243e3c

File tree

13 files changed

+485062
-1
lines changed

13 files changed

+485062
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ on:
6666
- xtensa-nxp_rt500_adsp_zephyr-elf
6767
- xtensa-nxp_rt600_adsp_zephyr-elf
6868
- xtensa-sample_controller_zephyr-elf
69+
- xtensa-amd_acp_6_0_adsp_zephyr-elf
6970
debug:
7071
description: 'Debug'
7172
type: choice
@@ -180,6 +181,7 @@ jobs:
180181
xtensa-nxp_rt500_adsp_zephyr-elf) build_target_xtensa_nxp_rt500_adsp_zephyr_elf="y";;
181182
xtensa-nxp_rt600_adsp_zephyr-elf) build_target_xtensa_nxp_rt600_adsp_zephyr_elf="y";;
182183
xtensa-sample_controller_zephyr-elf) build_target_xtensa_sample_controller_zephyr_elf="y";;
184+
xtensa-amd_acp_6_0_adsp_zephyr-elf) build_target_xtensa-amd_acp_6_0_adsp_zephyr-elf="y";;
183185
esac
184186
185187
MATRIX_DEBUG="${{ github.event.inputs.debug }}"
@@ -222,6 +224,7 @@ jobs:
222224
build_target_xtensa_nxp_rt500_adsp_zephyr_elf="y"
223225
build_target_xtensa_nxp_rt600_adsp_zephyr_elf="y"
224226
build_target_xtensa_sample_controller_zephyr_elf="y"
227+
build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf="y"
225228
fi
226229
227230
# Build 'linux_x86_64' by default if no host is selected
@@ -304,6 +307,7 @@ jobs:
304307
[ "${build_target_xtensa_nxp_rt500_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_rt500_adsp_zephyr-elf",'
305308
[ "${build_target_xtensa_nxp_rt600_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_rt600_adsp_zephyr-elf",'
306309
[ "${build_target_xtensa_sample_controller_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-sample_controller_zephyr-elf",'
310+
[ "${build_target_xtensa_amd_acp_6_0_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-amd_acp_6_0_adsp_zephyr-elf",'
307311
MATRIX_TARGETS+=']'
308312
309313
# Generate test environment list
@@ -1591,6 +1595,9 @@ jobs:
15911595
xtensa-sample_controller_zephyr-elf)
15921596
PLATFORM_ARGS+="-p qemu_xtensa "
15931597
;;
1598+
xtensa-amd_acp_6_0_adsp_zephyr-elf)
1599+
PLATFORM_ARGS+="-p acp_6_0 "
1600+
;;
15941601
esac
15951602
done
15961603

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The toolchains for the following target architectures are supported:
1616
- x86 (32-bit and 64-bit)
1717
- Xtensa (sample_controller, intel_ace15_mtpm, intel_tgl_adsp,
1818
nxp_imx_adsp, nxp_imx8m_adsp, nxp_imx8ulp_adsp, nxp_rt500_adsp,
19-
espressif_esp32, espressif_esp32s2, espressif_esp32s3, mt8195_adsp)
19+
espressif_esp32, espressif_esp32s2, espressif_esp32s3, mt8195_adsp, amd_acp_6_0_adsp)
2020

2121
The following host tools are available as part of the Zephyr SDK:
2222

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)