mirror of
https://github.com/sergeyyarkov/ch32v00x-template-mk.git
synced 2026-10-11 10:19:07 +03:00
added tasks.json & launch.json
This commit is contained in:
parent
9a319bf9a5
commit
bccc4d4195
18
.vscode/launch.json
vendored
Normal file
18
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
"cwd": "${workspaceRoot}",
|
||||
"executable": "./build/firmware.elf",
|
||||
"name": "Debug CH32V (WCH-Link)",
|
||||
"request": "launch",
|
||||
"type": "cortex-debug",
|
||||
"servertype": "openocd",
|
||||
"serverpath": "/opt/wch/MRS_Toolchain/OpenOCD/bin/openocd",
|
||||
"gdbPath": "riscv32-wch-elf-gdb",
|
||||
"configFiles": ["/opt/wch/MRS_Toolchain/OpenOCD/bin/wch-riscv.cfg"],
|
||||
"runToEntryPoint": "main",
|
||||
"showDevDebugOutput": "none",
|
||||
"svdFile": "${workspaceFolder}/platform/ch32v00x/CH32V003xx.svd"
|
||||
}
|
||||
]
|
||||
}
|
||||
27
.vscode/tasks.json
vendored
Normal file
27
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Clean and build (prod)",
|
||||
"type": "shell",
|
||||
"command": "make clean && make",
|
||||
"problemMatcher": ["$gcc"],
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"close": true,
|
||||
"showReuseMessage": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Clean and build (debug)",
|
||||
"type": "shell",
|
||||
"command": "make clean && make DEBUG=true",
|
||||
"problemMatcher": ["$gcc"],
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"close": true,
|
||||
"showReuseMessage": false
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
||||
9235
platform/ch32v00x/CH32V003xx.svd
Normal file
9235
platform/ch32v00x/CH32V003xx.svd
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user