Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Last libs with release 3.0.4 - Are there any newer for the more recent releases? #11331

Closed Answered by lbernstone
hmbacher asked this question in Q&A
Discussion options

Board

ESP32S3

Device Description

Not relevant

Hardware Configuration

Not relevant

Version

v3.0.4

IDE Name

VSCode

Operating System

Windows 11

Flash frequency

PSRAM enabled

no

Upload speed

Description

Hello Folks!
Im wondering why for only for some releases libs are available in the assets. The latest release with libs I found is 3.0.4.

As i would like to use arduino-esp32 with platform.io in VSCode I have to manually specify the arduino-esp32 target version and libs:

[env]
framework = arduino
platform = espressif32 @ 6.10.0
platform_packages=
 framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#3.0.4
 framework-arduinoespressif32-libs @ https://github.com/espressif/arduino-esp32/releases/download/3.0.4/esp32-arduino-libs-3.0.4.zip

I would like to upgrade to 3.3.0, but the assets do not contain the corresponding libs.

Could you please explain me, what to do, to obtain the appropriate libs?

And is my understanding right, that if I would like to change settings using sdkonfig / menuconfig, that mean manually building a new version of the libs, before continuing to use arduino-esp32 with platform.io build system! Or is that possible directly from within platform.io build system somehow?

Thanky you very much in advance!

Sketch

-

Debug Message

-

Other Steps to Reproduce

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
You must be logged in to vote

The built-in libraries are part of the release assets, along with the core and the pre-compiled sdk, which will all be a matching (versioned) set. That's why you should not have separate lines for platform_packages.

Replies: 6 comments 4 replies

Comment options

Platform.io is not currently supporting arduino-esp32 v3.x
You can use the community supported version by adding this to your platformio.ini (remove the platform_packages)
platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip

You must be logged in to vote
0 replies
Comment options

Oh nice, I will have a depper look to pioarduino!

Generally. I knew, that arduino-esp32 V3 is curretnly not supported by platform.io, but I got it to work following platformio/platform-espressif32#1225 (comment)

Unfortunately you have to link the libs explicitely, what brings me back to my initial question. How are the libs for a specific arduino-esp32 releases intended to be build, if they are not distributed with the release assets regularely?

You must be logged in to vote
0 replies
Comment options

The built-in libraries are part of the release assets, along with the core and the pre-compiled sdk, which will all be a matching (versioned) set. That's why you should not have separate lines for platform_packages.

You must be logged in to vote
3 replies
Comment options

Switching to the community supported pioarduino platform-espressif32 was quite easy.
Is pioarduino/platform-espressif32 kind of a substitution for platformio/platform-espressif32 and that is compatible with espressif/arduino-esp32 (Arduino Framework) and still can be used with platform.io extension in VSCode?

Comment options

Yes, the Tasmota group (@Jason2866) maintains it to use in their project. It is unlikely to get new features, but is keeping the framework running in vscode.

Comment options

OK, got that now.
But as arduino-esp32 is released as a bundle (Arduino core + pre-built libraries) I have to rebuild the libraries if I like to adapt some sdkonfig options, according to https://docs.espressif.com/projects/arduino-esp32/en/latest/faq.html#how-to-modify-an-sdkconfig-option-in-arduino., right?

Any idea what to change in the platform.ini to use arduino-esp32 with custom build libraries according to https://docs.espressif.com/projects/arduino-esp32/en/latest/lib_builder.html or to even integrate the libraries building to the platform.io build system?

Maybe Platform.io Community is a more appropriate place to ask this question?

Answer selected by hmbacher
Comment options

@lbernstone There is already a big new feature HybridCompile. With this feature it is possible to change sdkconfig settings for the compiled and used Arduino libs. This is a pioarduino only feature ;-)

You must be logged in to vote
0 replies
Comment options

@hmbacher Looks like HybridCompile is what you are looking for. You can ask in pioarduino Discord https://discord.gg/Nutz9crnZr

You must be logged in to vote
1 reply
Comment options

That sound quite promising! I will dig deeper into that asap.

Comment options

@lbernstone, @Jason2866 Thank you very much for your help - I really appreciate your efforts!

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #11329 on May 02, 2025 10:12.

AltStyle によって変換されたページ (->オリジナル) /