move Visual Studio Code settings to top level dir

This commit is contained in:
Samuel Sadok
2017-11-06 14:43:14 +01:00
parent 3cba81e6f7
commit b247601a4f
5 changed files with 76 additions and 25 deletions
+39
View File
@@ -0,0 +1,39 @@
{
// 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": "Python",
"type": "python",
"request": "launch",
"stopOnEntry": true,
"pythonPath": "${config:python.pythonPath}",
"program": "${workspaceRoot}/tools/demo.py",
"cwd": "${workspaceRoot}",
"env": {},
"envFile": "${workspaceRoot}/.env",
"debugOptions": [
"WaitOnAbnormalExit",
"WaitOnNormalExit",
"RedirectOutput"
]
},
{
"type": "gdb",
"request": "attach",
"name": "Launch Program",
"target": "localhost:3333",
"gdbpath": "arm-none-eabi-gdb",
"remote": true,
"executable": "./build/ODriveFirmware.elf",
"cwd": "${workspaceRoot}/Firmware",
"printCalls": false,
//"preLaunchTask": "openocd", // This isn't working quite right.
"autorun": [
"monitor reset halt"
]
}
]
}
+35
View File
@@ -0,0 +1,35 @@
{
"C_Cpp.clang_format_style": "{ BasedOnStyle: Google, IndentWidth: 4, ColumnLimit: 0 }",
"files.associations": {
"memory": "cpp",
"utility": "cpp",
"deque": "cpp",
"vector": "cpp",
"array": "cpp",
"*.tcc": "cpp",
"cctype": "cpp",
"clocale": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"exception": "cpp",
"functional": "cpp",
"initializer_list": "cpp",
"iosfwd": "cpp",
"istream": "cpp",
"limits": "cpp",
"new": "cpp",
"ostream": "cpp",
"stdexcept": "cpp",
"streambuf": "cpp",
"string_view": "cpp",
"system_error": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"typeinfo": "cpp",
"algorithm": "cpp"
}
}
+2 -2
View File
@@ -6,7 +6,7 @@
{
"taskName": "build",
"type": "shell",
"command": "make -j4",
"command": "(cd Firmware && make -j4)",
"group": {
"kind": "build",
"isDefault": true
@@ -21,7 +21,7 @@
{
"taskName": "flash",
"type": "shell",
"command": "make flash",
"command": "(cd Firmware && make flash)",
"problemMatcher": []
},
{
-20
View File
@@ -1,20 +0,0 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "gdb",
"request": "attach",
"name": "Launch Program",
"target": "localhost:3333",
"gdbpath": "arm-none-eabi-gdb",
"remote": true,
"executable": "./build/ODriveFirmware.elf",
"cwd": "${workspaceRoot}",
"printCalls": false,
//"preLaunchTask": "openocd", // This isn't working quite right.
"autorun": [
"monitor reset halt"
]
}
]
}
-3
View File
@@ -1,3 +0,0 @@
{
"C_Cpp.clang_format_style": "{ BasedOnStyle: Google, IndentWidth: 4, ColumnLimit: 0 }"
}