|
@@ -0,0 +1,101 @@
|
|
|
+
|
|
|
+
|
|
|
+{
|
|
|
+ "version": "0.2.0",
|
|
|
+ "projectName": "Elektronika-12",
|
|
|
+ "configurations": [
|
|
|
+
|
|
|
+ {
|
|
|
+ "name": "JLink launch",
|
|
|
+ "cwd": "${workspaceRoot}",
|
|
|
+ "executable": "${workspaceRoot}/build/El12.elf",
|
|
|
+ "request": "launch",
|
|
|
+ "type": "cortex-debug",
|
|
|
+ "servertype": "jlink",
|
|
|
+ "device": "STM32F030K6",
|
|
|
+ "interface": "swd",
|
|
|
+ "runToMain": true,
|
|
|
+ "preLaunchTask": "Build all",
|
|
|
+
|
|
|
+ "svdFile": "${workspaceRoot}/MCU/STM32F030.svd",
|
|
|
+ "swoConfig":
|
|
|
+ {
|
|
|
+ "enabled": true,
|
|
|
+ "cpuFrequency": 480000000,
|
|
|
+ "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/El12.elf",
|
|
|
+ "request": "attach",
|
|
|
+ "type": "cortex-debug",
|
|
|
+ "servertype": "jlink",
|
|
|
+ "device": "STM32F030K6",
|
|
|
+ "interface": "swd",
|
|
|
+ "runToMain": true,
|
|
|
+ "preLaunchTask": "Build all",
|
|
|
+
|
|
|
+ "svdFile": "${workspaceRoot}/MCU/STM32F030.svd",
|
|
|
+ "swoConfig":
|
|
|
+ {
|
|
|
+ "enabled": true,
|
|
|
+ "cpuFrequency": 480000000,
|
|
|
+ "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/El12.elf",
|
|
|
+ "request": "launch",
|
|
|
+ "type": "cortex-debug",
|
|
|
+ "servertype": "stutil",
|
|
|
+ "device": "STM32F030K6",
|
|
|
+ "interface": "swd",
|
|
|
+ "runToMain": true,
|
|
|
+ "preLaunchTask": "Build all",
|
|
|
+
|
|
|
+ "svdFile": "${workspaceRoot}/MCU/STM32F030.svd",
|
|
|
+ "swoConfig": {}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "name": "STlink attach",
|
|
|
+ "cwd": "${workspaceRoot}",
|
|
|
+ "executable": "${workspaceRoot}/build/El12.elf",
|
|
|
+ "request": "attach",
|
|
|
+ "type": "cortex-debug",
|
|
|
+ "servertype": "stutil",
|
|
|
+ "device": "STM32F030K6",
|
|
|
+ "interface": "swd",
|
|
|
+ "runToMain": true,
|
|
|
+ "preLaunchTask": "Build all",
|
|
|
+
|
|
|
+ "svdFile": "${workspaceRoot}/MCU/STM32F030.svd",
|
|
|
+ "swoConfig": {}
|
|
|
+ },
|
|
|
+ ]
|
|
|
+}
|