The build variable MGOS_ROOT_FS_SIZE is responsible with fs_0/fs_1 size.
mos build --platform esp32 --build-var MGOS_ROOT_FS_SIZE=458752
will make fs_* 448kB. That’s the maximum you can get for 4M flash device.
2 Likes