From 744b3c66bfe7be03aae9622349327c6825cc59bf Mon Sep 17 00:00:00 2001 From: lux Date: Thu, 6 Jun 2019 14:38:19 +0000 Subject: [PATCH] added vscode configs --- .vscode/arduino.json | 7 +++++++ .vscode/c_cpp_properties.json | 20 ++++++++++++++++++++ .vscode/settings.json | 5 +++++ 3 files changed, 32 insertions(+) create mode 100644 .vscode/arduino.json create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/settings.json diff --git a/.vscode/arduino.json b/.vscode/arduino.json new file mode 100644 index 0000000..63571ca --- /dev/null +++ b/.vscode/arduino.json @@ -0,0 +1,7 @@ +{ + "board": "arduino:avr:nano", + "configuration": "cpu=atmega328", + "port": "/dev/ttyUSB0", + "sketch": "alarm/main/main.ino", + "programmer": "AVR ISP" +} \ No newline at end of file diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..62f1ce2 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,20 @@ +{ + "configurations": [ + { + "name": "Linux", + "defines": [], + "compilerPath": "/usr/bin/gcc", + "cStandard": "c11", + "cppStandard": "c++17", + "intelliSenseMode": "clang-x64", + "includePath": [ + "~/.arduino15/packages/arduino/tools/**", + "~/.arduino15/packages/arduino/hardware/avr/1.6.23/**" + ], + "forcedInclude": [ + "~/.arduino15/packages/arduino/hardware/avr/1.6.23/cores/arduino/Arduino.h" + ] + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..8ea0b8e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "files.associations": { + "cstddef": "cpp" + } +} \ No newline at end of file