#littlefs — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #littlefs, aggregated by home.social.
-
Оптимальный выбор файловой системы и создание драйвера для OSPI Flash с GitHub Copilot
Файловая система во встраиваемых решениях — критическое звено. От её выбора зависят надёжность, детерминированность и задержки всей системы. В типичном устройстве она обслуживает запись сигналов, ресурсы для дисплеев и аудиовоспроизведения, логи, файлы веб‑интерфейса, образы прошивок и многое другое. На практике всплывают одни и те же проблемы: дефрагментация, высокое потребление RAM, плохая детерминированность (плавающие задержки), неустойчивость к сбоям записи/питания и низкая скорость. Нередко корнем оказываются драйверы из SDK производителей чипов: они не оптимизированы для многозадачной среды и часто недоработаны под OSPI. Я протестировал четыре файловые системы на платформе MC80 с внешней OSPI NOR Flash и разработал специализированный драйвер вместо стандартного из FSP — с полноценной поддержкой OSPI и RTOS.
-
Пуск LittleFS (NVRAM с запретом до-записи flash)
Надо запустить NVRAM на микроконтроллере, где нет возможности дописывать интервалы памяти. В этом тексте я показал как организовать NVRAM на основе широко распространенного программного компонента LittleFs.
https://habr.com/ru/articles/925372/
#littlefs #nvram #flash #endurance #console #fc7300f8mdt #fc7300x #lazy_write
-
File management on ESP32: SPIFFS and LittleFS compared
#digital,#digitalelectronics,#esp32,#file,#filesystem,#internetofthings,#iot,#library,#LittleFS,#NodeMCU,#SPIFFS,#tutorial
https://www.techrm.com/file-management-on-esp32-spiffs-and-littlefs-compared/
-
WiFi panoramic camera: remote monitoring and control via web
https://www.techrm.com/wifi-panoramic-camera-remote-monitoring-and-control-via-web/
#camera,#digital,#digitalelectronics,#Dupontcables,#esp32,#internetofthings,#iot,#library,#linux,#LittleFS,#NodeMCU,#platformio,#PWM,#sensor,#sensors,#servo,#servomotor,#SG90,#tutorial,#videosurveillance,#wifi,#wrover
-
so i've got #sqlite3 running on my #esp32 via #LittleFS (#SPIFFS had issues with DELETE statements and would mess up opening/closing for some reason), set up web API locally for it..... and now am trying to think of where i want to integrate it.
It's simply recording every cycle of the washing machine (this project, that keeps growing: https://beige.party/@quasirealsmiths/110098199034110219 ) and it'd be neat to see a little graph.
For $3 these little boards are beasts -> https://www.aliexpress.us/item/3256804158044498.html
next project i think will be a heat/sound sensor put under the sink on the exterior cabinet wall facing the dishwasher so I can "smarten" that thing, too.
-
ESP32: migrating files from SPIFFS to LittleFS without rebooting is possible if some conditions are met: the partition contents must fit in memory.
Devices with PSRAM have an obvious advantage.
https://gist.github.com/tobozo/79846b167295946a24753a328648fa31