Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [littlefs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
133 views

Problem converting a sketch from SPIFFS to LittleFS - no matching function for call error

I'm playing with a tutorial from this DroneBot Workshop YouTube (excellent video presentation by the way on WiFi manager for newbies). I am working with a NodeMCU ESP8266. The example code was written ...
Dave J's user avatar
  • 1
2 votes
0 answers
578 views

Send large file over BLE with ESP32 Wrover B

I have been able to get a large file to be sent in packages over BLE to a characteristic on my ESP32-Wrover-B module (yay!). However, these files can be large (+300kb) so I need to repackage them ...
NRav's user avatar
  • 225
0 votes
2 answers
2k views

ESP32 - error when using `LITTLEFS.h` after core updated to 2.0.4

After updating ESP32 to core version 2.0.4 (file in Arduino IDE preferences was replaced tohttps://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json to upgrade), I ...
guyd's user avatar
  • 1,049
0 votes
1 answer
909 views

ESP32, ArduinoOTA.h LittleFS.h and data file upload OTA

I'm having a sketch, that works perfectly fine - connects to WiFi, uploading files using Esp32 LittleFS data Upload using Arduino IDE (when still connected to my PC), and sketch updates via OTA (...
guyd's user avatar
  • 1,049
0 votes
3 answers
2k views

How to store a struct in a file?

I'm trying to store (read&write( a struct using LittleFS on ESP8266. Appreciate assistance struct oper_string { bool state; /* On or Off */ uint8_t step; /* Step, in case of PWM */ ...
guyd's user avatar
  • 1,049
3 votes
0 answers
569 views

SPIFFS and LittleFS don't show all my files with readdir() and can't open() them

I created a simple sketch that just tries to list the files in SPIFFS. The SPIFFS filesystem was created with the version of mkspiffs that's part of the esp8266 package. The upload all seems to work, ...
Stephen Harris's user avatar
2 votes
1 answer
2k views

Any way to use DMA to transfer data to SD Card in ESP8266

I'm using ESP8266 at speed of 160 MHz to record ADC results into SD card, I need to do this at rate of 8 KHz. Means that i should save it on the SD Card or i'll run out of memory before 4 Sec passes. ...
A.R.S.D.'s user avatar
2 votes
2 answers
752 views

Where to store critical data in power outage situation on ESP8266

I want to store a counter that is always changing, but I want it to remain and be able to retrieve it on after a power loss. It's only one long number data, but as it is always changing, I don't know ...
harold's user avatar
  • 121
0 votes
0 answers
2k views

ESP8266 - Problem with LittleFS after reboot (solved in comments)

I'm trying to create an even log saved on flash. I try to make it a class, called flashLOG as shown. Code behaves as expceted, reads, writes and posts it size and entries. The problem is that after ...
guyd's user avatar
  • 1,049