commit 778e6de9355ffe1896b56c1e89c678f3f43447c8 Author: sigil-03 Date: Mon Aug 25 16:15:00 2025 -0600 add ch32v wlink dockerfile diff --git a/ch32/Dockerfile b/ch32/Dockerfile new file mode 100644 index 0000000..887c608 --- /dev/null +++ b/ch32/Dockerfile @@ -0,0 +1,15 @@ +FROM debian:stable-slim +RUN apt-get update && apt-get install --yes curl build-essential pkg-config libudev-dev libusb-1.0-0-dev + +# install rust +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +ENV PATH="$PATH:/root/.cargo/bin" + +# install toolchain +RUN . ${HOME}/.cargo/env && rustup install nightly && rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu + +# install wlink +RUN . ${HOME}/.cargo/env && cargo install --git https://github.com/ch32-rs/wlink + +# set workdir to the current directory +WORKDIR ./