From ac5b912bf482ca438de2d904bf63e4f0ba18513c Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Wed, 23 Nov 2022 22:29:48 +0200 Subject: [PATCH] chore: vscode config --- .vscode/c_cpp_properties.json | 56 +++++++++++++++++++++++++++++++++++ .vscode/extensions.json | 10 +++++++ .vscode/launch.json | 44 +++++++++++++++++++++++++++ 3 files changed, 110 insertions(+) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/extensions.json create mode 100644 .vscode/launch.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..ef2600f --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,56 @@ +// +// !!! WARNING !!! AUTO-GENERATED FILE! +// PLEASE DO NOT MODIFY IT AND USE "platformio.ini": +// https://docs.platformio.org/page/projectconf/section_env_build.html#build-flags +// +{ + "configurations": [ + { + "name": "PlatformIO", + "includePath": [ + "C:/p/arduino-simon-game/include", + "C:/p/arduino-simon-game/src", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/cores/arduino", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/variants/standard", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/libraries/EEPROM/src", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/libraries/HID/src", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/libraries/SPI/src", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/libraries/SoftwareSerial/src", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/libraries/Wire/src", + "" + ], + "browse": { + "limitSymbolsToIncludedHeaders": true, + "path": [ + "C:/p/arduino-simon-game/include", + "C:/p/arduino-simon-game/src", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/cores/arduino", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/variants/standard", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/libraries/EEPROM/src", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/libraries/HID/src", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/libraries/SPI/src", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/libraries/SoftwareSerial/src", + "C:/Users/Uri/.platformio/packages/framework-arduino-avr/libraries/Wire/src", + "" + ] + }, + "defines": [ + "PLATFORMIO=60105", + "ARDUINO_AVR_UNO", + "F_CPU=16000000L", + "ARDUINO_ARCH_AVR", + "ARDUINO=10808", + "__AVR_ATmega328P__", + "" + ], + "cStandard": "c11", + "cppStandard": "c++11", + "compilerPath": "C:/Users/Uri/.platformio/packages/toolchain-atmelavr/bin/avr-gcc.exe", + "compilerArgs": [ + "-mmcu=atmega328p", + "" + ] + } + ], + "version": 4 +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..080e70d --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + // See http://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "platformio.platformio-ide" + ], + "unwantedRecommendations": [ + "ms-vscode.cpptools-extension-pack" + ] +} diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..153a54d --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,44 @@ +// AUTOMATICALLY GENERATED FILE. PLEASE DO NOT MODIFY IT MANUALLY +// +// PIO Unified Debugger +// +// Documentation: https://docs.platformio.org/page/plus/debugging.html +// Configuration: https://docs.platformio.org/page/projectconf/section_env_debug.html + +{ + "version": "0.2.0", + "configurations": [ + { + "type": "platformio-debug", + "request": "launch", + "name": "PIO Debug", + "executable": "C:/p/arduino-simon-game/.pio/build/uno/firmware.elf", + "projectEnvName": "uno", + "toolchainBinDir": "C:/Users/Uri/.platformio/packages/toolchain-atmelavr/bin", + "internalConsoleOptions": "openOnSessionStart", + "preLaunchTask": { + "type": "PlatformIO", + "task": "Pre-Debug" + } + }, + { + "type": "platformio-debug", + "request": "launch", + "name": "PIO Debug (skip Pre-Debug)", + "executable": "C:/p/arduino-simon-game/.pio/build/uno/firmware.elf", + "projectEnvName": "uno", + "toolchainBinDir": "C:/Users/Uri/.platformio/packages/toolchain-atmelavr/bin", + "internalConsoleOptions": "openOnSessionStart" + }, + { + "type": "platformio-debug", + "request": "launch", + "name": "PIO Debug (without uploading)", + "executable": "C:/p/arduino-simon-game/.pio/build/uno/firmware.elf", + "projectEnvName": "uno", + "toolchainBinDir": "C:/Users/Uri/.platformio/packages/toolchain-atmelavr/bin", + "internalConsoleOptions": "openOnSessionStart", + "loadMode": "manual" + } + ] +}