Cannot find a file included in the freertos library - reent.h.
I get a compiler warning and sometimes cannot build/flash the ESP32 part.
Using VSCode to build a project on Ubuntu 18.0.4.
Very annoying - could anyone help out.
freertos
Re: freertos
Just found a suggested solution in this forum: viewtopic.php?f=40&t=17818&p=66817&hilit=reent#p66817
But it does not work for me.
But it does not work for me.
Re: freertos
It looks like this:
But the sys/reent.h cannot be found in any of the (sub)directories. In fact I did not find it on my system. I'm using esp-idf 4.2. I guess the include was added to FreeRTOS.h in a recent release.
Code: Untitled.js Select all
{
"configurations": [
{
"name": "ESP",
"cStandard": "c11",
"cppStandard": "c++17",
"includePath": [
"${workspaceFolder}/**",
"${config:idf.espIdfPath}/components/**"
],
"browse": {
"path": [
"${config:idf.espIdfPath}/components",
"${config:idf.espIdfPathWin}/components",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": false
}
}
],
"version": 4
}
But the sys/reent.h cannot be found in any of the (sub)directories. In fact I did not find it on my system. I'm using esp-idf 4.2. I guess the include was added to FreeRTOS.h in a recent release.
Re: freertos
Try add the following (at same depth as "name"):
Check compilerPath is correct, you may have a different version.
Code: Select all
"compilerPath": "${config:idf.toolsPath}/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc",
"compileCommands": "${workspaceFolder}/build/compile_commands.json"Who is online
Users browsing this forum: Google [Bot], Qwantbot, Semrush [Bot] and 1 guest