Skip to content

Commit

Permalink
Update note on DISABLE_WIFI setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Apr 26, 2021
1 parent dec3716 commit 3826133
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Sming/Arch/Esp8266/Components/sming-arch/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ Default: OFF. In order to use SDK 3.0.0 or newer please follow the instructions
No-WiFi build
-------------

.. envvar:: DISABLE_WIFI
.. note::

This is an EXPERIMENTAL feature. Not all hardware functions may be available.

If a project does not require WiFi (or networking) then setting the :envvar:`DISABLE_WIFI` variable
will reduce code size and RAM usage significantly.
It does this using an un-official :component-esp8266:`esp_no_wifi` Component.

If a project does not require WiFi (or networking) bulding with this option enabled reduces code size
and memory usage signficantly. It does this using an un-official :component-esp8266:`esp_no_wifi` Component.


Custom LWIP
Expand Down
21 changes: 21 additions & 0 deletions Sming/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,27 @@ Localisation
This is provided as a #define symbol for your application to use.
See :source:`Sming/Core/SmingLocale.h` for further details.


Networking
~~~~~~~~~~

.. envvar:: DISABLE_WIFI

.. note::

EXPERIMENTAL

0 (Default)
1 - Remove core networking support

Applications which do not require networking can set this flag to avoid building
or linking the core :component:`Network` library.

This will reduce build times, application size and RAM usage.
Builds will not succeeded if network code has been inadvertently included.



Components
----------

Expand Down

0 comments on commit 3826133

Please sign in to comment.