4 Commits

Author SHA1 Message Date
f0d07ef098 Update .gitea/workflows/compile.yaml
Some checks failed
Build and Push Docker Image / build (push) Failing after 1m5s
2026-08-06 19:51:27 +02:00
49791ac8bb flasghinh info 2026-04-23 01:38:14 +02:00
017f7e90f1 upd 2026-04-23 01:34:25 +02:00
8f9723fcac small change 2026-04-23 01:32:48 +02:00
2 changed files with 17 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
name: Build and Push Docker Image name: Build and Push Docker Image
on: on:
workflow_dispatch: {}
push: push:
tags: tags:
- "v*" - "v*"
@@ -34,4 +35,4 @@ jobs:
build/fan_controller.bin build/fan_controller.bin
build/fan_controller.bin.sha256 build/fan_controller.bin.sha256
env: env:
GITHUB_TOKEN: ${{ vars.OCI_ACCESS_TOKEN }} GITHUB_TOKEN: ${{ vars.OCI_ACCESS_TOKEN }}

View File

@@ -14,7 +14,10 @@ RPM readings are getting unstable at ~310-320 RPM but that's probably okay.
- Reference manual [CH32V003RM.PDF](https://www.wch-ic.com/download/file?id=358) - Reference manual [CH32V003RM.PDF](https://www.wch-ic.com/download/file?id=358)
## How compile? ## How compile?
There's a Makefile shithead
Literally see the releases tab shithead. Compiles automatically on new tag push.
There's also a makefile.
We compile on Debian/ubuntu. Other than the usual `build-essential` stuff you need also We compile on Debian/ubuntu. Other than the usual `build-essential` stuff you need also
```bash ```bash
@@ -29,6 +32,17 @@ To flash you will also need to compile `minichlink`. Included in the `ch32fun` r
Or just use PlatformIO idc. We have the file for that too. It has debugging. Or just use PlatformIO idc. We have the file for that too. It has debugging.
## How flash?
Use wlink-e programmer. Connect GND, power (?) and SWIO to PD1 and use `minichlink` to program, it's included in the `ch32fun` repo.
```bash
minichlink -w fan_controller.bin flash -b
```
You could also `make flash`
## Pins ## Pins
For the TSSOP20 package, CH32V003FxPx For the TSSOP20 package, CH32V003FxPx