-
A contributor David Carne (@davidcarne) have created the patch gcc-12.2.0-riscv-wch-fast-interrupt.patch to add support of "WCH-Interrupt-fast" for WCH WCH56x(and potentially other WCH RISC-V MCU)
This patch work fine (see the toolchain pre-built with this patch https://hydrabus.com/hydrausb3_toolchain) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
If you want only to integrate the patch into your local build, there is a mechanism to apply a patch after the archive is downloaded. The patch must be located in the If you would like to have the patch included in this distribution, things are more complicated, you have to contribute the patches to GNU GCC, and after the next GCC is released, they'll be in the xPack too. |
Beta Was this translation helpful? Give feedback.
-
Identify the function that downloads and extracts the gcc sources and somewhere there you should identify a variable which holds the patch name. Please note that the build scripts will shortly be updated to a new version of the build environment. For contributing the patch to GNU, I suggest you first discuss the issues with the RISC-V GCC maintainers, I am not involved in development, I'm just compiling the sources. |
Beta Was this translation helpful? Give feedback.
Identify the function that downloads and extracts the gcc sources and somewhere there you should identify a variable which holds the patch name.
Please note that the build scripts will shortly be updated to a new version of the build environment.
For contributing the patch to GNU, I suggest you first discuss the issues with the RISC-V GCC maintainers, I am not involved in development, I'm just compiling the sources.