-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Last libs with release 3.0.4 - Are there any newer for the more recent releases? #11331
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
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
-
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
Beta Was this translation helpful? Give feedback.
All reactions
-
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?
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
-
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?
Beta Was this translation helpful? Give feedback.
All reactions
-
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.
Beta Was this translation helpful? Give feedback.
All reactions
-
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?
Beta Was this translation helpful? Give feedback.
All reactions
-
@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 ;-)
Beta Was this translation helpful? Give feedback.
All reactions
-
@hmbacher Looks like HybridCompile is what you are looking for. You can ask in pioarduino Discord https://discord.gg/Nutz9crnZr
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
That sound quite promising! I will dig deeper into that asap.
Beta Was this translation helpful? Give feedback.
All reactions
-
@lbernstone, @Jason2866 Thank you very much for your help - I really appreciate your efforts!
Beta Was this translation helpful? Give feedback.