From 8da33ec466a1eebae95822b0d573bb5ff16156e5 Mon Sep 17 00:00:00 2001 From: Gennaro Tortone Date: Wed, 31 Jan 2018 21:24:30 +0100 Subject: [PATCH] vscode setup --- .gitignore | 1 + .vscode/arduino.json | 7 +++++++ .vscode/c_cpp_properties.json | 16 ++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 .vscode/arduino.json create mode 100644 .vscode/c_cpp_properties.json diff --git a/.gitignore b/.gitignore index 49359a587..6d939eda1 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ .gcc-flags.json .vscode sonoff/user_config_override.h +build diff --git a/.vscode/arduino.json b/.vscode/arduino.json new file mode 100644 index 000000000..8b34fd3f6 --- /dev/null +++ b/.vscode/arduino.json @@ -0,0 +1,7 @@ +{ + "board": "esp8266:esp8266:generic", + "configuration": "CpuFrequency=80,ResetMethod=ck,CrystalFreq=26,FlashFreq=40,FlashMode=dout,FlashSize=1M0,LwIPVariant=Prebuilt,Debug=Disabled,DebugLevel=None____,UploadSpeed=115200", + "port": "/dev/ttyUSB0", + "sketch": "sonoff/sonoff.ino", + "output": "build" +} \ 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 000000000..21083c5b0 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,16 @@ +{ + "configurations": [ + { + "name": "Linux", + "browse": { + "limitSymbolsToIncludedHeaders": false, + "path": [ + "/home/tortone/.arduino15/packages/esp8266/hardware", + "${workspaceRoot}" + ] + }, + "intelliSenseMode": "clang-x64" + } + ], + "version": 3 +}