peacemaker Expert Licensed User Longtime User Jul 30, 2023 #1 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. Click to expand... 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: Jul 31, 2023
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. Click to expand... 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 ?
Erel B4X founder Staff member Licensed User Longtime User Jul 31, 2023 #2 Change the PartitionScheme option in the board selector. huge_app should probably work. Upvote 0
peacemaker Expert Licensed User Longtime User Jul 31, 2023 #3 "huge_app" setting gives for ESP32: Sketch uses 1475557 bytes (46%) of program storage space. Maximum is 3145728 bytes. Click to expand... For "default" ESP32 partitions it was: Sketch uses 1475557 bytes (112%) of program storage space. Maximum is 1310720 bytes. Click to expand... So, without OTA as i can understand, it's useable further as "huge_app". Upvote 0
"huge_app" setting gives for ESP32: Sketch uses 1475557 bytes (46%) of program storage space. Maximum is 3145728 bytes. Click to expand... For "default" ESP32 partitions it was: Sketch uses 1475557 bytes (112%) of program storage space. Maximum is 1310720 bytes. Click to expand... So, without OTA as i can understand, it's useable further as "huge_app".