Hi, I just installed the newest Arduino IDE, my version says it is version 2.0.0-rc9.3. When i opened it up, it wanted to update my libraries, so I went ahead and did it. Now my project is 129,977 bytes over the limit, when it was working fine prior to this update. Is it possible that the updates involved that much more space? I am using an ESP32 board, with ESPNOW and BLE it used to be able to run at 98% capacity. My include statements look like this:
If anyone has any ideas I would love to try them. The problem is not a million 'serial.print' statements as I have seen elsewhere on the internet, there are some but not nearly 129677 bytes worth. Maybe there's a way to roll back the libraries as well?
Thanks for your time
I think you can just change the libraries back to an earlier version in the library manager , or just swap them out in the library folder - try one at a time , see. how it goes .
You have a lot of libraries included , there may be ways to do without some of them if you are only using one or two of the functions .
You could run a blank sketch and add the libraries in turn to see which is the real culprit in terms of memory usage
Something important to understand is that there are two different types of updates that may be offered by the Arduino IDE, each of which has its own notification.
You can see both notifications here (though you would only see one of the two if only one of the things had an available update):
Even though you mentioned "libraries", it is fairly common for people to also use this term when referring to the "boards" platform updates.
The library versions installed can be rolled back using "Library Manager" (open using Tools > Manage Libraries..., or by clicking the icon on the activity bar on the left side of the Arduino IDE window).
The boards platform versions installed can be rolled back using "Boards Manager" (open using Tools > Board > Boards Manager, or by clicking the icon on the activity bar on the left side of the Arduino IDE window).
Okay now I see the difference. It was the board manager (esp32 by Espressif) and when rolled back to version 2.0.3 my program is now the old size and functioning. Thanks again!