Notifications
Clear all

NEW ESP32 library changes official documentation

1 Posts
1 Users
0 Reactions
65 Views
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 4 years ago
Posts: 7283
Topic starter  

Here is the link to the official documentation regarding many ESP32 API changes.

https://docs.espressif.com/projects/arduino-esp32/en/latest/migration_guides/2.x_to_3.0.html

and this is the link to our friends over at the random nerds

https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/

Your choices for dealing with this are as follows (in no particular order)

1. Switch to VScode and PlatformIO where you can have multiple versions of a library. The cost is some disk space.

2. Constantly install and remove library versions depending on what the source code requires. The cost is the occasional re-compile when you forget to switch first.

3. Make changes to the code that is not working to adhere to the new API. The cost is time to make the changes.

I really hate #2, so I think I will use #1 to start while working towards #3. YES Bill has a tutorial on VSCode and PlatformIO. The video is at

and the article is at https://dronebotworkshop.com/platformio/

Business as usual for those of us who were programmers, but might be intimidating for newer folks. Go slow and don't make things worse.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
My personal scorecard is now 1 PC hardware fix (circa 1982), 1 open source fix (at age 82), and 2 zero day bugs in a major OS.


   
Quote