2019-08-27 01:45:50 -04:00
***** ***** *
2019-06-24 21:26:53 -04:00
Get Started
***** ***** *
2019-03-13 12:10:26 -04:00
:link_to_translation:`zh_CN:[中文]`
2020-09-04 04:42:36 -04:00
.. Please keep README.md in sync with these instructions.
2021-07-22 03:54:47 -04:00
This document is intended to help you set up the software development environment for the hardware based on the {IDF_TARGET_NAME} chip by Espressif. After that, a simple example will show you how to use ESP-IDF (Espressif IoT Development Framework) for menu configuration, then for building and flashing firmware onto an {IDF_TARGET_NAME} board.
2019-03-13 12:10:26 -04:00
2019-11-12 22:46:16 -05:00
.. include-build-file :: inc/version-note.inc
2019-03-13 12:10:26 -04:00
Introduction
============
2020-03-04 16:05:23 -05:00
{IDF_TARGET_NAME} is a system on a chip that integrates the following features:
2019-12-08 22:01:09 -05:00
2020-07-08 23:37:16 -04:00
.. only :: esp32
2019-12-08 22:01:09 -05:00
* Wi-Fi (2.4 GHz band)
2020-07-08 23:37:16 -04:00
* Bluetooth
2021-01-26 21:12:58 -05:00
* Dual high performance Xtensa® 32-bit LX6 CPU cores
2019-12-08 22:01:09 -05:00
* Ultra Low Power co-processor
2020-03-03 15:58:29 -05:00
* Multiple peripherals
2020-07-08 23:37:16 -04:00
.. only :: esp32s2
* Wi-Fi (2.4 GHz band)
2021-01-26 21:12:58 -05:00
* High performance single core Xtensa® 32-bit LX7 CPU
2020-07-08 23:37:16 -04:00
* Ultra Low Power co-processor running either RISC-V or FSM core
* Multiple peripherals
* Built-in security hardware
* USB OTG interface
2019-12-08 22:01:09 -05:00
2021-06-28 04:37:03 -04:00
.. only :: esp32s3
* Wi-Fi (2.4 GHz band)
* Bluetooth Low Energy
2021-06-30 06:05:36 -04:00
* Dual high performance Xtensa® 32-bit LX7 CPU cores
2021-06-28 04:37:03 -04:00
* Ultra Low Power co-processor running either RISC-V or FSM core
* Multiple peripherals
* Built-in security hardware
* USB OTG interface
* USB Serial/JTAG Controller
2021-01-26 21:12:58 -05:00
.. only :: esp32c3
* Wi-Fi (2.4 GHz band)
* Bluetooth Low Energy
* High performance 32-bit RISC-V single-core processor
* Multiple peripherals
* Built-in security hardware
2022-05-19 11:22:24 -04:00
.. only :: esp32c2
* Wi-Fi (2.4 GHz band)
* Bluetooth Low Energy
* High performance 32-bit RISC-V single-core processor
* Multiple peripherals
* Intended for simple, high-volume IoT applications
2022-11-14 01:04:36 -05:00
.. only :: esp32c6
* Wi-Fi 6 (2.4 GHz band)
* Bluetooth Low Energy
* 802.15.4 Thread/Zigbee
* High performance 32-bit RISC-V single-core processor
* Multiple peripherals
* Built-in security hardware
2023-06-05 21:40:55 -04:00
.. only :: esp32h2
* Bluetooth Low Energy
* 802.15.4 Thread/Zigbee
* High performance 32-bit RISC-V single-core processor
* Multiple peripherals
* Built-in security hardware
2019-12-08 22:01:09 -05:00
Powered by 40 nm technology, {IDF_TARGET_NAME} provides a robust, highly integrated platform, which helps meet the continuous demands for efficient power usage, compact design, security, high performance, and reliability.
Espressif provides basic hardware and software resources to help application developers realize their ideas using the {IDF_TARGET_NAME} series hardware. The software development framework by Espressif is intended for development of Internet-of-Things (IoT) applications with Wi-Fi, Bluetooth, power management and several other system features.
2019-03-13 12:10:26 -04:00
What You Need
=============
2022-02-14 05:17:08 -05:00
Hardware
~~~~~~~~
2019-03-13 12:10:26 -04:00
2022-02-14 05:17:08 -05:00
* An **{IDF_TARGET_NAME}** board.
* **USB cable** - USB A / micro USB B.
* **Computer** running Windows, Linux, or macOS.
2019-03-13 12:10:26 -04:00
2022-02-14 05:17:08 -05:00
.. note :: Currently, some of the development boards are using USB Type C connectors. Be sure you have the correct cable to connect your board!
2019-03-13 12:10:26 -04:00
2022-02-14 05:17:08 -05:00
If you have one of {IDF_TARGET_NAME} official development boards listed below, you can click on the link to learn more about the hardware.
2019-03-13 12:10:26 -04:00
2019-12-08 22:01:09 -05:00
.. only :: esp32
2019-03-13 12:10:26 -04:00
2019-12-08 22:01:09 -05:00
.. toctree ::
:maxdepth: 1
2019-12-11 02:45:30 -05:00
ESP32-DevKitC <../hw-reference/esp32/get-started-devkitc>
ESP-WROVER-KIT <../hw-reference/esp32/get-started-wrover-kit>
ESP32-PICO-KIT <../hw-reference/esp32/get-started-pico-kit>
2024-07-26 06:00:22 -04:00
ESP32-Ethernet-Kit <https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32/esp32-ethernet-kit/index.html>
2020-03-10 18:43:31 -04:00
ESP32-DevKit-S(-R) <../hw-reference/esp32/user-guide-devkits-r-v1.1>
2020-10-13 01:33:43 -04:00
ESP32-PICO-KIT-1 <../hw-reference/esp32/get-started-pico-kit-1>
2020-10-13 22:21:25 -04:00
ESP32-PICO-DevKitM-2 <../hw-reference/esp32/get-started-pico-devkitm-2>
2021-01-04 23:32:08 -05:00
ESP32-DevKitM-1 <../hw-reference/esp32/user-guide-devkitm-1>
2019-08-27 01:45:50 -04:00
2020-03-03 15:58:29 -05:00
.. only :: esp32s2
2020-03-26 06:40:05 -04:00
.. toctree ::
:maxdepth: 1
2021-01-26 21:12:58 -05:00
2020-03-26 06:40:05 -04:00
ESP32-S2-Saola-1 <../hw-reference/esp32s2/user-guide-saola-1-v1.2>
2024-06-07 05:08:44 -04:00
ESP32-S2-DevKitM-1 <https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32s2/esp32-s2-devkitm-1/index.html>
2024-06-07 04:09:03 -04:00
ESP32-S2-DevKitC-1 <https://docs.espressif.com/projects/esp-dev-kits/en/latest/esp32s2/esp32-s2-devkitc-1/index.html>
2020-05-08 08:27:34 -04:00
ESP32-S2-Kaluga-Kit <../hw-reference/esp32s2/user-guide-esp32-s2-kaluga-1-kit>
2020-03-03 15:58:29 -05:00
2021-01-26 21:12:58 -05:00
.. only :: esp32c3
2021-02-04 23:00:40 -05:00
.. toctree ::
:maxdepth: 1
2021-01-26 21:12:58 -05:00
2024-07-02 01:20:20 -04:00
ESP32-C3-DevKitM-1 <https://docs.espressif.com/projects/espressif-esp-dev-kits/en/latest/esp32c3/esp32-c3-devkitm-1/index.html>
ESP32-C3-DevKitC-02 <https://docs.espressif.com/projects/espressif-esp-dev-kits/en/latest/esp32c3/esp32-c3-devkitc-02/index.html>
2021-06-28 04:37:03 -04:00
2021-06-22 04:55:32 -04:00
.. only :: esp32s3
.. toctree ::
:maxdepth: 1
ESP32-S3-DevKitC-1 <../hw-reference/esp32s3/user-guide-devkitc-1>
2021-11-17 06:13:34 -05:00
ESP32-S3-DevKitM-1 <../hw-reference/esp32s3/user-guide-devkitm-1>
2021-06-22 04:55:32 -04:00
2022-05-19 11:22:24 -04:00
.. only :: esp32c2
.. toctree ::
:maxdepth: 1
ESP8684-DevKitM-1 <https://docs.espressif.com/projects/espressif-esp-dev-kits/en/latest/esp8684/esp8684-devkitm-1/index.html>
2019-06-24 21:26:53 -04:00
.. _get-started-get-prerequisites:
2019-03-13 12:10:26 -04:00
2022-02-14 05:17:08 -05:00
Software
~~~~~~~~
2019-03-13 12:10:26 -04:00
2022-04-12 06:46:15 -04:00
To start using ESP-IDF on **{IDF_TARGET_NAME}** , install the following software:
2019-03-13 12:10:26 -04:00
2022-02-14 05:17:08 -05:00
* **Toolchain** to compile code for {IDF_TARGET_NAME}
* **Build tools** - CMake and Ninja to build a full **Application** for {IDF_TARGET_NAME}
* **ESP-IDF** that essentially contains API (software libraries and source code) for {IDF_TARGET_NAME} and scripts to operate the **Toolchain**
2019-03-13 12:10:26 -04:00
2022-02-14 05:17:08 -05:00
.. figure :: ../../_static/what-you-need.png
2019-03-13 12:10:26 -04:00
:align: center
2022-02-14 05:17:08 -05:00
:alt: Development of applications for {IDF_TARGET_NAME}
2019-03-13 12:10:26 -04:00
:figclass: align-center
2022-02-14 05:17:08 -05:00
.. _get-started-step-by-step:
.. _get-started-how-to-get-esp-idf:
2019-03-13 12:10:26 -04:00
2022-02-14 05:17:08 -05:00
Installation
============
2019-03-13 12:10:26 -04:00
2022-02-14 05:17:08 -05:00
To install all the required software, we offer some different ways to facilitate this task. Choose from one of the available options.
2019-03-13 12:10:26 -04:00
2022-02-14 05:17:08 -05:00
IDE
~~~
2020-03-04 16:05:23 -05:00
2022-02-14 05:17:08 -05:00
.. note :: We highly recommend installing the ESP-IDF through your favorite IDE.
2020-03-04 16:05:23 -05:00
2022-06-22 04:51:31 -04:00
* `Eclipse Plugin <https://github.com/espressif/idf-eclipse-plugin/blob/master/README.md> `_
* `VSCode Extension <https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/install.md> `_
2020-03-04 16:05:23 -05:00
2022-02-14 05:17:08 -05:00
Manual Installation
~~~~~~~~~~~~~~~~~~~
2019-03-13 12:10:26 -04:00
2022-02-14 05:17:08 -05:00
For the manual procedure, please select according to your operating system.
2019-03-13 12:10:26 -04:00
2022-02-14 05:17:08 -05:00
.. toctree ::
:maxdepth: 1
2019-03-13 12:10:26 -04:00
2022-04-15 10:26:21 -04:00
Windows Installer <windows-setup>
Linux and macOS <linux-macos-setup>
2019-06-24 21:29:49 -04:00
2022-02-14 05:17:08 -05:00
Build Your First Project
========================
2019-06-24 21:29:49 -04:00
2022-05-07 05:15:18 -04:00
If you already have the ESP-IDF installed and not using IDE, you can build your first project from the command line following the :ref: `Start a Project on Windows <get-started-windows-first-steps>` or :ref: `Start a Project on Linux and macOS <get-started-linux-macos-first-steps>` .
2022-02-20 03:45:43 -05:00
.. _Stable version: https://docs.espressif.com/projects/esp-idf/en/stable/
2023-08-10 07:42:24 -04:00
Uninstall ESP-IDF
=================
2023-08-18 00:04:10 -04:00
If you want to remove ESP-IDF, please follow :ref: `idf-tools-uninstall` .