Skip to content

Commit

Permalink
Add vscode configuration entries for debugging OTA applications (#16092)
Browse files Browse the repository at this point in the history
  • Loading branch information
carol-apple authored and pull[bot] committed Feb 13, 2024
1 parent 8ae80e6 commit 3837251
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Attach to running process",
"type": "lldb",
"request": "attach",
"pid": "${command:pickProcess}"
},
{
"name": "QRCode Tests",
"type": "cppdbg",
Expand Down Expand Up @@ -349,6 +355,38 @@
],
"runToMain": true, // if true, program will halt at main. Not used for a restart
"showDevDebugOutput": false // When set to true, displays output of GDB.
},

{
"name": "OTA Requestor App (Linux)",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/out/ota-requestor/chip-ota-requestor-app",
"args": [
"--discriminator",
"18",
"--secured-device-port",
"5560",
"--KVS",
"/tmp/chip_kvs_requestor"
],
"cwd": "${workspaceFolder}"
},

{
"name": "OTA Provider App (Linux)",
"type": "lldb",
"request": "launch",
"program": "${workspaceFolder}/out/ota-provider/chip-ota-provider-app",
"args": [
"--discriminator",
"22",
"--KVS",
"/tmp/chip_kvs_provider",
"--filepath",
"/tmp/ota-image.bin"
],
"cwd": "${workspaceFolder}"
}
],
"inputs": [
Expand Down

0 comments on commit 3837251

Please sign in to comment.