Arduino IDE:
As you can see, I have an older 1.0.3 version of the ESP32 Arduino IDE board support package (since 1.0.4 is the current version at time of writing, and the ‘update’ button for that entry).
PlatformIO:
It’s there in the build log - in this case framework version 1.0.4. There is also the platform version (1.12.0) but that isn’t important now that the framework version is readily shown in the build logs now. (Yay… no longer need to check the github releases to work out the framework version!)
The other aspect to consider is the library versions. If you can confirm that with the same framework and library versions that a given piece of code is resulting in two different compile sizes, then we’ll need some code (and platformio.ini
configuration) to try out to see what’s going on…