When upgrading from https://github.com/espressif/arduino-esp32 from 2019/05 to today’s version, my code stopped working and more debugging showed that 55KB were lost in the bloat that was added in the last year.
me-no-dev says that it’s mostly IDF bloat, although my git bisect found the first CL that took an extra 14KB of RAM for wifi (there are more changes that took 40KB later, but I didn’t bisect them)
If anyone else finds that they’re running out of RAM with SmartMatrix (55KB lost is a big deal), see
Just revert back to f4acac4c2bf83d76f49241489e24fc1d6bbb64e7 from ue Aug 20 16:18:09 2019 +0200 and you’ll get memory back.
For the future, I was told that this won’t get fixed in arduino-esp32, and that I should be using esp32-idf with the arduino layer.
Need to see how that’ll work with vscode I just switched to, and whether I need to switch to platformio which is also more work.