libretiny-eu / libretiny

PlatformIO development platform for IoT modules
http://docs.libretiny.eu/
MIT License
382 stars 55 forks source link

File system health #284

Closed Mit4el closed 3 weeks ago

Mit4el commented 1 month ago

Hello, I am trying to translate a large project "IoTmanager" for use with your framework. But I ran into a problem. I realized that there is no file system implementation right now? I saw plans to make a VFS. Maybe there is already an option, I'm ready to test it.

kuba2k2 commented 1 month ago

Hello There is no FS implemented yet. However, if you need to store simple key-value properties, you can use FlashDB - it's implemented in LibreTiny. Take a look at ESPHome implementation: https://github.com/esphome/esphome/blob/dev/esphome/components/libretiny/preferences.cpp