How do i solve fatal error: sdkconfig.h: No such file or directory #include "sdkconfig.h"

I got some Ble libraries to work with my arduino and they're missing a sdkconfig.h file,
what i found out is that it's a esp file and it was supposed to automatically make it,
where can i get this file?

1 Like

Hi @kotchetov.

Please tell us exactly which libraries and where you got them from.

If you installed them from the Arduino IDE Library Manager then we only need to know the exact library name as it is shown in Library Manager.

If you downloaded them from a website on the Internet then we need the URL of that website.

The file is available when you are using a board with one of the microcontrollers of the ESP32 family as its primary microcontroller. It is not available when you are using a board that has a different primary microcontroller.

The UNO R4 WiFi board uses the Renesas RA4M1 as its primary microcontroller so it is expected that sdkconfig.h is not available when compiling for this board.

This file is very specific to the ESP32 architecture. Even if you found a copy of the file and installed it on your computer, it would simply fail to compile for the UNO R4 WiFi board.

If a library depends on this file, it means the library is only compatible with ESP32 boards and can't be used with the UNO R4 WiFi board and you would need to find a different library that is compatible with your board. We can give you a more definitive answer on the subject once we know which library you are using.

1 Like