more docs

This commit is contained in:
Brad Nelson
2021-01-30 21:36:45 -08:00
parent d82e2ba262
commit 778bc96c3a

View File

@ -342,6 +342,26 @@ The system will automatically attempt to mount SPIFFS filesystem at <code>/spiff
It will then at start attempt to load <code>/spiffs/autoexec.fs</code> It will then at start attempt to load <code>/spiffs/autoexec.fs</code>
</p> </p>
<p>
One way this feature can be used to configure the Web UI to start by default.
When doing this, be sure to test your Web UI settings work well first.
</p>
<pre>
r| z" NETWORK-NAME" z" PASSWORD" webui | s" /spiffs/autoexec.fs" dump-file
</pre>
<p>
To remove a previously configured <code>autoexec.fs</code> you will need
to be able to reboot in a mode with Forth. One way to do this is to search
for the line in the .ino file that refers to <code>autoexec.fs</code>
and replace it with a different name. Then run the following:
</p>
<pre>
s" /spiffs/autoexec.fs" delete-file
</pre>
<p> <p>
See <a href="https://github.com/flagxor/eforth/blob/main/ueforth/arduino/autoboot.fs">autoboot.fs</a>. See <a href="https://github.com/flagxor/eforth/blob/main/ueforth/arduino/autoboot.fs">autoboot.fs</a>.
</p> </p>