full functionality of this site and enable such things as forum posting.
matt:
In about a week I will be releasing an update to the ESP32 compiler. This update may break existing sketches.
It switches from using the internal UECIDE algorithm (which is not good) to the XTensa compiler to identify which libraries to include. However this relies on functionality in UECIDE that has a small bug.
It is important that you update UECIDE to version 0.11.9 before updating the ESP32 compiler in order to avoid problems.
If you don't you may find that libraries are included multiple times (the biggest culprit is WiFi being included for both WiFi.h
and WiFiMulti.h
).
matt:
If you experience problems with the change and would like to revert to the old library detection method it's very simple.
- Locate the
compiler.txt
file for the xtensa-esp32-elf
compiler. On Linux this is in ~/.uecide/compilers/xtensa-esp32-elf/compiler.txt
- Edit it in your favourite text editor
- Look for the line starting
compile.preproc=
and either remove it of comment it out (with #
).
After a restart or rescan UECIDE will then use the old (albeit broken) library detection method.