Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
992
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.26 KB | None | 0 0
  1. {
  2.     "version": "0.2.0",
  3.     "configurations": [
  4.         {
  5.             "name": "C++ Launch",
  6.             "type": "cppdbg",
  7.             "request": "launch",
  8.             "program": "${workspaceRoot}/BUILD/${workspaceRootFolderName}.elf",
  9.             "args": ["target remote localhost:3333"],
  10.             "stopAtEntry": true,
  11.             "cwd": "${workspaceRoot}",
  12.             "environment": [],
  13.             "externalConsole": true,
  14.             "targetArchitecture": "ARM",
  15.             "debugServerArgs": "",
  16.             "serverLaunchTimeout": 20000,
  17.             "miDebuggerServerAddress": "localhost:3333",
  18.             "miDebuggerPath": "arm-none-eabi-gdb",
  19.             "filterStderr": true,
  20.             "filterStdout": false,
  21.             "serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
  22.             "preLaunchTask": "make",
  23.             "setupCommands": [
  24.                 { "text": "-target-select remote localhost:3333", "description": "connect to target", "ignoreFailures": false },
  25.                 { "text": "-file-exec-and-symbols ${workspaceRoot}/BUILD/${workspaceRootFolderName}.elf", "description": "load file", "ignoreFailures": false},
  26.                 { "text": "-target-download", "description": "flash target", "ignoreFailures": false }
  27.             ],
  28.             "logging": {
  29.                 "moduleLoad": true,
  30.                 "trace": true,
  31.                 "engineLogging": true,
  32.                 "programOutput": true,
  33.                 "exceptions": true
  34.             },
  35.             "linux": {
  36.                 "MIMode": "gdb",
  37.                 "MIDebuggerPath": "/home/blystad/x8k/android/nougat/prebuilts/gcc/linux-x86/arm/arm-none-eabi-6/bin/arm-none-eabi-gdb",
  38.                 "debugServerPath": "openocd",
  39.                 "debugServerArgs": "-f board/st_nucleo_f429.cfg -c \"init\""
  40.             },
  41.             "osx": {
  42.                 "MIMode": "gdb",
  43.                 "MIDebuggerPath": "/usr/local/bin/arm-none-eabi-gdb",
  44.                 "debugServerPath": "pyocd-gdbserver"
  45.             },
  46.             "windows": {
  47.                 "preLaunchTask": "make.exe",
  48.                 "MIMode": "gdb",
  49.                 "MIDebuggerPath": "C:\\Program Files (x86)\\GNU Tools ARM Embedded\\4.9 2015q3\\bin\\arm-none-eabi-gdb.exe",
  50.                 "debugServerPath": "pyocd-gdbserver.exe",
  51.                 "setupCommands": [
  52.                     { "text": "-environment-cd ${workspaceRoot}\\BUILD" },
  53.                     { "text": "-target-select remote localhost:3333", "description": "connect to target", "ignoreFailures": false },
  54.                     { "text": "-file-exec-and-symbols ${workspaceRootFolderName}.elf", "description": "load file", "ignoreFailures": false},
  55.                     { "text": "-interpreter-exec console \"monitor endian little\"", "ignoreFailures": false },
  56.                     { "text": "-interpreter-exec console \"monitor reset\"", "ignoreFailures": false },
  57.                     { "text": "-interpreter-exec console \"monitor halt\"", "ignoreFailures": false },
  58.                     { "text": "-interpreter-exec console \"monitor arm semihosting enable\"", "ignoreFailures": false },
  59.                     { "text": "-target-download", "description": "flash target", "ignoreFailures": false }
  60.                 ]
  61.             }
  62.         }
  63.     ]
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement