+3
Daily
16,721
stars
13,026
forks
926
watchers
3,212
prs
5,925
issues
37
releases
README
Arduino core for ESP8266 WiFi chip =========================================== Quick links - Latest release documentation - Current "git version" documentation - Install git version (sources) Arduino on ESP8266 This project brings support for the ESP8266 chip to the Arduino environment. It lets you write sketches, using familiar Arduino functions and libraries, and run them directly on ESP8266, with no external microcontroller required. ESP8266 Arduino core comes with libraries to communicate over WiFi using TCP and UDP, set up HTTP, mDNS, SSDP, and DNS servers, do OTA updates, use a file system in flash memory, and work with SD cards, servos, SPI and I2C peripherals. Contents - Installing options: - Using Boards Manager - Using git version - Using PlatformIO - Building with make - Documentation - Issues and support - Contributing - License and credits Installing with Boards Manager Starting with 1.6.4, Arduino allows installation of third-party platform packages using Boards Manager. We have packages available for Windows, Mac OS, and Linux (32 and 64 bit). - Download and install Arduino IDE 1.x or 2.x - Start Arduino and open the Preferences window - Enter https://arduino.esp8266.com/stable/package_esp8266com_index.json into the FilePreferencesAdditional Boards Manager URLs field of the Arduino IDE. You can add multiple URLs, separating them with commas. - Open Boards Manager from Tools Board menu and install esp8266 platform (and don't forget to select your ESP8266 board from Tools Board menu after installation). Latest release Boards manager link: https://arduino.esp8266.com/stable/package_esp8266com_index.json Documentation: https://arduino-esp8266.readthedocs.io/en/3.1.2/ Using git version Also known as latest git or master branch. - When using Arduino IDE, follow our instructions here. - When using PlatformIO, refer to platformio/espressif8266 platform documentation. Using PlatformIO PlatformIO is an open source ecosystem for IoT development with a cross-platform build system, a library manager, and full support for Espressif (ESP8266) development. It works on the following popular host operating systems: macOS, Windows, Linux 32/64, and Linux ARM (like Raspberry Pi, BeagleBone, CubieBoard). - What is PlatformIO? - PlatformIO IDE - PlatformIO Core (command line tool) - Advanced usage - custom settings, uploading to SPIFFS, Over-the-Air (OTA), staging version - Integration with Cloud and Standalone IDEs - Cloud9, Codeanywhere, Eclipse Che (Codenvy), Atom, CLion, Eclipse, Emacs, NetBeans, Qt Creator, Sublime Text, VIM, Visual Studio, and VSCode - Project Examples Building with make makeEspArduino is a generic makefile for any ESP8266 Arduino project. Using make instead of the Arduino IDE makes it easier to do automated and production builds. Documentation Documentation for latest development version: https://arduino-esp8266.readthedocs.io/en/latest/ Issues and support ESP8266 Community Fo
Top issues
#7965no more 802.11n connection since 2.6.0103 comments · 2021-04-06#23build gcc with lto support63 comments · 2015-03-31#905OTA which survives power failure57 comments · 2015-10-18#3740Improve available heap53 comments · 2017-10-21#5790Migrate core from NONOS SDK to FreeRTOS SDK42 comments · 2019-02-19#3442Trying to connect to WPA-PEAP without success41 comments · 2017-07-20#8299ESP8266 can't get DHCP IP addres from Asus router37 comments · 2021-09-03#7601HNAP calls on dhcp-server in AP mode causes an exception35 comments · 2020-09-16
Discussions
#9346SmallTV Pomodoro: open firmware for the GeekMagic SmallTV Ultra, built on core 3.1.2 (plus what we learned)0 comments · 2026-11-13#9319Need help finding SPI Slave registers documentation2 comments · 2026-07-10#9311How to split check sum processing from udp_send()1 comments · 2026-03-10#9299Send a temperature from ESP8266 to DummySensor in Domoticz2 comments · 2025-12-06#9268adding void attach(void) to Servo.h0 comments · 2025-08-16#9261Static allocated WifiClientSecureBearSSL2 comments · 2025-07-12#9231Library example for softAP calls for "redirect" in 8266 but doesn't exist1 comments · 2025-02-13#9226ESP8266 OTA upload with ArduinoOTA and espota.py is failing with ERROR[10]: Magic byte is not 0xE91 comments · 2025-01-26
Latest release
Release 3.1.2 3.1.2 2023-03-20Release 3.1.2 Notes Second patch release (includes 3.1.1 and 3.1.0) Core Fix weak assignment in flash\_hal.h (8884) Remove stale patch required for older SDK releases (8858) Show 'Exception' cause and 'epc1=...' address when interrupted by Soft WDT (8851) Issue warning when reallocating String buffer too much (8821, 8849) Fix stack offset and division-by-zero origin in postmortem message (8839) IPAddress: Properly handle u8 pointers when assigning and comparing (8818) Build system General Don't use -g++ or -gcc suffixes in command line arguments (8829) Log al