mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #1437] Usage of WiFiManager with flashing text file to LittleFS #1230
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1230
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bbrr132 on GitHub (Jun 21, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1437
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32:
Hardware: ESP8266
Core Version: 2.4.0, staging
Description
Hello, I am trying to use the WiFi manager with my ESP01 while using littlefs. My previous sketches uses littlefs to load a text file I flashed to the esp01 using ESP8266 sketch data upload. However, when uploading the wifimanager program, my littlefs data is lost and flashing the data after upload overwrites the wifimanager.
Settings in IDE
Module: ESP01
Additional libraries:
LittleFS, FS
Sketch
Debug Messages
@bbrr132 commented on GitHub (Jun 21, 2022):
Missed out
if (!LittleFS.begin()) {
Serial.println("LittleFS mount failed");
return;
}
resulting in FS not starting
@tablatronix commented on GitHub (Jun 21, 2022):
Can you post or submit a PR for a littlefs examples?
@bbrr132 commented on GitHub (Jun 22, 2022):
Changed made to fix the issue: added LittleFS.begin() in setup to start LittleFS
@tablatronix commented on GitHub (Aug 5, 2022):
github.com/tzapu/WiFiManager@9e408e41a8