Last active
August 29, 2021 20:15
-
-
Save LMBernardo/3ec0156adbbe41bd07538be9b478daee to your computer and use it in GitHub Desktop.
(Relatively) generic ESP32 build configuration for VSCode, using IDF v4.3. Requires setting IDF_PATH and IDF_TOOLS_PATH environmental variables.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"configurations": [ | |
{ | |
"name": "ESP32", | |
"includePath": [ | |
"${default}", | |
"${workspaceFolder}", | |
"${workspaceFolder}/main", | |
"${workspaceFolder}/components/**", | |
"${workspaceFolder}/build/config", | |
"${env:IDF_PATH}/components/**" | |
], | |
"defines": [ | |
"_DEBUG", | |
"UNICODE", | |
"_UNICODE" | |
], | |
"windowsSdkVersion": "10.0.19041.0", | |
"compilerPath": "${env:IDF_TOOLS_PATH}/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe", | |
"cStandard": "c11", | |
"cppStandard": "c++14", | |
"intelliSenseMode": "windows-gcc-x86", | |
"compileCommands": "${workspaceFolder}/build/compile_commands.json", | |
"configurationProvider": "ms-vscode.cmake-tools" | |
} | |
], | |
"env": { | |
"IDF_PYTHON_ENV_PATH": "${env:IDF_TOOLS_PATH}/python_env/idf4.3_py3.8_env" | |
}, | |
"version": 4 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment