Hey community,
at the moment I am having some trouble with the xtensa libraries.
As soon as I include for example freertos/FreeRTOS.h it is giving me the following errors in VSCode.
#include errors detected. Consider updating your compile_commands.json or includePath. Squiggles are disabled for this translation unit (/home/marcel/esp_projects/esp1/main/main.c).
cannot open source file "xtensa_api.h" (dependency of "freertos/FreeRTOS.h")
This is how the c_cpp_properties.json looks like.
[Codebox]{
"configurations": [
{
"name": "ESP-IDF",
"compilerPath": "${config:idf.toolsPath}/tools/xtensa-esp-elf/esp-13.2.0_20230928/xtensa-esp-elf/bin/xtensa-esp32-elf-gcc",
"includePath": [
"${config:idf.espIdfPath}/components/**",
"${config:idf.espIdfPathWin}/components/**",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"/home/marcel/esp/esp-idf/components/**",
"${workspaceFolder}/**"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components",
"${config:idf.espIdfPathWin}/components",
"${config:idf.espAdfPath}/components/**",
"${config:idf.espAdfPathWin}/components/**",
"${workspaceFolder}",
"/home/marcel/esp/esp-idf/components/**"
],
"limitSymbolsToIncludedHeaders": false
},
"cStandard": "c17",
"cppStandard": "c++17",
"compileCommands": "${workspaceFolder}/build/compile_commands.json"
}
],
"version": 4
}[/Codebox]
I am using EndeavourOS (Arch Linux) with Code - OSS (VSCode), but I am getting the same error with VSCode in Windows 10.
When I include xtensa_api.h manually it is not giving me that error anymore, but then it starts to show up other dependencies missing.
Do you need more information to help me with my problem?
Best regards,
Marcel
Problems with source file "xtensa_api.h" (dependency of "freertos/FreeRTOS.h")
Who is online
Users browsing this forum: Google [Bot] and 118 guests