mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1572] ESP32-S2 failed to open config file or writing #1339
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#1339
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 @xpeqex on GitHub (Mar 9, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1572
WiFimanager 2.0.15-rc.1
Esp32-S2
Core Version: 2.0.7
Description
Using the example AutoConnectWithFSParameters the sketch is unable to open the config file for writing (/config.json). The configurations are saved the first time, but when the micro is restarted the parameter settings are lost, the WiFi credentials are kept.
Settings in IDE
Module: ESP32 Dev Module
USB CDC On Boot Enable
USB DFU On Boot disbaled
Additional libraries:
Sketch
Debug Messages
@Gilabo commented on GitHub (Mar 14, 2023):
currently SPIFFS is not compatible with Arduino IDE v2.0
@xpeqex commented on GitHub (Mar 14, 2023):
Already tested on v1.8.19 and have the same result :/
@Gilabo commented on GitHub (Mar 15, 2023):
Working fine with me. V1.8.19.
Have you formated FS for SPIFFS first?
I would try with basic SPIFFS example first to see if the library can do read/write a file.
If can, then you might be need to dig into wifimanager settings.
@xpeqex commented on GitHub (Mar 16, 2023):
@Gilabo Yeah the solution was to format first then do the rest, sorry I wasn't aware of this.
Anyway, thank you, appreciate it!