Skip to content

Commit f36ccaf

Browse files
dbalutastephanosio
authored andcommitted
xtensa: Add rt700_hifi4 toolchain
Add Xtensa toolchain for HIFI4 core found on imxrt700. Signed-off-by: Daniel Baluta <[email protected]>
1 parent e8e995c commit f36ccaf

File tree

13 files changed

+229675
-0
lines changed

13 files changed

+229675
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 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-nxp_rt700_hifi1_zephyr-elf
69+
- xtensa-nxp_rt700_hifi4_zephyr-elf
6970
- xtensa-sample_controller_zephyr-elf
7071
debug:
7172
description: 'Debug'
@@ -181,6 +182,7 @@ jobs:
181182
xtensa-nxp_rt500_adsp_zephyr-elf) build_target_xtensa_nxp_rt500_adsp_zephyr_elf="y";;
182183
xtensa-nxp_rt600_adsp_zephyr-elf) build_target_xtensa_nxp_rt600_adsp_zephyr_elf="y";;
183184
xtensa-nxp_rt700_hifi1_zephyr-elf) build_target_xtensa_nxp_rt700_hifi1_zephyr_elf="y";;
185+
xtensa-nxp_rt700_hifi4_zephyr-elf) build_target_xtensa_nxp_rt700_hifi4_zephyr_elf="y";;
184186
xtensa-sample_controller_zephyr-elf) build_target_xtensa_sample_controller_zephyr_elf="y";;
185187
esac
186188
@@ -224,6 +226,7 @@ jobs:
224226
build_target_xtensa_nxp_rt500_adsp_zephyr_elf="y"
225227
build_target_xtensa_nxp_rt600_adsp_zephyr_elf="y"
226228
build_target_xtensa_nxp_rt700_hifi1_zephyr_elf="y"
229+
build_target_xtensa_nxp_rt700_hifi4_zephyr_elf="y"
227230
build_target_xtensa_sample_controller_zephyr_elf="y"
228231
fi
229232
@@ -307,6 +310,7 @@ jobs:
307310
[ "${build_target_xtensa_nxp_rt500_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_rt500_adsp_zephyr-elf",'
308311
[ "${build_target_xtensa_nxp_rt600_adsp_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_rt600_adsp_zephyr-elf",'
309312
[ "${build_target_xtensa_nxp_rt700_hifi1_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_rt700_hifi1_zephyr-elf",'
313+
[ "${build_target_xtensa_nxp_rt700_hifi4_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-nxp_rt700_hifi4_zephyr-elf",'
310314
[ "${build_target_xtensa_sample_controller_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-sample_controller_zephyr-elf",'
311315
MATRIX_TARGETS+=']'
312316
@@ -1587,6 +1591,10 @@ jobs:
15871591
# xtensa-nxp_rt700_hifi1_zephyr-elf is untested because no
15881592
# upstream user platform is currently available.
15891593
;;
1594+
xtensa-nxp_rt700_hifi4_zephyr-elf)
1595+
# xtensa-nxp_rt700_hifi4_zephyr-elf is untested because no
1596+
# upstream user platform is currently available.
1597+
;;
15901598
xtensa-sample_controller_zephyr-elf)
15911599
PLATFORM_ARGS+="-p qemu_xtensa "
15921600
;;
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CT_CONFIG_VERSION="3"
2+
CT_EXPERIMENTAL=y
3+
CT_OVERLAY_LOCATION="overlays"
4+
CT_OVERLAY_NAME="nxp_rt700_hifi4"
5+
CT_ARCH_XTENSA=y
6+
CT_XTENSA_CUSTOM=y
7+
CT_TARGET_VENDOR="nxp_rt700_hifi4_zephyr"
8+
CT_TARGET_CFLAGS="-ftls-model=local-exec"
9+
CT_CC_GCC_CONFIG_TLS=n
10+
CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="--enable-xtensa-use-target-regnum --disable-xtensa-remote-g-packet"

0 commit comments

Comments
 (0)