New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error when trying to include FreeRTOSConfig.h: No such file or directory #1423

PaulChristopher opened this Issue May 21, 2018 · 1 comment


None yet
2 participants
Copy link

PaulChristopher commented May 21, 2018


Core Installation/update date: Manual installation with zip file from github on 23/03/2018
IDE name: Arduino IDE 1.8.5.
Flash Frequency: 80Mhz
Upload Speed: 921600


I want to use the lightweight µGFX library which supports FreeRTOS to build simple GUI applications, see
Some of the µGFX library files header files such as FreeRTOS.config.h, Compiling the sketch and the library gives a fatal error: "FreeRTOSConfig.h: No such file or directory".

Looking into platform.txt line 25, this path is included: "-I{compiler.sdk.path}/include/freertos". The mentioned directory is empty and has only one subfolder "freertos" with all the necessary file.

I could make the sketch/library get compiled by copying all the files from "{compiler.sdk.path}/include/freertos/freertos" to "{compiler.sdk.path}/include/freertos".

However, the µGFX library isn't outputting anything. So this ticket is starter to figure out what might be the cause for this. Am I using the FreeRTOS system wrong? Or is the µGFX library broken?

Why can't the µGFX library just simply include "FreeRTOSConfig.h"? I read somewhere, that this files get dynamically created? But what about the other includes such as semphr.h?


This comment has been minimized.

Copy link

lbernstone commented May 21, 2018

I don't think you are going to get the performance you want running this through arduino-esp32, which is an abstraction on top of freertos. I would recommend using arduino-esp32 as an esp-idf component if you really want the additional libraries. That said, you should be able to #include <freertos/FreeRTOSConfig.h> to get it included in your sketch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment