123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- // Configure debug launch settings
- // Feel free to copy these and modify them for your debugger and MCU
- {
- "version": "0.2.0",
- "projectName": "IN12x5",
- "configurations": [
-
- {
- "name": "JLink launch",
- "cwd": "${workspaceRoot}",
- "executable": "${workspaceRoot}/build/Skid.elf",
- "request": "launch",
- "type": "cortex-debug",
- "servertype": "jlink",
- "device": "STM32G030F6",
- "interface": "swd",
- "runToMain": true, // else it starts at reset handler - not interested
- "preLaunchTask": "Build all", // configured in tasks.json
- // "preLaunchCommands": ["Build all"], // you can execute command instead of task
- "svdFile": "STM32G030.svd", // Include svd to watch device peripherals
- "swoConfig":
- {
- "enabled": true,
- "cpuFrequency": 240000000,
- "swoFrequency": 4000000,
- "source": "probe",
- "decoders":
- [
- {
- "label": "ITM port 0 output",
- "type": "console",
- "port": 0,
- "showOnStartup": true,
- "encoding": "ascii"
- }
- ]
- }
- },
- {
- "name": "JLink attach",
- "cwd": "${workspaceRoot}",
- "executable": "${workspaceRoot}/build/Skid.elf",
- "request": "attach",
- "type": "cortex-debug",
- "servertype": "jlink",
- "device": "STM32G030F6",
- "interface": "swd",
- "runToMain": true, // else it starts at reset handler - not interested
- "preLaunchTask": "Build all", // configured in tasks.json
- // "preLaunchCommands": ["Build all"], // you can execute command instead of task
- "svdFile": "STM32G030.svd", // Include svd to watch device peripherals
- "swoConfig":
- {
- "enabled": true,
- "cpuFrequency": 240000000,
- "swoFrequency": 4000000,
- "source": "probe",
- "decoders":
- [
- {
- "label": "ITM port 0 output",
- "type": "console",
- "port": 0,
- "showOnStartup": true,
- "encoding": "ascii"
- }
- ]
- }
- },
- {
- "name": "STlink launch",
- "cwd": "${workspaceRoot}",
- "executable": "${workspaceRoot}/build/Skid.elf",
- "request": "launch",
- "type": "cortex-debug",
- "servertype": "stutil",
- "device": "STM32G030F6",
- "interface": "swd",
- "runToMain": true, // else it starts at reset handler - not interested
- "preLaunchTask": "Build all", // configured in tasks.json
- // "preLaunchCommands": ["Build all"], // you can execute command instead of task
- "svdFile": "STM32G030.svd", // Include svd to watch device peripherals
- "swoConfig": {} // currently (v1.7.0) not supported
- },
- {
- "name": "STlink attach",
- "cwd": "${workspaceRoot}",
- "executable": "${workspaceRoot}/build/Skid.elf",
- "request": "attach",
- "type": "cortex-debug",
- "servertype": "stutil",
- "device": "STM32G030F6",
- "interface": "swd",
- "runToMain": true, // else it starts at reset handler - not interested
- "preLaunchTask": "Build all", // configured in tasks.json
- // "preLaunchCommands": ["Build all"], // you can execute command instead of task
- "svdFile": "STM32G030.svd", // Include svd to watch device peripherals
- "swoConfig": {} // currently (v1.7.0) not supported
- },
- ]
- }
|