From 081c93cca67c0314b99d04e24dc4b66a7b64c187 Mon Sep 17 00:00:00 2001 From: sergeyyarkov Date: Tue, 15 Sep 2026 17:57:33 +0300 Subject: [PATCH] readme & prelaunch task on compile before debug --- .vscode/launch.json | 3 ++- README.md | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 2e6dd86..0b9e568 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -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)" } ] } diff --git a/README.md b/README.md index 410af91..dde298c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ Project VS Code template for CH32V00x microcontrollers. It uses official WCH's SDK with `riscv32-wch-elf-gcc` compiler. +

+ Screenshot +
+ Debugging process of CH32V003F4P6 in VS Code +

+ ## Instructions to build 1. Download MRS toolchain from mounriver.com: [link](https://mounriver.com/download)