Added Example VSC configs.
This commit is contained in:
parent
22b68a2c0d
commit
59ce4493f0
|
@ -0,0 +1,6 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "ARM GNU Embedded Toolchain",
|
||||||
|
"toolchainFile": "${workspaceRoot}/arm-none-eabi.cmake"
|
||||||
|
}
|
||||||
|
]
|
|
@ -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",
|
||||||
|
],
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools"
|
||||||
|
}
|
Loading…
Reference in New Issue