ci: add only-when-changed to nightly-release to avoid duplicate publishes (#108)
Same fix as wlink #92 — skips re-publishing when HEAD hasn’t changed, preventing spurious release notifications to watchers on cron runs.
Co-authored-by: Claude Sonnet 4.6 noreply@anthropic.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
wchisp - WCH ISP Tool in Rust
Command-line implementation of the WCHISPTool in Rust, by the ch32-rs team.
This tool is a work in progress.
Installing
The prebuilt binaries are available on the Nightly release page.
For Windows users, you will need VC runtime to run the binary. You can download it from Microsoft.
Or else, you can install it from source.
Prebuilt Binaries
Prebuilt binaries are available on the Github Actions Page. Click the newest runs at Github Actions Page and download the binary from “Artifacts” section.
Note for Windows
If you are using Windows, you may need to install the CH375DLL64.dll if you do not have it in your system. If you encounter a “CH375DLL64.dll not found” error, please download it from the WCH official website and put the dll next to this executable. You may download it from https://www.wch-ic.com/downloads/CH372DRV_ZIP.html, or search for ‘CH375’ on WCH websites if the link is broken. When you use the official WCH driver you installed with IDE or WCHISPTOOL, CH375DLL64.dll allows you to program the target chips without changing the driver.
It is also OK to use the WinUSB driver with Zadig.
Note for Linux
If you are using Linux, you need to set the udev rules for your device.
Arch Linux
Arch Linux users can install wchisp or wchisp-git via the AUR.
or
Usage
CH32V00x Notes
The CH32V00x series DOES NOT have a USB ISP interface; it can only be accessed via UART. Use
-sor--serialcommand-line option to specify serial transport, and-por--portoption to specify COM/TTY port.Also note that ISP bootloader entry cannot be controlled via external pin state at reset. Instead, user application code must instruct device to enter the bootloader via setting
FLASH_STATR.MODEflag and performing a software reset (seePFIC_CFGR).Tested On
This tool should work on most WCH MCU chips. But I haven’t tested it on any other chips.
TODOs
wchisp probewchisp infowchisp configwchisp config set SRAM_CODE_MODE=1 ...-dto select device index)wchisp -d 0 infoRelated Works (Many Thanks!)
Contribution
This project is under active development. If you have any suggestions or bug reports, please open an issue.
If it works for your devices, please open a pull request to modify this README page.
It it doesn’t, please open an issue. Better provide the following information: