readme & prelaunch task on compile before debug

This commit is contained in:
Sergey Yarkov 2026-09-15 17:57:33 +03:00
parent e1c646b19c
commit 081c93cca6
2 changed files with 8 additions and 1 deletions

3
.vscode/launch.json vendored
View File

@ -12,7 +12,8 @@
"configFiles": ["/opt/wch/MRS_Toolchain/OpenOCD/bin/wch-riscv.cfg"],
"runToEntryPoint": "main",
"showDevDebugOutput": "none",
"svdFile": "${workspaceFolder}/platform/ch32v00x/CH32V003xx.svd"
"svdFile": "${workspaceFolder}/platform/ch32v00x/CH32V003xx.svd",
"preLaunchTask": "Clean and build (debug)"
}
]
}

View File

@ -1,5 +1,11 @@
Project VS Code template for CH32V00x microcontrollers. It uses official WCH's SDK with `riscv32-wch-elf-gcc` compiler.
<p align="center">
<img src="https://directus.yarkov.tech/assets/eb7c37b8-a0fc-4369-8828-64a09fc6b794" alt="Screenshot" width="700">
<br>
Debugging process of CH32V003F4P6 in VS Code
</p>
## Instructions to build
1. Download MRS toolchain from mounriver.com: [link](https://mounriver.com/download)