Challenges with Importing and Compiling Libraries in the Arduino IDE
Opened this issue · 4 comments
First of all, congratulations on your code, as it is exactly what I was looking for. I just want to say that it is taking me many hours (I must be very clumsy) to add the libraries that the Arduino IDE is asking for. I have added the ones you indicated, but it keeps asking for more. Is there an easier way to import the project and compile it as is?
I have to admit I am using old arduino IDE that I am transferring from machine to machine for few years :(
I will have to make a new version of the code, perhaps for platform.io that will get all the dependencies automatically.
Perhaps next week I can find some time.
Thanks for your patience.
I have the same issue; after following the steps of the readme file for the board and scheme settings as well as the 3 libraries to install, I am still missing, at least, the following dependencies:
WebServer.h
Server.h (dependency of ArduinoOTA.h and WiFi.h)
WebSocketsServer.h
EEPROM.h
BluetoothSerial.h
Well, I've spent quite some time trying to find the problem and I did in the end.
The BluetoothSerial.h in newer version of ESP32 IDF no longer supports the legacy mode of pin setup.
In order to make it work, you'll have to downgrade the board from 3.0.x back to 2.0.17 and restart Arduino IDE.
With this board setup, the code compiles OK and works, otherwise you'll receive problems during compilation.
Don't forget to set the partition scheme to Huge APP.
Sorry it took me so long - had some other things on my plate...
Well, I've spent quite some time trying to find the problem and I did in the end.
The BluetoothSerial.h in newer version of ESP32 IDF no longer supports the legacy mode of pin setup.
In order to make it work, you'll have to downgrade the board from 3.0.x back to 2.0.17 and restart Arduino IDE.
With this board setup, the code compiles OK and works, otherwise you'll receive problems during compilation.
Don't forget to set the partition scheme to Huge APP.
Thank you for sharing your solution! It’s great to hear that you found the issue with the BluetoothSerial.h and the ESP32 IDF version. Downgrading the board to 2.0.17 and adjusting the partition scheme to Huge APP makes sense as a workaround. I’ll make sure to try it out!
I'll keep you updated!
Thanks