I'm working under Tuxedo OS 22.04 (IIRC based on Ubuntu 22.04).
I installed Arduino IDE 1.8.19 from repo and compiled the placeholder source code (just an empty setup and loop) for FireBeetle ESP8266 board (installed from http://download.dfrobot.top/boards/package_DFRobot_index.json).
I had a compilation error that I finally managed: on esptool call, there was a "no such file or directory" error. I did just not have the right interpreter for this executable file (I couldn't execute it from bash either).
Now it's working fine under Arduino IDE 1.8.19.
I wanted to try 2.1.1. I installed it through this command:
flatpak install flathub cc.arduino.IDE2
But now, I have the esptool error back!
/home/vincent/.arduino15/packages/DFRobot/tools/esptool/0.4.11/esptool -eo /home/vincent/.arduino15/packages/DFRobot/hardware/esp8266/2.3.3/bootloaders/eboot/eboot.elf -bo /home/vincent/.var/app/cc.arduino.IDE2/cache/arduino/sketches/CE7199FCEF22D8B5E5B4B97192206078/esp8266_scan_wifi.ino.bin -bm dio -bf 40 -bz 4M -bs .text -bp 4096 -ec -eo /home/vincent/.var/app/cc.arduino.IDE2/cache/arduino/sketches/CE7199FCEF22D8B5E5B4B97192206078/esp8266_scan_wifi.ino.elf -bs .irom0.text -bs .text -bs .data -bs .rodata -bc -ec
Using library ESP8266WiFi at version 1.0 in folder: /home/vincent/.arduino15/packages/DFRobot/hardware/esp8266/2.3.3/libraries/ESP8266WiFi
fork/exec /home/vincent/.arduino15/packages/DFRobot/tools/esptool/0.4.11/esptool: no such file or directory
Compilation error: fork/exec /home/vincent/.arduino15/packages/DFRobot/tools/esptool/0.4.11/esptool: no such file or directory
I can still execute esptool command from bash.
If I go back to 1.8.19, I can compile without issue. Here is the output:
"/home/vincent/.arduino15/packages/DFRobot/tools/esptool/0.4.11/esptool" -eo "/home/vincent/.arduino15/packages/DFRobot/hardware/esp8266/2.3.3/bootloaders/eboot/eboot.elf" -bo "/tmp/arduino_build_622550/esp8266_scan_wifi.ino.bin" -bm dio -bf 40 -bz 4M -bs .text -bp 4096 -ec -eo "/tmp/arduino_build_622550/esp8266_scan_wifi.ino.elf" -bs .irom0.text -bs .text -bs .data -bs .rodata -bc -ec
Using library ESP8266WiFi at version 1.0 in folder: /home/vincent/.arduino15/packages/DFRobot/hardware/esp8266/2.3.3/libraries/ESP8266WiFi
Sketch uses 226649 bytes (21%) of program storage space. Maximum is 1044464 bytes.
Global variables use 31840 bytes (38%) of dynamic memory, leaving 50080 bytes for local variables. Maximum is 81920 bytes.
I'm out of ideas! And my rubber duck isn't of any help ![]()
Vincent