Skip to content

Releases: hydrausb3/riscv-none-elf-gcc-xpack

xPack GNU RISC-V Embedded GCC v12.2.0-1 with support of WCH RISCV CH56x... "WCH-Interrupt-fast"

20 Dec 16:26
Compare
Choose a tag to compare

Release 12.2.0-1 is a new release of the xPack RISC-V Embedded GCC package, following the upstream GNU GCC release.

  • This version is the same as https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/tag/v12.2.0-1 but it add support of WCH RISCV CH56x... "WCH-Interrupt-fast"

See in Assets pre-built version for Linux & Windows

  • Pre-built version (no multilib/minimalist)
    xpack-riscv-none-elf-gcc-12.2.0-1-linux-x64.tar.gz & xpack-riscv-none-elf-gcc-12.2.0-1-win32-x64.zip have been generated using following command (using Docker)
    bash ${HOME}/Work/riscv-none-elf-gcc-xpack.git/scripts/helper/build.sh --develop --disable-tests --linux64 --win64

    • Note: This version is no multilib/minimalist (because built with option --develop) and support only
      • rv32emac/ilp32e;@march=rv32emac@mabi=ilp32e
      • rv32ima/ilp32;@march=rv32ima@mabi=ilp32
      • rv64imac/lp64;@march=rv64imac@mabi=lp64
      • Including also march rv32imac_zicsr for WCH CH56x using special interrupt "WCH-Interrupt-fast"
    • xPack GNU RISC-V Embedded GCC v12.2.0-1 (with patch gcc-12.2.0-riscv-wch-fast-interrupt.patch)
      Prerequisites:
      • GNU/Linux Intel 64-bit: any system with GLIBC 2.27 or higher (like Ubuntu 18 or later, Debian 10 or later, RedHat 8 later, Fedora 29 or later, etc)
      • Intel Windows 64-bit: Windows 7 with the Universal C Runtime (UCRT), Windows 8, Windows 10
  • Pre-built version (multilib for all RISC-V MCU/CPU supported by xpack-riscv-none-elf-gcc-12.2.0-1)
    xpack-riscv-none-elf-gcc-12.2.0-2-linux-x64.tar.gz & xpack-riscv-none-elf-gcc-12.2.0-2-win32-x64.zip have been generated using following command (using Docker)
    bash ${HOME}/Work/riscv-none-elf-gcc-xpack.git/scripts/helper/build.sh --disable-tests --linux64 --win64

    • Note: In the archive it is xpack-riscv-none-elf-gcc-12.2.0-1 it is just the archive which is renamed to xpack-riscv-none-elf-gcc-12.2.0-2 to differentiate it from the no multilib/minimalist archive which is called xpack-riscv-none-elf-gcc-12.2.0-1
    • xPack GNU RISC-V Embedded GCC v12.2.0-1 (with patch gcc-12.2.0-riscv-wch-fast-interrupt.patch)
      Prerequisites:
      • GNU/Linux Intel 64-bit: any system with GLIBC 2.27 or higher (like Ubuntu 18 or later, Debian 10 or later, RedHat 8 later, Fedora 29 or later, etc)
      • Intel Windows 64-bit: Windows 7 with the Universal C Runtime (UCRT), Windows 8, Windows 10
  • For more details about RISC-V multilib version see https://www.eevblog.com/forum/microcontrollers/ch32v307-risc-v-minicore-with-ethernet/msg4620265/#msg4620265

Note: The Pre-built version (no multilib/minimalist) is used automatically in GitHub Workflows(CI) & Makefile of HydraUSB3 Firmware see https://github.com/hydrausb3/hydrausb3_fw