Configuring your device
You may need to configure your project to support the specific device being programmed:
COM_PORTIf you haven’t set this already, it will need to match the port you’re using to talk to the Esp8266.
COM_SPEED_ESPTOOLThe default value should work fine but you can usually set a much faster speed.
You can set these initially on the command line, like this:
make SMING_ARCH=Esp8266 COM_PORT=/dev/ttyUSB3 COM_SPEED_ESPTOOL=921600
(For Windows or Windows WSL expect to use COM2, COM3, etc.)
Once you’re happy with the settings, you can add them to your project’s
You may need to do this to reset the cached values:
The current set of configuration variables can be seen thus:
Other hardware-specific settings are stored in the hardware configuration file. You can examine the current configuration like this:
The standard config should work with all ESP8266 variants. If you want to use SPIFFS then you should add this line to your component.mk file:
HWCONFIG = spiffs
This expects your device to have at least 4MBytes of flash.