From e7d358e0d3f66bea60ba91a82665fbd0d6837767 Mon Sep 17 00:00:00 2001 From: JbLb Date: Fri, 7 Feb 2020 23:43:38 +0100 Subject: [PATCH] setup config file for Visual Studio Code --- .vscode/c_cpp_properties.json | 20 ++++++++++++++++++++ .vscode/launch.json | 34 ---------------------------------- 2 files changed, 20 insertions(+), 34 deletions(-) create mode 100644 .vscode/c_cpp_properties.json delete 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..b81fd54 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,20 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "/home/jerome/Arduino/libraries/**", + "/home/jerome/.arduino15/packages/STM32/tools/**", + "/home/jerome/.arduino15/packages/STM32/hardware/stm32/1.8.0/**" + ], + "forcedInclude": [ + "/home/jerome/.arduino15/packages/STM32/hardware/stm32/1.8.0/cores/arduino/Arduino.h" + ], + "intelliSenseMode": "gcc-x64", + "compilerPath": "/usr/bin/clang", + "cStandard": "c11", + "cppStandard": "c++17" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 54f6b36..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,34 +0,0 @@ -// 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": "/home/jerome/spare/hoverboard/hoverboard-firmware-hack-FOC/02_Arduino/hoverserial/.pio/build/bluepill_f103c8_128k/firmware.elf", - "toolchainBinDir": "/home/jerome/.platformio/packages/toolchain-gccarmnoneeabi/bin", - "svdPath": "/home/jerome/.platformio/platforms/ststm32/misc/svd/STM32F103xx.svd", - "preLaunchTask": { - "type": "PlatformIO", - "task": "Pre-Debug" - }, - "internalConsoleOptions": "openOnSessionStart" - }, - { - "type": "platformio-debug", - "request": "launch", - "name": "PIO Debug (skip Pre-Debug)", - "executable": "/home/jerome/spare/hoverboard/hoverboard-firmware-hack-FOC/02_Arduino/hoverserial/.pio/build/bluepill_f103c8_128k/firmware.elf", - "toolchainBinDir": "/home/jerome/.platformio/packages/toolchain-gccarmnoneeabi/bin", - "svdPath": "/home/jerome/.platformio/platforms/ststm32/misc/svd/STM32F103xx.svd", - "internalConsoleOptions": "openOnSessionStart" - } - ] -} \ No newline at end of file