Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- // 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",
- "cwd": "${workspaceRoot}",
- "executable": "${workspaceRoot}/build/mine.elf",
- "request": "launch",
- "type": "cortex-debug",
- "servertype": "openocd",
- "device": "STM32G491",
- "runToEntryPoint": "app_main",
- "configFiles": [
- "interface/stlink-dap.cfg",
- "target/stm32g4x.cfg"
- ],
- "openOCDLaunchCommands": [
- "adapter serial 004F003B3331510833323639"
- ],
- "searchDir": [
- "C:/ST/STM32CubeIDE_1.10.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mpu.debug.openocd_2.0.400.202211031253/resources/openocd/st_scripts",
- "C:/ST/STM32CubeIDE_1.10.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.debug.openocd_2.0.400.202211031408/resources/openocd/st_scripts"
- ],
- "preLaunchTask": "Build",
- "svdFile": "${workspaceRoot}/STM32G491xx.svd",
- },
- {
- "type": "node",
- "request": "launch",
- "name": "Launch Program",
- "program": "${workspaceFolder}/${input:pickProgram}"
- }
- {
- "name": "Cortex Debug - Attach",
- "cwd": "${workspaceRoot}",
- "executable": "${workspaceRoot}/build/mine.elf",
- "request": "attach",
- "type": "cortex-debug",
- "servertype": "openocd",
- "device": "STM32G491",
- "runToEntryPoint": "app_main",
- "configFiles": [
- "interface/stlink-dap.cfg",
- "target/stm32g4x.cfg"
- ],
- "openOCDLaunchCommands": [
- "adapter serial 004F003B3331510833323639"
- ],
- "searchDir": [
- "C:/ST/STM32CubeIDE_1.10.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mpu.debug.openocd_2.0.400.202211031253/resources/openocd/st_scripts",
- "C:/ST/STM32CubeIDE_1.10.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.debug.openocd_2.0.400.202211031408/resources/openocd/st_scripts"
- ],
- "preLaunchTask": "Build & Flash",
- "svdFile": "${workspaceRoot}/STM32G491xx.svd",
- },
- {
- "type": "node",
- "request": "launch",
- "name": "Launch Program",
- "program": "${workspaceFolder}/${input:pickProgram}"
- }
- ],
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement