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
- Enter one of the release links above into *Additional Board Manager
30
-
URLs* field. You can add multiple URLs, separating them with commas.
31
-
- Open Boards Manager from Tools > Board menu and install *esp32*
32
-
platform (and do not forget to select your ESP32 board from Tools >
33
-
Board menu after installation).
28
+
29
+
- Enter one of the release links above into *Additional Board Manager URLs* field. You can add multiple URLs, separating them with commas.
30
+
31
+
- Open Boards Manager from Tools > Board menu and install *esp32* platform (and do not forget to select your ESP32 board from Tools > Board menu after installation).
34
32
35
33
Windows
36
34
-------
37
35
36
+
37
+
38
38
Linux
39
39
-----
40
40
41
-
MacOS
42
-
-----
41
+
Debian/Ubuntu
42
+
===============
43
+
44
+
- Install latest Arduino IDE from `arduino.cc`_.
45
+
46
+
- Open Terminal and execute the following command (copy -> paste and hit enter):
Where ``~/Documents/Arduino`` represents your sketch book location as per "Arduino" > "Preferences" > "Sketchbook location" (in the IDE once started). Adjust the command above accordingly if necessary!
144
+
145
+
- If you get the error below. Install the command line dev tools with xcode-select --install and try the command above again:
- Try `python3` instead of `python` if you get the error: `IOError: [Errno socket error] [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)` when running `python get.py`
152
+
153
+
- If you get the following error when running `python get.py` urllib.error.URLError: <urlopen error SSL: CERTIFICATE_VERIFY_FAILED, go to Macintosh HD > Applications > Python3.6 folder (or any other python version), and run the following scripts: Install Certificates.command and Update Shell Profile.command
154
+
155
+
- Restart Arduino IDE.
44
156
45
157
PlatformIO
46
158
----------
47
159
48
-
Installation instructions for using PlatformIO
49
-
**********************************************
160
+
- `What is PlatformIO? <https://docs.platformio.org/en/latest/what-is-platformio.html?utm_source=github&utm_medium=arduino-esp32>`_
161
+
162
+
- `PlatformIO IDE <https://platformio.org/platformio-ide?utm_source=github&utm_medium=arduino-esp32>`_
50
163
51
-
`What is PlatformIO? <https://docs.platformio.org/en/latest/what-is-platformio.html?utm_source=github&utm_medium=arduino-esp32>`_
Copy file name to clipboardExpand all lines: docs/source/lib_builder.rst
+25-12Lines changed: 25 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -4,21 +4,34 @@ Library Builder
4
4
How to Use Library Builder
5
5
**************************
6
6
7
-
Espressif has provided a [tool](https://github.com/espressif/esp32-arduino-lib-builder) to simplify building your own compiled libraries for use in Arduino IDE (or your favorite IDE).
7
+
Espressif has provided a `tool<https://github.com/espressif/esp32-arduino-lib-builder>`_ to simplify building your own compiled libraries for use in Arduino IDE (or your favorite IDE).
8
8
To use it to generate custom libraries, follow these steps:
#. Step 4. `./tools/install-esp-idf.sh` (if you already have an $IDF_PATH defined, it will use your local copy of the repository)
19
-
#. Step 5. `make menuconfig` or directly edit sdkconfig.
20
-
#. Step 6. `./build.sh`
15
+
- Step 2 - Go to the ``esp32-arduino-lib-builder`` folder::
21
16
22
-
The script automates the process of building [arduino as an ESP-IDF component](https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md).
23
-
Once it is complete, you can cherry pick the needed libraries from `out/tools/sdk/lib`, or run `tools/copy-to-arduino.sh` to copy the entire built system.
24
-
`tools/config.sh` contains a number of variables that control the process, particularly the $IDF_BRANCH variable. You can adjust this to try building against newer versions, but there are absolutely no guarantees that any components will work or even successfully compile against a newer IDF.
17
+
cd esp32-arduino-lib-builder
18
+
19
+
- Step 3 - Run the ``update-components`` script::
20
+
21
+
./tools/update-components.sh`
22
+
23
+
- Step 4 - Run ``install-esp-idf`` installation script (if you already have an ``$IDF_PATH`` defined, it will use your local copy of the repository)::
24
+
25
+
./tools/install-esp-idf.sh
26
+
27
+
- Step 5 - Run the configuration or directly edit sdkconfig::
28
+
29
+
make menuconfig
30
+
31
+
- Step 6 - Build::
32
+
33
+
./build.sh
34
+
35
+
The script automates the process of building `arduino as an ESP-IDF component <https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md>`_.
36
+
Once it is complete, you can cherry pick the needed libraries from ``out/tools/sdk/lib``, or run ``tools/copy-to-arduino.sh`` to copy the entire built system.
37
+
``tools/config.sh`` contains a number of variables that control the process, particularly the $IDF_BRANCH variable. You can adjust this to try building against newer versions, but there are absolutely no guarantees that any components will work or even successfully compile against a newer IDF.
0 commit comments