添加ozone调试教程和vscode使用

This commit is contained in:
NeoZng
2022-11-13 14:40:21 +08:00
parent 27f83405ad
commit 3dd1b807cc
20 changed files with 150 additions and 30 deletions

View File

@@ -1 +1 @@
[]
[{"node":"CAN1","expanded":true,"format":0,"pinned":false},{"node":"CAN1.MCR","expanded":true,"format":0},{"node":"GPIOG","expanded":true,"format":0,"pinned":false}]

6
.vscode/launch.json vendored
View File

@@ -17,7 +17,8 @@
// 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"
"gdbPath": "D:\\gcc-arm-none-eabi\\bin\\arm-none-eabi-gdb.exe",
//"preLaunchTask": "build task",//先运行Build任务,取消注释即可使用
},
{ // 使用j-link时的参考配置
"name": "Debug-jlink",
@@ -33,7 +34,8 @@
//如果在cortex-debug的设置中写入了全局路径,这里不需要再写
"armToolchainPath": "D:\\gcc-arm-none-eabi\\bin",
//如果在cortex-debug的设置中写入了全局路径,这里不需要再写
"gdbPath": "D:\\gcc-arm-none-eabi\\bin\\arm-none-eabi-gdb.exe"
"gdbPath": "D:\\gcc-arm-none-eabi\\bin\\arm-none-eabi-gdb.exe",
// "preLaunchTask": "build task",//先运行Build任务,取消注释即可使用
}
]
}