96 lines
3.6 KiB
JSON
Executable File
96 lines
3.6 KiB
JSON
Executable File
// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY
|
|
//
|
|
// PlatformIO Debugging Solution
|
|
//
|
|
// Documentation: https://docs.platformio.org/en/latest/plus/debugging.html
|
|
// Configuration: https://docs.platformio.org/en/latest/projectconf/sections/env/options/debug/index.html
|
|
|
|
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "(gdb) Launch",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/${fileBasenameNoExtension}",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"cwd": "${fileDirname}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set Disassembly Flavor to Intel",
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "platformio-debug",
|
|
"request": "launch",
|
|
"name": "PIO Debug",
|
|
"executable": "Z:/src/MyOwnEtherCATDevice/PortStepgen/.pio/build/genericSTM32F407VGT6/firmware.elf",
|
|
"projectEnvName": "genericSTM32F407VGT6",
|
|
"toolchainBinDir": "C:/Users/Hakan/.platformio/packages/toolchain-gccarmnoneeabi/bin",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"svdPath": "C:/Users/Hakan/.platformio/platforms/ststm32/misc/svd/STM32F40x.svd",
|
|
"preLaunchTask": {
|
|
"type": "PlatformIO",
|
|
"task": "Pre-Debug"
|
|
}
|
|
},
|
|
{
|
|
"type": "platformio-debug",
|
|
"request": "launch",
|
|
"name": "PIO Debug (skip Pre-Debug)",
|
|
"executable": "Z:/src/MyOwnEtherCATDevice/PortStepgen/.pio/build/genericSTM32F407VGT6/firmware.elf",
|
|
"projectEnvName": "genericSTM32F407VGT6",
|
|
"toolchainBinDir": "C:/Users/Hakan/.platformio/packages/toolchain-gccarmnoneeabi/bin",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"svdPath": "C:/Users/Hakan/.platformio/platforms/ststm32/misc/svd/STM32F40x.svd"
|
|
},
|
|
{
|
|
"type": "platformio-debug",
|
|
"request": "launch",
|
|
"name": "PIO Debug (without uploading)",
|
|
"executable": "Z:/src/MyOwnEtherCATDevice/PortStepgen/.pio/build/genericSTM32F407VGT6/firmware.elf",
|
|
"projectEnvName": "genericSTM32F407VGT6",
|
|
"toolchainBinDir": "C:/Users/Hakan/.platformio/packages/toolchain-gccarmnoneeabi/bin",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"svdPath": "C:/Users/Hakan/.platformio/platforms/ststm32/misc/svd/STM32F40x.svd",
|
|
"loadMode": "manual"
|
|
}
|
|
],
|
|
"tasks": [
|
|
{
|
|
"type": "shell",
|
|
"label": "C/C++: g++ build active file",
|
|
"command": "/usr/bin/g++",
|
|
"args": [
|
|
"-g",
|
|
"${file}",
|
|
"-o",
|
|
"${fileDirname}/${fileBasenameNoExtension}"
|
|
],
|
|
"options": {
|
|
"cwd": "/usr/bin"
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"detail": "Task generated by Debugger."
|
|
}
|
|
]
|
|
}
|