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. +
+
+
+ Debugging process of CH32V003F4P6 in VS Code
+