How to change FAT sector size to 512B instead if 4096B
How to change FAT sector size to 512B instead if 4096B
I am trying to free up space in the partition file by reducing the amount of storage for my fat partition that is used by the wear leveling library. Currently the minimum amount is 528KB because it uses a sector size of 4096. The IDF documentation says that the sector size can be reduced to 512B and I have seen folks having a partition size of 128K by changing the sdfconfig setting WL_SECTOR_SIZE. I tried changing the corresponding field in the sdconfig.h file in the folder esp32/tools/sdk/include/config/sdconfog.h but it had no effect. How do I do this in the ardunio environment.
Who is online
Users browsing this forum: No registered users and 94 guests