aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.vscode/c_cpp_properties.json16
-rw-r--r--.vscode/launch.json125
-rw-r--r--.vscode/settings.json3
-rw-r--r--.vscode/tasks.json23
4 files changed, 167 insertions, 0 deletions
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json
new file mode 100644
index 0000000..18e0c6e
--- /dev/null
+++ b/.vscode/c_cpp_properties.json
@@ -0,0 +1,16 @@
+{
+ "configurations": [
+ {
+ "name": "WSL",
+ "intelliSenseMode": "gcc-x64",
+ "compilerPath": "/usr/bin/g++",
+ "includePath": [
+ "${workspaceFolder}/**"
+ ],
+ "defines": [],
+ "cStandard": "c11",
+ "cppStandard": "c++17"
+ }
+ ],
+ "version": 4
+} \ No newline at end of file
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..20c3726
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,125 @@
+{
+ // 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": "(gdb) Launch",
+ "type": "cppdbg",
+ "request": "launch",
+ "program": "${workspaceFolder}/debug",
+ "args": [],
+ "stopAtEntry": false,
+ "cwd": "${workspaceFolder}",
+ "environment": [],
+ "externalConsole": false,
+ "MIMode": "gdb",
+ "setupCommands": [
+ {
+ "description": "Enable pretty-printing for gdb",
+ "text": "-enable-pretty-printing",
+ "ignoreFailures": true
+ }
+ ]
+ },
+
+ {
+ "name": "Python",
+ "type": "python",
+ "request": "launch",
+ "program": "${file}",
+ "console": "integratedTerminal"
+ },
+ {
+ "type": "java",
+ "name": "Java",
+ "request": "launch",
+ "mainClass": ""
+ },
+ // {
+ // "type": "cortex-debug",
+ // "request": "attach",
+ // "name": "Particle Debugger (photon, p1, electron)",
+ // "servertype": "openocd",
+ // "interface": "swd",
+ // "device": "STM32F205RG",
+ // "cwd": "${workspaceRoot}",
+ // "executable": "${command:particle.getDebuggerExecutable}",
+ // "preLaunchTask": "Particle: Flash application for debug (local)",
+ // "armToolchainPath": "${command:particle.getDebuggerCompilerDir}",
+ // "svdFile": "${command:particle.getDebuggerSVDFile}",
+ // "searchDir": [
+ // "${command:particle.getDebuggerSearchDir}"
+ // ],
+ // "configFiles": [
+ // "interface/cmsis-dap.cfg",
+ // "target/stm32f2x.cfg"
+ // ],
+ // "postAttachCommands": [
+ // "monitor reset halt"
+ // ],
+ // "windows": {
+ // "configFiles": [
+ // "interface\\cmsis-dap.cfg",
+ // "target\\stm32f2x.cfg"
+ // ]
+ // }
+ // },
+ // {
+ // "type": "cortex-debug",
+ // "request": "attach",
+ // "name": "Particle Debugger (argon, boron, xenon)",
+ // "servertype": "openocd",
+ // "interface": "swd",
+ // "device": "nRF52840_xxAA",
+ // "cwd": "${workspaceRoot}",
+ // "executable": "${command:particle.getDebuggerExecutable}",
+ // "preLaunchTask": "Particle: Flash application for debug (local)",
+ // "armToolchainPath": "${command:particle.getDebuggerCompilerDir}",
+ // "svdFile": "${command:particle.getDebuggerSVDFile}",
+ // "searchDir": [
+ // "${command:particle.getDebuggerSearchDir}"
+ // ],
+ // "configFiles": [
+ // "interface/cmsis-dap.cfg",
+ // "target/nrf52-particle.cfg"
+ // ],
+ // "windows": {
+ // "configFiles": [
+ // "interface\\cmsis-dap.cfg",
+ // "target\\nrf52-particle.cfg"
+ // ]
+ // }
+ // },
+ // {
+ // "type": "cortex-debug",
+ // "request": "attach",
+ // "name": "Particle Programmer Shield v1.0 (photon, p1, electron)",
+ // "servertype": "openocd",
+ // "interface": "swd",
+ // "device": "STM32F205RG",
+ // "cwd": "${workspaceRoot}",
+ // "executable": "${command:particle.getDebuggerExecutable}",
+ // "preLaunchTask": "Particle: Flash application for debug (local)",
+ // "armToolchainPath": "${command:particle.getDebuggerCompilerDir}",
+ // "svdFile": "${command:particle.getDebuggerSVDFile}",
+ // "searchDir": [
+ // "${command:particle.getDebuggerSearchDir}"
+ // ],
+ // "configFiles": [
+ // "interface/particle-ftdi.cfg",
+ // "target/stm32f2x.cfg"
+ // ],
+ // "postAttachCommands": [
+ // "monitor reset halt"
+ // ],
+ // "windows": {
+ // "configFiles": [
+ // "interface\\particle-ftdi.cfg",
+ // "target\\stm32f2x.cfg"
+ // ]
+ // }
+ // }
+ ]
+} \ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..615aafb
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "python.pythonPath": "/usr/bin/python3"
+} \ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 0000000..f029853
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,23 @@
+{
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "Build c++",
+ "type": "shell",
+ "command": "g++",
+ "args": [
+ "-g",
+ "-Wall",
+ "${file}",
+ "-o",
+ "debug"
+ ],
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ }
+ }
+ ]
+} \ No newline at end of file