My IDE is not compiling for the device I selected
Posted: 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?
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?