Hello all
I am new to using esp devices. When ever I try to upload the most basic or complicated code to my FireBeetle ESP 32, it gives me this error in the bottom. I have downloaded the correct board library and followed all the instructions on how to set up the device. Thanks in advance.
In file included from f:\games and tech stuff\arduino\arduino-1.8.8-windows\arduino-1.8.8\portable\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-61-gab8375a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\memory:62:0,
from F:\Games and Tech Stuff\Arduino\arduino-1.8.8-windows\arduino-1.8.8\portable\packages\esp32\hardware\DFRobot_FireBeetle-ESP32\0.0.9\cores\esp32\Esp.cpp:25:
f:\games and tech stuff\arduino\arduino-1.8.8-windows\arduino-1.8.8\portable\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-61-gab8375a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0\bits\stl_algobase.h:59:28: fatal error: bits/c++config.h: No such file or directory
compilation terminated.
exit status 1
Error compiling for board FireBeetle-ESP32.
Select Tools > Board > Boards Manager from the Arduino IDE menus.
Wait for the downloads to finish.
Scroll down until you see "esp32 by Espressif Systems". Click on it.
Click the Install button.
Wait for the installation to finish.
Click the Close button.
Select Tools > Board > FireBeetle-ESP32 from the Arduino IDE menus.
Now try compiling again.
The above instructions will remove DFRobot's attempt at providing their own boards platform for ESP32 and install the official ESP32 boards platform, which is much more actively maintained.
Since the official ESP32 boards platform also supports the "FireBeetle-ESP32" board, I can't think of any reason to use DFRobot's variant of the platform.
The above instructions will also remove any other boards platforms you had installed via the Arduino IDE Boards Manager. You can simply install them again in the same way as before. However, I recommend that you first try it with only the ESP32 boards platform installed so that you can verify it is working before adding additional complexity to the system.