Skip to content

Instantly share code, notes, and snippets.

@ucgosupl
Created May 24, 2020 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ucgosupl/162c450d99b43a9baca9bf74da931993 to your computer and use it in GitHub Desktop.
Save ucgosupl/162c450d99b43a9baca9bf74da931993 to your computer and use it in GitHub Desktop.
VS Code Cortex Debug configuration file
{
"version": "0.2.0",
"configurations": [
{
"type": "cortex-debug",
"request": "launch",
"servertype": "openocd",
"cwd": "${your_workspace_path}",
"executable": "${path_to_executable}",
"name": "Name to be displayed in launch tasks",
"device": "STM32F407VG",
"svdFile": "{path_to_svd_file_for_your_mcu}",
"configFiles": [
"board/stm32f4discovery.cfg"
]
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment