chore: Add VSCode config files & editor settings
This commit is contained in:
parent
83ad031ee6
commit
04ae12d9ad
|
|
@ -0,0 +1,9 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"board": "arduino:avr:leonardo"
|
||||
}
|
||||
|
|
@ -3,6 +3,8 @@
|
|||
{
|
||||
"name": "Mac",
|
||||
"includePath": [
|
||||
"/Applications/Arduino.app/Contents/Java/tools/**",
|
||||
"/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/**",
|
||||
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/include",
|
||||
"/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino",
|
||||
"${workspaceRoot}"
|
||||
|
|
@ -20,6 +22,9 @@
|
|||
"macFrameworkPath": [
|
||||
"/System/Library/Frameworks",
|
||||
"/Library/Frameworks"
|
||||
],
|
||||
"forcedInclude": [
|
||||
"/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino/Arduino.h"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -55,5 +60,5 @@
|
|||
"intelliSenseMode": "msvc-x64"
|
||||
}
|
||||
],
|
||||
"version": 3
|
||||
"version": 4
|
||||
}
|
||||
|
|
@ -1,4 +1,6 @@
|
|||
// Place your settings in this file to overwrite default and user settings.
|
||||
{
|
||||
"cmake.experimental.enableTargetDebugging": true
|
||||
"files.associations": {
|
||||
"cstddef": "cpp",
|
||||
"ostream": "cpp"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build",
|
||||
"command": "make",
|
||||
"args": ["all"],
|
||||
"options": {
|
||||
"cwd": "${workspaceRoot}/build"
|
||||
},
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Run Tests",
|
||||
"command": "${workspaceRoot}/build/test/unit-tests/unit-tests",
|
||||
"group": {
|
||||
"kind": "test",
|
||||
"isDefault": true
|
||||
},
|
||||
"dependsOn": ["Build"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue