My IDE is not compiling for the device I selected

markdh102
Posts: 11
Joined: Sat Apr 18, 2020 12:03 pm

My IDE is not compiling for the device I selected

Postby markdh102 » Sun May 26, 2024 9:29 am

Raspberry Pi 5. Running Bookworm.
Installed esp32 by Espressif Systems V2.0.11 using board manager.
Arduino IDE 1.8.19 (same on my Pi4's with Bullseye & Buster distros)

I select a Heltec Kit32 WiFi board. And compile but it cannot find pins_arduino.h.
I have to physically copy the file from the Heltec Folder in variants:

/home/pi/.arduino15/packages/esp32/hardware/esp32/2.0.11/variants

to the base Arduino folder to get it to work.

/home/pi/.arduino15/packages/esp32/hardware/esp32/2.0.11/cores/esp32

I have done (a few years ago) the same installation on a few Pi4's running Bullseye and Buster and never had this problem before.

I checked the temporary build folders from my pi5 and pi4 for the same project and the only difference is the gcc being used.
Working (on Pi4) is xtensa_esp32s3-elf.gcc-esp. On Pi5 it is using xtensa_esp32s2.elf.gcc-esp (s2 instead of s3).

Also I see in the temporary cpp.d file, the Pi4 correctly uses the path "variants/heltec" but the Pi5 uses "cores/esp32"

Does anyone use Bookworm on a Pi and have it work correctly?

Who is online

Users browsing this forum: No registered users and 38 guests