Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f0d07ef098 | |||
| 49791ac8bb | |||
| 017f7e90f1 | |||
| 8f9723fcac |
@@ -1,6 +1,7 @@
|
||||
name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
@@ -34,4 +35,4 @@ jobs:
|
||||
build/fan_controller.bin
|
||||
build/fan_controller.bin.sha256
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ vars.OCI_ACCESS_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ vars.OCI_ACCESS_TOKEN }}
|
||||
16
README.md
16
README.md
@@ -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)
|
||||
|
||||
## 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
|
||||
```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.
|
||||
|
||||
## 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
|
||||
|
||||
For the TSSOP20 package, CH32V003FxPx
|
||||
|
||||
Reference in New Issue
Block a user