Running Arduino 2.2.1 on newly-installed Ubuntu 24.04 LTS desktop. I am working with an esp32-S3 Development board. I receive error /home/-user-/.arduino15/packages/esp32/tools/xtensa-esp-elf-gdb/packages/esp32/tools/14.2_20240403/bin/arm-none-eabi-gdb not found when I click the debug option arrow shown in the attached image. The very same problem appears here: Arduino IDE 2.X ESP32C3 Debug not found arm-none-eabi-gdb.exe Error - #11 by jhhm
That article seems to imply that the problem was resolved by the very version of Arduino IDE that I am running. Clearly it's not solved for me.
What I notice, is that that box next to the arrow (same image) has a dropdown that includes Arduino and nothing else. Seems to me that this is some sort of configuration issue, but I do not see a way to correct the configuration. something is causing the IDE to look for arm-none-eabi-gdb rather than the appropriate one (which I am guessing is extensa-esp32s3-elf-gdb in my case). The path is correct, but the named file is not in that path, and I don't think it belongs there. What causes the IDE to look for the arm* file rather than esp*?
Here is the launch.json for the only debug configuration currently defined:
Thanks, @jim-p . I am using esp32 by espressif, version 3.3.2. After 3.3.2, espressif broke compatibility with GFX libraries as described here and elsewhere. Unfortunately, I need those features.
I have also tried using Arduino 2.3.3, which unfortately does not resolve this issue. (It is still broken in current (3.3.7) version of the board.)
> ls -l
-rwxr-xr-x 1 user user 197 Feb 18 14:09 arduino.desktop
lrwxrwxrwx 1 user user 38 Feb 18 14:00 arduino-ide -> arduino-ide_2.2.1_Linux_64bit.AppImage
-rwxrwxr-x 1 user user 183123134 Feb 17 08:48 arduino-ide_2.2.1_Linux_64bit.AppImage
-rwxrwxr-x 1 user user 190624130 Feb 18 14:20 arduino-ide_2.3.3_Linux_64bit.AppImage
-rwxrwxr-x 1 user user 201578934 Feb 14 11:46 arduino-ide_2.3.7_Linux_64bit.AppImage
(2.3.3 was because it works for you.) I have tried to enable debug with all the versions you see there. I have also tried various versions of the board -not so easy to document-. In short , with combinations and permutations, i have spent many hours on the quest for a working Arduino / esp32 / debug combination. Hence this post.
I'm not a Linux expert, and I don't have an S3 for testing, so can't offer much help. All I can offer is to show that it does work on my machine as described.
Can you compile and upload ESP programs?