Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling using ESPIDF + Platform IO #10

Open
ste2425 opened this issue Nov 25, 2024 · 1 comment
Open

Error compiling using ESPIDF + Platform IO #10

ste2425 opened this issue Nov 25, 2024 · 1 comment

Comments

@ste2425
Copy link

ste2425 commented Nov 25, 2024

So I'm following the setup guide for Platform IO within VSCode.

I'm running this on Linux Mint 22 Cinnamon.

During Platform IO extension setup and when trying to compile i get the following error in the console.

PLATFORM: Espressif 32 (5.4.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-espidf @ 3.40407.240606 (4.4.7) 
 - tool-cmake @ 3.16.4 
 - tool-esptoolpy @ 1.40400.0 (4.4.0) 
 - tool-ninja @ 1.7.1 
 - toolchain-esp32ulp @ 1.23500.220830 (2.35.0) 
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5


ModuleNotFoundError: No module named 'pkg_resources':

It appears to be a bug in the version of Espresif32 platform used for the PlatformIO config according to this forum post: https://community.platformio.org/t/error-creating-projects-pkg-resources-issue/38481/2

This PR change fixes the issue: platformio/platform-espressif32@bd7dd2c

Locally i manually applied that change and it now all compiles fine.

Just raising for awareness.

@ricardoquesada
Copy link
Owner

Thanks. Did it got merge ?

There's has been some "politics" involved between PlatformIO and Espressif.
See: platformio/platform-espressif32#1225

in any case I updated the platformio.ini files both for examples/esp32 and the "template app" , and everything seems to be working Ok when using ESP-IDF v5.3.

If you still have issues with PlatformIO, please LMK. ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants