Esp8266 Core Component¶
Contains startup code, crash handling and additional Esp8266-specific support code. Sming may be built using a pre-installed SDK, or by using the current version 3 SDK as a submodule.
Attention
At time of writing, SDK 3 does not appear to support use of devices with 256K or 512K memory, such as the ESP-01. For now, please use the default SDK 1.5.4 or SDK 2.0.0.
-
SDK_BASE
¶ Points to the location of the Espressif Non-OS SDK. To use the Espressif version 3 SDK, you need only set this variable to point at the Sming repository (
SMING_HOME
). The actual location will be subsituted by the build system and the SDK pulled in via GIT.So for Windows you need to do:
set SDK_BASE=%SMING_HOME%
For Linux (bash):
export SDK_BASE="$SMING_HOME"
If you change this value then your application and Sming must both be recompiled:
make components-clean clean make
-
SDK_INTERNAL
¶ READONLY When compiled using the current (version 3+) Espressif SDK this value is set to 1.
-
SDK_LIBDIR
¶ READONLY Path to the directory containing SDK archive libraries
-
SDK_INCDIR
¶ READONLY Path to the directory containing SDK header files
References¶
Used by¶
Esp8266 Drivers ,Component
Esp8266 LWIP (Espressif) ,Component
Esp8266 Open LWIP (version 1) ,Component
Esp8266 WiFi ,Component
Esp8266 GDBSTUB for Sming ,Component
Esp8266 LWIP Version 2 ,Component
Sming (Esp8266) ,Component
Esp8266 SPI Flash Support ,Component
Environment Variables¶
FLASH_INIT_DATA
FLASH_INIT_DATA_VCC