ESP32 在 vscode中编译基本“helloworld” demo时出现如下变量未定义问题:
解决办法:
按ctrl+shift+p
选择下图中C/C++:Edit Configurations
打开“c_cpp_properties.json”文件,在文件末尾补充如下描述:
"compileCommands": "${workspaceFolder}/build/compile_commands.json"
如下图所示,即可解决demo编译问题。
ESP32 在 vscode中编译基本“helloworld” demo时出现如下变量未定义问题:
解决办法:
按ctrl+shift+p
选择下图中C/C++:Edit Configurations
打开“c_cpp_properties.json”文件,在文件末尾补充如下描述:
"compileCommands": "${workspaceFolder}/build/compile_commands.json"
如下图所示,即可解决demo编译问题。