Questions tagged [littlefs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
95 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 */ ...
user avatar
  • 858
3 votes
0 answers
195 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, ...
user avatar
2 votes
1 answer
673 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. ...
user avatar
2 votes
2 answers
291 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 ...
user avatar
  • 121
0 votes
0 answers
980 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 ...
user avatar
  • 858