what does the board_build.filesystem_size setting do in platformio. If I had specified a different size in board_build.filesystem_size versus partition table as (log_fs, data, spiffs, 0x4B0000, 0x340000,) which size will be taken for filesystem
board_build.filesystem = littlefs
board_build.filesystem_size = 0x50000
What Platform are you working with? board_build.filesystem
is recognized for the Espressif32 platform (docs), and the size and location of the partition is taken from the configured partition table.
board_build.filesystem_size
only exists, as far as I’m aware of, in a platform fork for Raspberry Pi RP2040 and RP2350 chips (documentation). This is not respected by the Espressif32 platform at all.