B4R Question [inline-c] exclude non-needed references

peacemaker

Expert
Licensed User
Longtime User
HI, All

If i try to use ESP32 mesh code https://www.b4x.com/android/forum/threads/esp32-mesh-example.128645/, it works OK, and ...
Sketch uses 785893 bytes (59%) of program storage space. Maximum is 1310720 bytes.

If i add some needed libs, minimal - the sketch is at once > 100%, cannot fit the partition area.
And it's visible that "painlessMesh" uses the non-needed Updater, Wifi, SPIFFS, FS...

Maybe can be excluded somehow ?
 
Last edited:

peacemaker

Expert
Licensed User
Longtime User
"huge_app" setting gives for ESP32:

Sketch uses 1475557 bytes (46%) of program storage space. Maximum is 3145728 bytes.

For "default" ESP32 partitions it was:
Sketch uses 1475557 bytes (112%) of program storage space. Maximum is 1310720 bytes.

So, without OTA as i can understand, it's useable further as "huge_app".
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…