This expounds on https://community.platformio.org/t/how-to-generate-and-use-pre-compiled-objects/19511/8?u=inquisitor
This is outside the scope of that thread, but it’s totally reliant on that capability…
I’m building a library based on ESP8266 low-level routines. Under PlatformIO, it uses Espressif SDK 2.1.0. My library works GREAT under it. Espressif made some breaking changes. I’ve never been able to get any resolution or even suggestions for a fix or work-around.
In 2019
https://bbs.espressif.com/viewtopic.php?f=7&t=51435
AND trying again this year - This one is far easier to digest and has two sample projects that run under ArduinoIDE and PlatformIO repsectively.
https://bbs.espressif.com/viewtopic.php?f=7&t=75244
The current Arduino IDE libraries show it’s using Espressif SDK 2.2.2. Unfortunately my library breaks under it. So…
Is it possible… to build a library under PlatformIO that not only uses the Espressif 2.1.0 libraries, but incorporates them into the *.a library such that when they run under the Arduino IDE created program, my library will be calling the 2.1.0 libraries instead of the Arduino’s 2.2.2?
I hope my explanation makes sense.
Thanks for any suggestions you might have.