diff --git a/src/raspberrypi/.vscode/launch.json b/src/raspberrypi/.vscode/launch.json new file mode 100644 index 00000000..4ac5ab4b --- /dev/null +++ b/src/raspberrypi/.vscode/launch.json @@ -0,0 +1,27 @@ +{ + // 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}/bin/rascsi", + "args": [], + "stopAtEntry": true, + "cwd": "${workspaceFolder}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "setupCommands": [ + { + "description": "Enable pretty-printing for gdb", + "text": "-enable-pretty-printing", + "ignoreFailures": true + } + ] + } + ] +} \ No newline at end of file diff --git a/src/raspberrypi/.vscode/settings.json b/src/raspberrypi/.vscode/settings.json new file mode 100644 index 00000000..5ba85824 --- /dev/null +++ b/src/raspberrypi/.vscode/settings.json @@ -0,0 +1,14 @@ +{ + "files.associations": { + "cstddef": "cpp", + "array": "cpp", + "chrono": "cpp", + "functional": "cpp", + "istream": "cpp", + "ostream": "cpp", + "ratio": "cpp", + "tuple": "cpp", + "type_traits": "cpp", + "utility": "cpp" + } +} \ No newline at end of file diff --git a/src/raspberrypi/.vscode/tasks.json b/src/raspberrypi/.vscode/tasks.json new file mode 100644 index 00000000..eeedfe8a --- /dev/null +++ b/src/raspberrypi/.vscode/tasks.json @@ -0,0 +1,19 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "type": "shell", + "label": "g++ build active file", + "command": "make", + "args": ["all", "DEBUG=1"], + "options": { + "cwd": "${workspaceFolder}/" + }, + "problemMatcher": ["$gcc"], + "group": { + "kind": "build", + "isDefault": true + } + } + ] + } \ No newline at end of file