Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "version": "0.2.0",
- "configurations": [
- {
- "name": "C++ Launch",
- "type": "cppdbg",
- "request": "launch",
- "program": "${workspaceRoot}/BUILD/${workspaceRootFolderName}.elf",
- "args": ["target remote localhost:3333"],
- "stopAtEntry": true,
- "cwd": "${workspaceRoot}",
- "environment": [],
- "externalConsole": true,
- "targetArchitecture": "ARM",
- "debugServerArgs": "",
- "serverLaunchTimeout": 20000,
- "miDebuggerServerAddress": "localhost:3333",
- "miDebuggerPath": "arm-none-eabi-gdb",
- "filterStderr": true,
- "filterStdout": false,
- "serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
- "preLaunchTask": "make",
- "setupCommands": [
- { "text": "-target-select remote localhost:3333", "description": "connect to target", "ignoreFailures": false },
- { "text": "-file-exec-and-symbols ${workspaceRoot}/BUILD/${workspaceRootFolderName}.elf", "description": "load file", "ignoreFailures": false},
- { "text": "-target-download", "description": "flash target", "ignoreFailures": false }
- ],
- "logging": {
- "moduleLoad": true,
- "trace": true,
- "engineLogging": true,
- "programOutput": true,
- "exceptions": true
- },
- "linux": {
- "MIMode": "gdb",
- "MIDebuggerPath": "/home/blystad/x8k/android/nougat/prebuilts/gcc/linux-x86/arm/arm-none-eabi-6/bin/arm-none-eabi-gdb",
- "debugServerPath": "openocd",
- "debugServerArgs": "-f board/st_nucleo_f429.cfg -c \"init\""
- },
- "osx": {
- "MIMode": "gdb",
- "MIDebuggerPath": "/usr/local/bin/arm-none-eabi-gdb",
- "debugServerPath": "pyocd-gdbserver"
- },
- "windows": {
- "preLaunchTask": "make.exe",
- "MIMode": "gdb",
- "MIDebuggerPath": "C:\\Program Files (x86)\\GNU Tools ARM Embedded\\4.9 2015q3\\bin\\arm-none-eabi-gdb.exe",
- "debugServerPath": "pyocd-gdbserver.exe",
- "setupCommands": [
- { "text": "-environment-cd ${workspaceRoot}\\BUILD" },
- { "text": "-target-select remote localhost:3333", "description": "connect to target", "ignoreFailures": false },
- { "text": "-file-exec-and-symbols ${workspaceRootFolderName}.elf", "description": "load file", "ignoreFailures": false},
- { "text": "-interpreter-exec console \"monitor endian little\"", "ignoreFailures": false },
- { "text": "-interpreter-exec console \"monitor reset\"", "ignoreFailures": false },
- { "text": "-interpreter-exec console \"monitor halt\"", "ignoreFailures": false },
- { "text": "-interpreter-exec console \"monitor arm semihosting enable\"", "ignoreFailures": false },
- { "text": "-target-download", "description": "flash target", "ignoreFailures": false }
- ]
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement