Sming (Esp8266)
This Component builds a library containing architecture-specific code, and defines dependencies for Sming to build for the Esp8266.
No-WiFi build
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 DISABLE_WIFI
variable
will reduce code size and RAM usage significantly.
It does this using an un-official Esp8266 No WiFi Component.
Custom LWIP
LWIP (LightWeight IP) is a small independent implementation
of the TCP/IP protocol suite used widely in embedded systems. Sming supports several versions of this,
controlled by the ENABLE_CUSTOM_LWIP
setting.
- ENABLE_CUSTOM_LWIP
- 0
Use binary Esp8266 LWIP (Espressif) stack.
- 1 (default)
Use custom compiled Esp8266 Open LWIP (version 1) stack. Compared with the Espressif stack, this uses less RAM but consumes FLASH (program) memory. All
espconn_*
functions are turned off by default, so if you require these add theENABLE_ESPCONN=1
directive. The Basic Smart Config example sets this in itscomponent.mk
file.- 2
Use Esp8266 LWIP Version 2 stack. This does not have support for
espconn_*
functions.
- ENABLE_LWIP_DEBUG
By default, some debug information will be printed for critical errors and situations. Set this to 1 to enable printing of all debug information.
References
Used by
Sming (main) Component
Environment Variables
SoC support
esp8266