esp8266 -rtos-sdk-vscode-config
kiteconfig
工作区配置文件:hello_world.code-workspace
{
"folders": [
{
"path": "."
}
],
"settings": {
"terminal.integrated.defaultProfile.linux": "",
"terminal.integrated.profiles.windows": {
"Msys2":{
"path": "D:\\Programs\\Iot\\msys32\\msys2_shell.cmd",
"args": ["-defterm", "-mingw32", "-no-start", "-here"],
"icon": "terminal-powershell"
},
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash"
}
},
"files.associations": {
"esp_spi_flash.h": "c",
"task.h": "c",
"sdkconfig.h": "c"
},
}
}
includePath 配置:c_cpp_properties.json .顺序不要错,不然不对
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**",
"D:/Programs/Iot/ESP8266/ESP8266_RTOS_SDK/components/**",
"D:/Programs/Iot/ESP8266/xtensa-lx106-elf/xtensa-lx106-elf/include",
"D:/Programs/Iot/ESP8266/xtensa-lx106-elf/xtensa-lx106-elf/include/c++/8.4.0/**",
"D:/Programs/Iot/ESP8266/xtensa-lx106-elf/xtensa-lx106-elf/sys-include",
"D:/Programs/Iot/ESP8266/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/8.4.0/include"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-msvc-x64"
}
],
"version": 4
}