SUPLA / supla-device

Create your own Supla device! This software can be used as a library for Arduino IDE, or can be used directly with ESP8266 RTOS SDK and with ESP IDF. It is also possible to compile and run it on Linux and in FreeRTOS.
GNU General Public License v2.0
28 stars 16 forks source link

ESP32 compilation problem #4

Closed Wojaran closed 2 years ago

Wojaran commented 2 years ago

Hi i have missing library: #include how to get it?

\Arduino\libraries\SuplaDevice\src\supla\storage\key_value.cpp:25:24: fatal error: esp_random.h: No such file or directory Znaleziono wiele bibliotek w "WiFi.h" compilation terminated. Wykorzystane: C:\Users\wojci\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFi Niewykorzystane: D:\Program Files (x86)\Arduino\libraries\WiFi exit status 1 Błąd kompilacji dla płytki ESP32 Dev Module.

Wojaran commented 2 years ago

Reinstalled Arduino IDE, and installed libraries again, and its working fine, just using BME280 sensor need to use:

include <supla\sensor\BME280.h> instead of

include <supla/sensor/BME280.h>

I'm on Windows10