Questions tagged [spiffs]
The spiffs tag has no summary.
27 questions
0
votes
1
answer
491
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 ...
1
vote
0
answers
244
views
ESP32 SPIFFS Write problem
I'm trying to flash a spiffs on a esp32 but it is not working, i'm using these commands from this source:
to create the image:
mkspiffs -c /data/ -b 4096 -p 256 -s 0x100000 spiffs.bin
my output was ...
1
vote
1
answer
160
views
how to make this code work with spiffs?
So, I have a page to select a txt file from the user's device and save it to SD card:
<!DOCTYPE html>
<html>
<head>
<title>File Upload </title>
</head>
<body&...
0
votes
2
answers
3k
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 ...
0
votes
3
answers
3k
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 */
...
0
votes
2
answers
992
views
ESP32 AsyncWebServer with softAP does not serve pages
I'm trying to create a AsyncWebServer after enabling the SoftAP:
#include <Arduino.h>
#include <SPIFFS.h>
#include <WiFi.h>
#include <WiFiAP.h>
#include <AsyncTCP.h>
#...
2
votes
2
answers
296
views
How to install the application + its configuration to many devices of the same kind? (ESP32)
Being the newbie in the Arduino area... Having more devices, how can I upload some configuration parameters after the code was uploaded? Is it possible?
Situation: I have the simple application for ...
1
vote
2
answers
7k
views
No SPIFFS data upload in Arduino IDE 2.0.0-rc3 (ESP32 & TTGO) - Ubuntu
I tried adding esp32fs.jar to /home/myname/Arduino/tools/ESP32FS/tool (and a few other places as it looked likely that the jar file wasn't loading). I've definitely got the correct board selected, ...
0
votes
1
answer
232
views
Error saving SPIFFS on ESP8266 - only after 3rd entry
EDIT1 - This phenomena occurs only after reboot using button or ESP.reboot()
I'll try to make my question more focused:
I have library that saved log events to SPIFFS.
From 3rd entry (in the ...
3
votes
1
answer
902
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, ...
1
vote
1
answer
4k
views
How to write & read from SPIFFS file as object data on ESP8266
I am trying write four digit number to SPIFFS file, and read that four digit from SPIFFS file and display on seven segment.
The code, I am writing as below, I got "0" on each segment, but if ...
2
votes
1
answer
3k
views
ESP-32 Upload Files to SPIFFS via browser
I am using ESPAsyncWebServer Library in a ESP32 DevKit. I want to make a form in the browser in order to upload files in SPIFFS.
I have to notice that the whole device works perfectly. I connect to Wi-...
1
vote
0
answers
1k
views
Trying to improve speed of downloading files from server and writing to SPIFFS
update I have updated the code(second code segment) so that the null character is inserted into the array which solves the problem of writing past the end of the array. in order to stop the program ...
2
votes
2
answers
110
views
Best Data model/Concept to Store Multi-Day Alarm for clock?
I'm writing a multiday day alarm program for a project.
I'm not sure how I want to store the format of each of 10 alarms....I need to store it...in SPIFFS retrieve it(at boot) and then compare it to ...
1
vote
1
answer
1k
views
ESPTOOL not recognizing ESP32-S2 chip for SPIFFs transfer
I have a spiff file that uploads fine using a regular esp32, but when I try on the esp32-32, with a fresh installation, I get:
esptool.py v3.0-dev
Serial port COM3
Connecting....
A fatal error ...