You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,9 @@ ESP8266 Arduino core comes with libraries to communicate over WiFi using TCP and
28
28
29
29
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).
30
30
31
-
-Install the current upstream Arduino IDE at the 1.8.9 level or later. The current version is on the [Arduino website](https://www.arduino.cc/en/software).
32
-
- Start Arduino and open the Preferences window.
33
-
- Enter ```https://arduino.esp8266.com/stable/package_esp8266com_index.json``` into the *File>Preferences>Additional Boards Manager URLs* field of the Arduino IDE. You can add multiple URLs, separating them with commas.
31
+
-[Download and install Arduino IDE 1.x or 2.x](https://www.arduino.cc/en/software)
32
+
- Start Arduino and open the Preferences window
33
+
- Enter `https://arduino.esp8266.com/stable/package_esp8266com_index.json` into the *File>Preferences>Additional Boards Manager URLs* field of the Arduino IDE. You can add multiple URLs, separating them with commas.
34
34
- 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).
@@ -33,6 +32,7 @@ For more information on the Arduino Board Manager, see:
33
32
34
33
- https://www.arduino.cc/en/guide/cores
35
34
35
+
36
36
Using git version
37
37
-----------------
38
38
@@ -42,12 +42,12 @@ developers.
42
42
Prerequisites
43
43
~~~~~~~~~~~~~
44
44
45
-
- Arduino 1.6.8 (or newer, current working version is 1.8.5)
46
-
- git
45
+
- Internet connection
46
+
- Arduino IDE 1.x or 2.x (https://www.arduino.cc/en/software)
47
+
- git (https://git-scm.com)
47
48
- Python ≥3.7 (https://python.org)
48
49
- terminal, console, or command prompt (depending on your OS)
49
-
- Internet connection
50
-
- Uninstalling any core version installed via Board Manager
50
+
- **Uninstalling any core version installed via Board Manager**
51
51
52
52
Instructions - Windows 10
53
53
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -59,7 +59,7 @@ Instructions - Windows 10
59
59
- Install git for Windows (if not already; see https://git-scm.com/download/win)
60
60
61
61
- Open a command prompt (cmd) and go to Arduino default directory. This is typically the
62
-
*sketchbook* directory (usually ``C:\users\{username}\Documents\Arduino`` where the environment variable ``%USERPROFILE%`` usually contains ``C:\users\{username}``)
62
+
*sketchbook* directory (usually ``C:\Users\{username}\Documents\Arduino`` where the environment variable ``%USERPROFILE%`` usually contains ``C:\Users\{username}``)
63
63
64
64
- Clone this repository into hardware/esp8266com/esp8266 directory.
65
65
@@ -101,14 +101,15 @@ Instructions - Windows 10
101
101
--- boards.txt
102
102
--- LICENSE
103
103
104
-
- Initialize the submodules
104
+
- Initialize submodules to fetch external libraries
105
105
106
106
.. code:: bash
107
107
108
108
cd %USERPROFILE%\Documents\Arduino\hardware\esp8266com\esp8266
109
109
git submodule update --init
110
110
111
-
If error messages about missing files related to ``SoftwareSerial`` are encountered during the build process, it should be because this step was missed and is required.
111
+
Not doing this step would cause build failure when attempting to include ``SoftwareSerial.h``, ``Ethernet.h``, etc.
112
+
See our `.gitmodules file <https://github.com/esp8266/Arduino/blob/master/.gitmodules>`__ for the full list.
112
113
113
114
- Download binary tools
114
115
@@ -181,14 +182,16 @@ Instructions - Other OS
181
182
--- boards.txt
182
183
--- LICENSE
183
184
184
-
- Initialize the submodules
185
+
- Initialize submodules to fetch external libraries
185
186
186
187
.. code:: bash
187
188
188
189
cd esp8266
189
190
git submodule update --init
190
-
191
-
If error messages about missing files related to ``SoftwareSerial`` are encountered during the build process, it should be because this step was missed and is required.
191
+
192
+
193
+
Not doing this step would cause build failure when attempting to include ``SoftwareSerial.h``, ``Ethernet.h``, etc.
194
+
See our `.gitmodules file <https://github.com/esp8266/Arduino/blob/master/.gitmodules>`__ for the full list.
192
195
193
196
- Download binary tools
194
197
@@ -197,9 +200,10 @@ Instructions - Other OS
197
200
cd tools
198
201
python3 get.py
199
202
200
-
If you get an error message stating that python3 is not found, you will need to install it (most modern UNIX-like OSes provide Python 3 as
201
-
part of the default install). To install you will need to use ``sudo yum install python3``, ``sudo apt install python3``, or ``brew install python3``
202
-
as appropriate. On the Mac you may get an error message like:
203
+
204
+
If you get an error message stating that python3 is not found, you will need to install it (most modern UNIX-like OSes provide Python 3 as
205
+
part of the default install). To install you will need to use ``sudo yum install python3``, ``sudo apt install python3``, or ``brew install python3``
206
+
as appropriate. On the Mac you may get an error message like:
203
207
204
208
.. code:: bash
205
209
@@ -214,7 +218,8 @@ Instructions - Other OS
214
218
self._sslobj.do_handshake()
215
219
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056)
216
220
217
-
This is because Homebrew on the Mac does not always install the required SSL certificates by default. Install them manually (adjust the Python 3.7 as needed) with:
221
+
222
+
This is because Homebrew on the Mac does not always install the required SSL certificates by default. Install them manually (adjust the Python 3.7 as needed) with:
- `PlatformIO IDE <https://platformio.org/platformio-ide?utm_source=arduino-esp8266>`__
246
289
- `PlatformIO Core <https://docs.platformio.org/en/latest/core.html?utm_source=arduino-esp8266>`__ (command line tool)
247
290
- `Advanced usage <https://docs.platformio.org/en/latest/platforms/espressif8266.html?utm_source=arduino-esp8266>`__ - custom settings, uploading to LittleFS, Over-the-Air (OTA), staging version
291
+
- `Using Arduino Framework Staging Version <https://docs.platformio.org/en/stable/platforms/espressif8266.html?utm_source=arduino-esp8266#using-arduino-framework-with-staging-version>`__ - install development version of the Core
248
292
- `Integration with Cloud and Standalone IDEs <https://docs.platformio.org/en/latest/ide.html?utm_source=arduino-esp8266>`__ - Cloud9, Codeanywhere, Eclipse Che (Codenvy), Atom, CLion, Eclipse, Emacs, NetBeans, Qt Creator, Sublime Text, VIM, Visual Studio, and VSCode
0 commit comments