重要更新

This commit is contained in:
NeoZeng
2022-11-16 15:29:01 +08:00
parent da58f5c25f
commit 5a0335838e
9 changed files with 73 additions and 53 deletions

9
.vscode/launch.json vendored
View File

@@ -1,7 +1,8 @@
{
"version": "0.2.0",
"configurations": [
{ // 使用dap-link(如无线调试器时的参考配置)
// 使用dap-link(如无线调试器时的参考配置)
{
"name": "Debug-dap",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}\\build\\basic_framework.elf", // 要下载到调试器的文件
@@ -14,13 +15,12 @@
"configFiles": [
".\\openocd.cfg", // 配置文件已经在根目录提供,若要修改以此类推
],
// path to your gcc-arm-none-eabi/bin,如果在cortex-debug的设置中写入了全局路径,这里不需要再写
"armToolchainPath": "D:\\gcc-arm-none-eabi\\bin",
// path to your gcc-arm-none-eabi/arm-none-eabi-gdb.exe,如果在cortex-debug的设置中写入了全局路径,这里不需要再写
"gdbPath": "D:\\gcc-arm-none-eabi\\bin\\arm-none-eabi-gdb.exe",
//"preLaunchTask": "build task",//先运行Build任务,取消注释即可使用
},
{ // 使用j-link时的参考配置
// 使用j-link时的参考配置
{
"name": "Debug-jlink",
"cwd": "${workspaceFolder}",
"executable": "${workspaceRoot}\\build\\basic_framework.elf",
@@ -31,6 +31,7 @@
"showDevDebugOutput": "none",
"servertype": "jlink",
"interface": "swd",
"svdFile": ".\\STM32F407.svd",
// "preLaunchTask": "build task",//先运行Build任务,取消注释即可使用
}
]