mirror of
https://github.com/MaJerle/lwmem.git
synced 2025-02-07 14:14:10 +08:00
32 lines
1.8 KiB
JSON
32 lines
1.8 KiB
JSON
{
|
|
// 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": "Debug Microcontroller - ST-Link",
|
|
"cwd": "${workspaceFolder}",
|
|
"type": "cortex-debug",
|
|
"executable": "${command:cmake.launchTargetPath}", //or fixed file path: build/project-name.elf
|
|
"request": "launch", //Use "attach" to connect to target w/o elf download
|
|
"servertype": "stlink",
|
|
"device": "STM32L496AG", //MCU used
|
|
"interface": "swd",
|
|
"serialNumber": "", //Set ST-Link ID if you use multiple at the same time
|
|
"runToMain": true,
|
|
"svdFile": "", //SVD file to see registers
|
|
"v1": false,
|
|
"showDevDebugOutput": true,
|
|
|
|
/* Will get automatically detected if STM32CubeIDE is installed to default directory
|
|
or it can be manually provided if necessary.. */
|
|
//"serverpath": "c:\\ST\\STM32CubeIDE_1.7.0\\STM32CubeIDE\\plugins\\com.st.stm32cube.ide.mcu.externaltools.stlink-gdb-server.win32_2.0.100.202109301221\\tools\\bin\\ST-LINK_gdbserver.exe",
|
|
//"armToolchainPath": "c:\\ST\\STM32CubeIDE_1.7.0\\STM32CubeIDE\\plugins\\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_2.0.0.202105311346\\tools\\bin",
|
|
//"stm32cubeprogrammer": "c:\\Program Files\\STMicroelectronics\\STM32Cube\\STM32CubeProgrammer\\bin",
|
|
|
|
/* If you use external loader, add additional arguments */
|
|
//"serverArgs": ["--extload", "path/to/ext/loader.stldr"],
|
|
}
|
|
]
|
|
} |