Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ on:
- arm-zephyr-eabi
- microblazeel-zephyr-elf
- mips-zephyr-elf
- or1k-zephyr-elf
- riscv64-zephyr-elf
- rx-zephyr-elf
- sparc-zephyr-elf
Expand Down Expand Up @@ -176,6 +177,7 @@ jobs:
arm-zephyr-eabi) build_target_arm_zephyr_eabi="y";;
microblazeel-zephyr-elf) build_target_microblazeel_zephyr_elf="y";;
mips-zephyr-elf) build_target_mips_zephyr_elf="y";;
or1k-zephyr-elf) build_target_or1k_zephyr_elf="y";;
riscv64-zephyr-elf) build_target_riscv64_zephyr_elf="y";;
rx-zephyr-elf) build_target_rx_zephyr_elf="y";;
sparc-zephyr-elf) build_target_sparc_zephyr_elf="y";;
Expand Down Expand Up @@ -228,6 +230,7 @@ jobs:
build_target_arm_zephyr_eabi="y"
build_target_microblazeel_zephyr_elf="y"
build_target_mips_zephyr_elf="y"
build_target_or1k_zephyr_elf="y"
build_target_riscv64_zephyr_elf="y"
build_target_rx_zephyr_elf="y"
build_target_sparc_zephyr_elf="y"
Expand Down Expand Up @@ -320,6 +323,7 @@ jobs:
[ "${build_target_arm_zephyr_eabi}" == "y" ] && MATRIX_TARGETS+='"arm-zephyr-eabi",'
[ "${build_target_microblazeel_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"microblazeel-zephyr-elf",'
[ "${build_target_mips_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"mips-zephyr-elf",'
[ "${build_target_or1k_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"or1k-zephyr-elf",'
[ "${build_target_riscv64_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"riscv64-zephyr-elf",'
[ "${build_target_rx_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"rx-zephyr-elf",'
[ "${build_target_sparc_zephyr_elf}" == "y" ] && MATRIX_TARGETS+='"sparc-zephyr-elf",'
Expand Down Expand Up @@ -1827,6 +1831,10 @@ jobs:
mips-zephyr-elf)
PLATFORM_ARGS+="-p qemu_malta "
;;
or1k-zephyr-elf)
# TODO: Enable qemu_or1k when zephyrproject-rtos/zephyr#98160 is merged
# PLATFORM_ARGS+="-p qemu_or1k "
;;
riscv64-zephyr-elf)
PLATFORM_ARGS+="-p qemu_riscv32 "
PLATFORM_ARGS+="-p qemu_riscv32e "
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ The toolchains for the following target architectures are supported:
- Microblaze (32-bit)
- MIPS (32-bit and 64-bit)
- Nios II
- OpenRISC 1000
- RISC-V (32-bit and 64-bit; RV32I, RV32E, RV64I)
- RX
- SPARC (32-bit and 64-bit; SPARC V8, SPARC V9)
Expand Down
1 change: 1 addition & 0 deletions cmake/zephyr/gnu/target.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ set(CROSS_COMPILE_TARGET_riscv riscv64-zephyr-elf)
set(CROSS_COMPILE_TARGET_mips mips-zephyr-elf)
set(CROSS_COMPILE_TARGET_rx rx-zephyr-elf)
set(CROSS_COMPILE_TARGET_microblaze microblazeel-zephyr-elf)
set(CROSS_COMPILE_TARGET_or1k or1k-zephyr-elf)
set(CROSS_COMPILE_TARGET_xtensa xtensa-${SOC_TOOLCHAIN_NAME}_zephyr-elf)

# ARC uses the same source tree for both ARCv2 & ARCv3 architectures,
Expand Down
6 changes: 6 additions & 0 deletions configs/or1k-zephyr-elf.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CT_CONFIG_VERSION="3"
CT_EXPERIMENTAL=y
CT_ARCH_OPENRISC=y
CT_TARGET_CFLAGS="-ftls-model=local-exec"
CT_TARGET_VENDOR="zephyr"
CT_MULTILIB=y
Loading