66 lines
1.9 KiB
JSON
66 lines
1.9 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"preLaunchTask": "rust: cargo build",
|
|
"type": "probe-rs-debug",
|
|
"request": "launch",
|
|
"name": "probe_rs sd_cam launch example",
|
|
"cwd": "${workspaceFolder}/",
|
|
//!MODIFY (or remove)
|
|
//"speed": 24000,
|
|
//!MODIFY (or remove)
|
|
//"probe": "0483:8006",
|
|
"runtimeExecutable": "probe-rs",
|
|
"runtimeArgs": ["dap-server"],
|
|
//!MODIFY
|
|
"chip": "STM32U5A5ZJTx",
|
|
"flashingConfig": {
|
|
"flashingEnabled": true,
|
|
"haltAfterReset": false,
|
|
"formatOptions": {
|
|
//!MODIFY (or remove). Valid values are: 'bin', 'hex', 'elf'(default), 'idf'
|
|
//"format": "elf"
|
|
}
|
|
},
|
|
"coreConfigs": [
|
|
{
|
|
"coreIndex": 0,
|
|
//!MODIFY
|
|
"programBinary": "/home/zong/Code/u5_example/target/thumbv8m.main-none-eabihf/debug/u5_example",
|
|
//!MODIFY
|
|
"svdFile": "stm32u5a5.svd",
|
|
"rttEnabled": true
|
|
}
|
|
],
|
|
"env": {
|
|
//!MODIFY (or remove)
|
|
// If you set this variable, check the VSCode console log window for the location of the log file.
|
|
"RUST_LOG": "Console",
|
|
"DEFMT_LOG": "debug",
|
|
},
|
|
// Info, Debug
|
|
"consoleLogLevel": "Info"
|
|
}
|
|
]
|
|
}
|
|
|
|
// {
|
|
// "version": "0.2.0",
|
|
// "configurations": [
|
|
// {
|
|
// "preLaunchTask": "${defaultBuildTask}",
|
|
// "type": "probe-rs-debug",
|
|
// "request": "launch",
|
|
// "name": "probe_rs Executable Test",
|
|
// //!MODIFY
|
|
// "chip": "STM32U575RITx",
|
|
// "coreConfigs": [
|
|
// {
|
|
// //!MODIFY
|
|
// "programBinary": "C:\\tmp\\u5_new\\examples\\target\\thumbv8m.main-none-eabihf\\debug\\sd_cam"
|
|
// }
|
|
// ]
|
|
// }
|
|
// ]
|
|
// } |