mirror of
https://github.com/sergeyyarkov/ch32v00x-template-mk.git
synced 2026-10-11 10:19:07 +03:00
readme & prelaunch task on compile before debug
This commit is contained in:
parent
e1c646b19c
commit
081c93cca6
3
.vscode/launch.json
vendored
3
.vscode/launch.json
vendored
@ -12,7 +12,8 @@
|
|||||||
"configFiles": ["/opt/wch/MRS_Toolchain/OpenOCD/bin/wch-riscv.cfg"],
|
"configFiles": ["/opt/wch/MRS_Toolchain/OpenOCD/bin/wch-riscv.cfg"],
|
||||||
"runToEntryPoint": "main",
|
"runToEntryPoint": "main",
|
||||||
"showDevDebugOutput": "none",
|
"showDevDebugOutput": "none",
|
||||||
"svdFile": "${workspaceFolder}/platform/ch32v00x/CH32V003xx.svd"
|
"svdFile": "${workspaceFolder}/platform/ch32v00x/CH32V003xx.svd",
|
||||||
|
"preLaunchTask": "Clean and build (debug)"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,5 +1,11 @@
|
|||||||
Project VS Code template for CH32V00x microcontrollers. It uses official WCH's SDK with `riscv32-wch-elf-gcc` compiler.
|
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
|
## Instructions to build
|
||||||
|
|
||||||
1. Download MRS toolchain from mounriver.com: [link](https://mounriver.com/download)
|
1. Download MRS toolchain from mounriver.com: [link](https://mounriver.com/download)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user