|
- {
- "version": "0.2.0",
- "configurations": [
- {
- "name": "Debug-@TARGET_NAME@",
- "type": "cppdbg",
- "request": "launch",
- "program": "${workspaceRoot}/build/src/apps/@APPLICATION@/@TARGET_NAME@",
- "args": [],
- "stopAtEntry": true,
- "cwd": "${workspaceRoot}",
- "environment": [],
- "externalConsole": false,
- "debugServerArgs": "-f interface/@OPENOCD_INTERFACE@ -f target/@OPENOCD_TARGET@",
- "serverLaunchTimeout": 20000,
- "filterStderr": true,
- "filterStdout": false,
- "serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
- "setupCommands": [
- { "text": "cd ${workspaceRoot}/build" },
- { "text": "file src/apps/@APPLICATION@/@TARGET_NAME@", "description": "load file", "ignoreFailures": false},
- { "text": "target extended-remote localhost:3333", "description": "connect to target", "ignoreFailures": false },
- { "text": "monitor reset halt", "description": "perform a reset and halt the target", "ignoreFailures": false },
- { "text": "load", "description": "flash target", "ignoreFailures": false },
- { "text": "monitor reset init", "description": "perform a reset and init the target", "ignoreFailures": false },
- { "text": "set output-radix 16", "description": "set the default numeric base to 16", "ignoreFailures": false }
- ],
- "logging": {
- "moduleLoad": true,
- "trace": true,
- "engineLogging": true,
- "programOutput": true,
- "exceptions": true
- },
- "MIMode": "gdb",
- "miDebuggerPath": "@GDB_BIN@",
- "debugServerPath": "@OPENOCD_BIN@"
- }
- ]
- }
|