Files
2025-09-05 13:44:56 +08:00

52 lines
1.4 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"type": "probe-rs-debug",
"request": "launch",
"name": "probe",
"cwd": "${workspaceFolder}",
//!MODIFY (or remove)
// "speed": 24000,
//!MODIFY (or remove)
// "probe": "VID:PID:<Serial>",
"runtimeExecutable": "probe-rs",
// "runtimeArgs": ["dap-server"],
//!MODIFY
"chip": "STM32H743II",
"flashingConfig": {
"flashingEnabled": true,
"haltAfterReset": true,
"formatOptions": {
//Valid values are: 'bin', 'hex', 'elf'(default), 'idf'
"binaryFormat": "elf"
}
},
"coreConfigs": [
{
"coreIndex": 0,
//!MODIFY
"programBinary": "${workspaceFolder}/build/Debug/${workspaceFolderBasename}.elf",
//!MODIFY
"rttEnabled": true,
"rttChannelFormats": [
{
"channelNumber": 0,
"dataFormat": "String",
"showTimestamps": false
}
],
"svdFile": "${workspaceFolder}/STM32H743.svd"
}
],
"preLaunchTask": "Build_Debug"
// "env": {
// // If you set this variable, check the VSCode console log window for the location of the log file.
// "RUST_LOG": "info"
// },
// // Info, Debug
// "consoleLogLevel": "Console",
}
]
}