Build error: No such file or directory #include "esp_heap_alloc_caps.h"
Posted: Mon Dec 12, 2022 12:08 pm
I'm following a video examplehttps://www.youtube.com/watch?v=DLqj01asDM0 about inter-task communication using queues that I found on YouTube, but I can't build the project using ESP-IDF in VS Code.
and are not being retrieved and I don't know what to change in my JSON config files.
This is my c_cpp_properties.json
Code: Select all
#include "esp_heap_alloc_caps.h"
Code: Select all
#include "freertos/heap_regions.h"
This is my c_cpp_properties.json
Code: Select all
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"intelliSenseMode": "windows-msvc-x64",
"compileCommands": "${workspaceFolder}/build/compile_commands.json"
},
{
"name": "ESP-IDF",
"compilerPath": "c:\\Users\\arthu\\.espressif\\tools\\xtensa-esp32-elf\\esp-2021r2-patch5-8.4.0\\xtensa-esp32-elf\\bin\\xtensa-esp32-elf-gcc.exe",
"cStandard": "c11",
"cppStandard": "c++17",
"includePath": [
"${config:idf.espIdfPath}/components/**",
"${config:idf.espIdfPathWin}/components/**",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"${workspaceFolder}/**"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components",
"${config:idf.espIdfPathWin}/components",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": false
},
"configurationProvider": "ms-vscode.makefile-tools"
}
],
"version": 4
}