esp8266 /Arduino

ESP8266 core for Arduino

★ 16,721⑂ 13,026👁 926⑃ 3,212● 5,925▤ 37
C++LGPL-2.1Created 2015-03-27
下载:Release 3.1.2Release-3.1.2 ↓3.1.22023-03-20
+3
日增长
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

Discussions

Latest release

Release 3.1.2 3.1.2 2023-03-20
Release 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

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON