Skip to content

Commit b9b150a

Browse files
dcpleungnashif
authored andcommitted
xtensa: add xtensa_dc233c
This adds config and overlay to support the dc233c core that is available on QEMU. This core has more features than sample_controller, such as MMU support. The overlay comes from: https://github.com/jcmvbkbc/xtensa-toolchain-build/blob/master/overlays/original/dc233c.tar.gz Signed-off-by: Daniel Leung <daniel.leung@intel.com>
1 parent 7d1b95e commit b9b150a

File tree

12 files changed

+31878
-0
lines changed

12 files changed

+31878
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ on:
5050
- riscv64-zephyr-elf
5151
- sparc-zephyr-elf
5252
- x86_64-zephyr-elf
53+
- xtensa-dc233c_zephyr-elf
5354
- xtensa-espressif_esp32_zephyr-elf
5455
- xtensa-espressif_esp32s2_zephyr-elf
5556
- xtensa-espressif_esp32s3_zephyr-elf
@@ -159,6 +160,7 @@ jobs:
159160
riscv64-zephyr-elf) build_target_riscv64_zephyr_elf="y";;
160161
sparc-zephyr-elf) build_target_sparc_zephyr_elf="y";;
161162
x86_64-zephyr-elf) build_target_x86_64_zephyr_elf="y";;
163+
xtensa-dc233c_zephyr-elf) build_target_xtensa_dc233c_zephyr_elf="y";;
162164
xtensa-espressif_esp32_zephyr-elf) build_target_xtensa_espressif_esp32_zephyr_elf="y";;
163165
xtensa-espressif_esp32s2_zephyr-elf) build_target_xtensa_espressif_esp32s2_zephyr_elf="y";;
164166
xtensa-espressif_esp32s3_zephyr-elf) build_target_xtensa_espressif_esp32s3_zephyr_elf="y";;
@@ -196,6 +198,7 @@ jobs:
196198
build_target_riscv64_zephyr_elf="y"
197199
build_target_sparc_zephyr_elf="y"
198200
build_target_x86_64_zephyr_elf="y"
201+
build_target_xtensa_dc233c_zephyr_elf="y"
199202
build_target_xtensa_espressif_esp32_zephyr_elf="y"
200203
build_target_xtensa_espressif_esp32s2_zephyr_elf="y"
201204
build_target_xtensa_espressif_esp32s3_zephyr_elf="y"
@@ -273,6 +276,7 @@ jobs:
273276
[ "${build_target_riscv64_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"riscv64-zephyr-elf",'
274277
[ "${build_target_sparc_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"sparc-zephyr-elf",'
275278
[ "${build_target_x86_64_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"x86_64-zephyr-elf",'
279+
[ "${build_target_xtensa_dc233c_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-dc233c_zephyr-elf",'
276280
[ "${build_target_xtensa_espressif_esp32_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32_zephyr-elf",'
277281
[ "${build_target_xtensa_espressif_esp32s2_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32s2_zephyr-elf",'
278282
[ "${build_target_xtensa_espressif_esp32s3_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"xtensa-espressif_esp32s3_zephyr-elf",'
@@ -1520,6 +1524,9 @@ jobs:
15201524
PLATFORM_ARGS+="-p qemu_x86 "
15211525
PLATFORM_ARGS+="-p qemu_x86_64 "
15221526
;;
1527+
xtensa-dc233c_zephyr-elf)
1528+
PLATFORM_ARGS+="-p qemu_xtensa_dc233c "
1529+
;;
15231530
xtensa-espressif_esp32_zephyr-elf)
15241531
PLATFORM_ARGS+="-p esp32 "
15251532
;;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CT_CONFIG_VERSION="3"
2+
CT_EXPERIMENTAL=y
3+
CT_OVERLAY_LOCATION="overlays"
4+
CT_OVERLAY_NAME="dc233c"
5+
CT_ARCH_XTENSA=y
6+
CT_XTENSA_CUSTOM=y
7+
CT_TARGET_VENDOR="dc233c_zephyr"
8+
CT_TARGET_CFLAGS="-ftls-model=local-exec"

0 commit comments

Comments
 (0)