I developed a code some years ago with the old(official) heltec ESP32 LoRaWAN Library and it was working fine. As the company launched a new development environment the old library doesn’t work anymore. They advise on their documentation the following:
my question is how can i restrict platformIO to use the old environment? since every time i try to use the old code(even delete and copy the old library dip. folder), it seems that the code doesn’t work as it was.
This documentation does not apply at all. For board = heltec_wireless_stick_lite, PlatformIO uses the official Espressif-made Arduino-ESP32 v.2.0.9 (see variant), not Heltec’s forked core (v0.0.7). You can controll the version of the used Espressif Arduino-ESP32 core per documentation and releases. In standard PlatformIO, you cannot chose to use the Heltec core. There are forked platforms, however – unsupported officially.
Thank you MAX for your reply, so if I understood correctly, heltch document is talking about Arduino users who work under their environment. but if that’s the case, I still don’t understand why the firmware doesn’t work anymore and one of the versions suddenly become so big that it exceeds the ESP32 Flash size(i didn’t change anything in the code):
My question is, Is it sufficient that i delete the folder of the Library that doesn’t work and copy it from an old project(where the maintenance of the library didn’t apply) or there are other things that i should do?
Thank you MAX, I may try this for sure, however, this is not the code that i’m currently working on.
I hope to find an answer from you to this question:
Is it sufficient that i delete the folder of the Library that doesn’t work and copy it from an old project(where the maintenance of the library didn’t apply) or there are other things that i should do?