configure vscode

This commit is contained in:
2023-03-25 17:58:36 +01:00
parent 2140308b50
commit 42c8f0bc1b
8 changed files with 36744 additions and 101 deletions

33
firmware/.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,33 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Cortex Debug Nucloe",
"cwd": "${workspaceFolder}/func_gen_stm32f303re_nucleo/",
"executable": "./build/func_gen_stm32f303re_nucleo.elf",
"request": "launch",
"type": "cortex-debug",
"runToEntryPoint": "main",
"servertype": "jlink",
"device": "STM32F303RE",
"interface": "swd",
"runToMain": true,
"svdFile": "STM32F303xE.svd",
// "swoConfig": {
// "enabled": false,
// "cpuFrequency": 8000000,
// "swoFrequency": 2000000,
// "source": "probe",
// "decoders": [{
// "type": "console",
// "label": "ITM",
// "port": 0
// }
// ]
// }]
}
]
}