On the CH32V3, this makefile fails to start the chip after flashing (for some reason it does work on CH32V1...)
This is the right way:
```diff
diff --git a/Makefile.single b/Makefile.single
index f945951..3db3ecc 100644
--- a/Makefile.single
+++ b/Makefile.single
@@ -60,7 +60,7 @@ flash: all
-f ./wch-riscv.cfg \
-c init -c halt \
-c "program $(shell readlink -f ${MESON_DIR}/firmware-for-make.hex) verify reset" \
- -c resume -c exit
+ -c wlink_reset_resume -c exit
openocd:
${OPENOCD_DIR}/bin/openocd \
```
On the CH32V3, this makefile fails to start the chip after flashing (for some reason it does work on CH32V1...)
This is the right way:
The redundant
reset
in theprogram
command can go away too