Added Example VSC configs.

This commit is contained in:
imi415 2022-04-09 01:49:58 +08:00
parent 22b68a2c0d
commit 59ce4493f0
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,6 @@
[
{
"name": "ARM GNU Embedded Toolchain",
"toolchainFile": "${workspaceRoot}/arm-none-eabi.cmake"
}
]

View File

@ -0,0 +1,46 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch debug in FLASH",
"cwd": "${workspaceFolder}",
"executable": "cmake-build-Debug/lpcxpresso_55s69_template_FLASH.elf",
"request": "launch",
"type": "cortex-debug",
"runToEntryPoint": "main",
"showDevDebugOutput": "none",
"servertype": "pyocd",
"serverArgs": [
"-t",
"lpc55s69"
],
"numberOfProcessors": 2,
"targetProcessor":0,
"gdbPath": "arm-none-eabi-gdb"
},
{
"name": "Launch debug in SRAM",
"cwd": "${workspaceFolder}",
"executable": "cmake-build-Debug/lpcxpresso_55s69_template_RAM.elf",
"request": "launch",
"type": "cortex-debug",
"runToEntryPoint": "main",
"servertype": "pyocd",
"serverArgs": [
"-t",
"lpc55s69"
],
"numberOfProcessors": 2,
"targetProcessor":0,
"gdbPath": "arm-none-eabi-gdb",
"overrideLaunchCommands": [
"-interpreter-exec console \"monitor reset halt\"",
"-target-download",
"-enable-pretty-printing",
],
}
]
}

View File

@ -0,0 +1,3 @@
{
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
}