summaryrefslogtreecommitdiff
path: root/sw/.vscode
diff options
context:
space:
mode:
Diffstat (limited to 'sw/.vscode')
-rw-r--r--sw/.vscode/extensions.json7
-rw-r--r--sw/.vscode/launch.json57
-rw-r--r--sw/.vscode/settings.json5
-rw-r--r--sw/.vscode/tasks.json15
4 files changed, 84 insertions, 0 deletions
diff --git a/sw/.vscode/extensions.json b/sw/.vscode/extensions.json
new file mode 100644
index 0000000..3d787e3
--- /dev/null
+++ b/sw/.vscode/extensions.json
@@ -0,0 +1,7 @@
+{
+ "recommendations": [
+ "ms-vscode.cmake-tools",
+ "ms-vscode.cpptools",
+ "ms-vscode.vscode-embedded-tools"
+ ]
+}
diff --git a/sw/.vscode/launch.json b/sw/.vscode/launch.json
new file mode 100644
index 0000000..fa3c1ca
--- /dev/null
+++ b/sw/.vscode/launch.json
@@ -0,0 +1,57 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "openOCDLaunchCommands": [
+ "adapter speed 50"
+ ],
+ "cwd": "${workspaceFolder}",
+ "executable": "${command:cmake.launchTargetPath}",
+ "name": "JTAG DEBUGGING ",
+ "request": "launch",
+ "type": "cortex-debug",
+ "servertype": "openocd",
+ // "gdbTarget": "localhost:3333",
+ // "armToolchainPath": "",
+ "interface": "swd",
+ "svdFile": "${command:vscode-embedded.st.svd}/STM32L476.svd",
+ "configFiles": [
+ "interface/stlink.cfg",
+ "target/stm32l4x.cfg"
+ ],
+
+ // /opt/homebrew/bin/openocd
+
+ "debuggerArgs": [
+ // "-d",
+ // "${workspaceRoot}\Desktop\DaisyExamples\pod\MultiEffectBlink\"
+ ],
+ "preRestartCommands": [
+ "load",
+ "enable breakpoint",
+ "monitor reset"
+ ],
+ // "showDevDebugOutput": true,
+
+ }
+]
+
+
+// "configurations": [
+ // {
+ // "name": "Launch",
+ // "cwd": "${workspaceFolder}",
+ // // "executable": "./build/debug/build/plinkyblack.elf",
+ // "executable": "${command:cmake.launchTargetPath}",
+ // "request": "launch",
+ // "type": "cortex-debug",
+ // "runToEntryPoint": "main",
+ // "servertype": "stlink",
+
+ // // Connect to an already running OpenOCD instance
+ // "gdbTarget": "localhost:3333",
+
+ // "svdPath": "${command:vscode-embedded.st.svd}/STM32L476.svd"
+ // }
+ // ]
+}
diff --git a/sw/.vscode/settings.json b/sw/.vscode/settings.json
new file mode 100644
index 0000000..e6704ed
--- /dev/null
+++ b/sw/.vscode/settings.json
@@ -0,0 +1,5 @@
+{
+ "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
+ "cmake.configureOnOpen": true,
+ "cortex-debug.openocdPath": "/opt/homebrew/bin/openocd",
+}
diff --git a/sw/.vscode/tasks.json b/sw/.vscode/tasks.json
new file mode 100644
index 0000000..da7b267
--- /dev/null
+++ b/sw/.vscode/tasks.json
@@ -0,0 +1,15 @@
+{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "Build",
+ "type": "cmake",
+ "command": "build",
+ "problemMatcher": "$gcc",
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ }
+ }
+ ]
+}