Skip to content

Instantly share code, notes, and snippets.

@skishida
Last active May 5, 2024 14:44
Show Gist options
  • Save skishida/570ab572a17c41f80c21b73598f553fe to your computer and use it in GitHub Desktop.
Save skishida/570ab572a17c41f80c21b73598f553fe to your computer and use it in GitHub Desktop.
c_cpp_properties.json for Arduino in Visual Studio Code with vscode-arduino and vscode-cpptools extensions.
{
"configurations": [
{
"name": "Win32",
"browse": {
"path": [
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
},
"includePath": [
"${workspaceFolder}"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "msvc-x64"
},
{
"name": "Arduino",
"brouse" : {
"path" :[
]
},
"includePath": [
"${workspaceFolder}/**",
"C:\\Users\\${env:Username}\\AppData\\Local\\Arduino15\\",
"C:\\Users\\${env:Username}\\Documents\\Arduino\\libraries"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "msvc-x64",
"forcedInclude": [
"C:\\Users\\${env:Username}\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.6.21\\cores\\arduino\\Arduino.h"
]
},
{
"name": "Arduino-avr-standart",
"browse": {
"path": [
"${workspaceFolder}",
"C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino",
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr\\avr\\include",
"C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard",
"C:\\Users\\shoki\\Documents\\Arduino\\libraries"
],
"limitSymbolsToIncludedHeaders": true
},
"includePath": [
"${workspaceFolder}",
"C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino",
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr\\avr\\include",
"C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard",
"C:\\Users\\shoki\\Documents\\Arduino\\libraries"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "msvc-x64"
},
{
"name": "Arduino-esp32",
"includePath": [
"C:\\Users\\shoki\\Documents\\Arduino\\hardware\\espressif\\esp32\\cores\\esp32",
"C:\\Users\\shoki\\Documents\\Arduino\\hardware\\espressif\\esp32\\libraries",
"${workspaceRoot}"
],
"defines": [
"_DEBUG",
"UNICODE"
],
"intelliSenseMode": "msvc-x64",
"browse": {
"path": [
"C:\\Users\\shoki\\Documents\\Arduino\\hardware\\espressif\\esp32\\cores\\esp32",
"C:\\Users\\shoki\\Documents\\Arduino\\hardware\\espressif\\esp32\\libraries",
"${workspaceRoot}"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": ""
}
}
],
"version": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment