Skip to content

Instantly share code, notes, and snippets.

@pferreir
Created July 17, 2021 16:52
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 pferreir/a9fb4ea807b88a85b66de7e93677ab07 to your computer and use it in GitHub Desktop.
Save pferreir/a9fb4ea807b88a85b66de7e93677ab07 to your computer and use it in GitHub Desktop.
{
"version": "0.2.0",
"configurations": [
{
"type": "cortex-debug",
"request": "launch",
"name": "Debug (OpenOCD)",
"servertype": "openocd",
"cwd": "${workspaceRoot}",
"preLaunchTask": "rust: cargo build",
"runToMain": true,
"executable": "./target/thumbv7em-none-eabi/debug/lora-e5-tests",
"device": "STM32WLE5",
"configFiles": [
"interface/stlink.cfg",
"target/stm32wlx.cfg"
],
"svdFile": "${workspaceRoot}/.vscode/STM32WLE5.svd",
// "swoConfig": {
// "enabled": true,
// "cpuFrequency": 168000000,
// "swoFrequency": 2000000,
// "source": "probe",
// "decoders": [
// { "type": "console", "label": "ITM", "port": 0, "encoding": "ascii" }
// ]
// },
"gdbPath": "/usr/bin/gdb",
"toolchainPrefix": ""
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment