Skip to content

Commit

Permalink
Add vscode configuration entries for debugging OTA applications
Browse files Browse the repository at this point in the history
  • Loading branch information
carol-apple committed Mar 11, 2022
1 parent d14d8bd commit 555603c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 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,24 @@
],
"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 555603c

Please sign in to comment.