Replies: 1 comment 8 replies
-
|
Yes, setup is already reading and writing config files to the file system. Can you elaborate on what things would need saving? Just the model number? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be possible during main.cpp's setup process... to extract useful config values and write them to /config.json in LittleFS that way the webUI can access that data and display it when appropriate? (my C/C++ skills are very tragic, so I'm pretty sure its possible, just not sure how)
Would be a 1 time write operation each boot cycle, so if you reflashed your config with a new model # for example, a refresh of the website would render the new model info for example?
Second question.... how much space is allocatable for the web pages? I know this should be an easy thing to find but this is the first project I've ever worked on that had both a flashable filesystem and a firmware...
Beta Was this translation helpful? Give feedback.
All reactions