2025-09-25 3:20 AM
Trying to store some ssl certificates and device configurations in STM32h753zi internal flash using littlefs file system https://github.com/littlefs-project/littlefs. but i could not able find any example in there. i anyone had experience in stm32h7(2MB, 2bank) flash read/write operations with wear leveling. any examples or further guidance could be helpfull. im fine with any effective solutions (not bounded to littlefs).
2025-09-25 3:35 AM - edited 2025-09-25 3:37 AM
Hello,
Unfortunately, ST doesn't provide LittleFS implementation. You may need to look for some implementations on the internet.
See the examples provided by @hans86 in this thread based on STM32H743 device.
2025-09-25 4:51 AM
That GitHub page says, "Detailed documentation (or at least as much detail as is currently available) can be found in the comments in lfs.h." - so have you looked at that?
2025-09-25 7:37 AM
@Andrew Neil there is documentation about how their functions works, not about interfacing between stm32h7 memory.
2025-09-25 7:02 PM - edited 2025-09-25 7:02 PM
Why do you want any filesystem at all? It is easier just to include a file or few files into the image, like the "filesystem" used in the http server examples; or burn them into free space on the flash at known addresses.
2025-09-25 9:35 PM - edited 2025-10-07 2:02 AM
There is few setting/configuration data which should be updated based on user data's from network/local configuration page.