index.rst 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. ***********
  2. Get Started
  3. ***********
  4. :link_to_translation:`zh_CN:[中文]`
  5. .. Please keep README.md in sync with these instructions.
  6. 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.
  7. .. include-build-file:: inc/version-note.inc
  8. Introduction
  9. ============
  10. {IDF_TARGET_NAME} is a system on a chip that integrates the following features:
  11. .. only:: esp32
  12. * Wi-Fi (2.4 GHz band)
  13. * Bluetooth
  14. * Dual high performance Xtensa® 32-bit LX6 CPU cores
  15. * Ultra Low Power co-processor
  16. * Multiple peripherals
  17. .. only:: esp32s2
  18. * Wi-Fi (2.4 GHz band)
  19. * High performance single core Xtensa® 32-bit LX7 CPU
  20. * Ultra Low Power co-processor running either RISC-V or FSM core
  21. * Multiple peripherals
  22. * Built-in security hardware
  23. * USB OTG interface
  24. .. only:: esp32s3
  25. * Wi-Fi (2.4 GHz band)
  26. * Bluetooth Low Energy
  27. * Dual high performance Xtensa® 32-bit LX7 CPU cores
  28. * Ultra Low Power co-processor running either RISC-V or FSM core
  29. * Multiple peripherals
  30. * Built-in security hardware
  31. * USB OTG interface
  32. * USB Serial/JTAG Controller
  33. .. only:: esp32c3
  34. * Wi-Fi (2.4 GHz band)
  35. * Bluetooth Low Energy
  36. * High performance 32-bit RISC-V single-core processor
  37. * Multiple peripherals
  38. * Built-in security hardware
  39. .. only:: esp32c2
  40. * Wi-Fi (2.4 GHz band)
  41. * Bluetooth Low Energy
  42. * High performance 32-bit RISC-V single-core processor
  43. * Multiple peripherals
  44. * Intended for simple, high-volume IoT applications
  45. 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.
  46. 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.
  47. What You Need
  48. =============
  49. Hardware
  50. ~~~~~~~~
  51. * An **{IDF_TARGET_NAME}** board.
  52. * **USB cable** - USB A / micro USB B.
  53. * **Computer** running Windows, Linux, or macOS.
  54. .. note:: Currently, some of the development boards are using USB Type C connectors. Be sure you have the correct cable to connect your board!
  55. 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.
  56. .. only:: esp32
  57. .. toctree::
  58. :maxdepth: 1
  59. ESP32-DevKitC <../hw-reference/esp32/get-started-devkitc>
  60. ESP-WROVER-KIT <../hw-reference/esp32/get-started-wrover-kit>
  61. ESP32-PICO-KIT <../hw-reference/esp32/get-started-pico-kit>
  62. ESP32-Ethernet-Kit <../hw-reference/esp32/get-started-ethernet-kit>
  63. ESP32-DevKit-S(-R) <../hw-reference/esp32/user-guide-devkits-r-v1.1>
  64. ESP32-PICO-KIT-1 <../hw-reference/esp32/get-started-pico-kit-1>
  65. ESP32-PICO-DevKitM-2 <../hw-reference/esp32/get-started-pico-devkitm-2>
  66. ESP32-DevKitM-1 <../hw-reference/esp32/user-guide-devkitm-1>
  67. .. only:: esp32s2
  68. .. toctree::
  69. :maxdepth: 1
  70. ESP32-S2-Saola-1 <../hw-reference/esp32s2/user-guide-saola-1-v1.2>
  71. ESP32-S2-DevKitM-1(U) <../hw-reference/esp32s2/user-guide-devkitm-1-v1>
  72. ESP32-S2-DevKitC-1 <../hw-reference/esp32s2/user-guide-s2-devkitc-1>
  73. ESP32-S2-Kaluga-Kit <../hw-reference/esp32s2/user-guide-esp32-s2-kaluga-1-kit>
  74. .. only:: esp32c3
  75. .. toctree::
  76. :maxdepth: 1
  77. ESP32-C3-DevKitM-1 <../hw-reference/esp32c3/user-guide-devkitm-1>
  78. ESP32-C3-DevKitC-02 <../hw-reference/esp32c3/user-guide-devkitc-02>
  79. .. only:: esp32s3
  80. .. toctree::
  81. :maxdepth: 1
  82. ESP32-S3-DevKitC-1 <../hw-reference/esp32s3/user-guide-devkitc-1>
  83. ESP32-S3-DevKitM-1 <../hw-reference/esp32s3/user-guide-devkitm-1>
  84. .. only:: esp32c2
  85. .. toctree::
  86. :maxdepth: 1
  87. ESP8684-DevKitM-1 <https://docs.espressif.com/projects/espressif-esp-dev-kits/en/latest/esp8684/esp8684-devkitm-1/index.html>
  88. .. _get-started-get-prerequisites:
  89. Software
  90. ~~~~~~~~
  91. To start using ESP-IDF on **{IDF_TARGET_NAME}**, install the following software:
  92. * **Toolchain** to compile code for {IDF_TARGET_NAME}
  93. * **Build tools** - CMake and Ninja to build a full **Application** for {IDF_TARGET_NAME}
  94. * **ESP-IDF** that essentially contains API (software libraries and source code) for {IDF_TARGET_NAME} and scripts to operate the **Toolchain**
  95. .. figure:: ../../_static/what-you-need.png
  96. :align: center
  97. :alt: Development of applications for {IDF_TARGET_NAME}
  98. :figclass: align-center
  99. .. _get-started-step-by-step:
  100. .. _get-started-how-to-get-esp-idf:
  101. Installation
  102. ============
  103. To install all the required software, we offer some different ways to facilitate this task. Choose from one of the available options.
  104. IDE
  105. ~~~
  106. .. note:: We highly recommend installing the ESP-IDF through your favorite IDE.
  107. * `Eclipse Plugin <https://github.com/espressif/idf-eclipse-plugin/blob/master/README.md>`_
  108. * `VSCode Extension <https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/install.md>`_
  109. Manual Installation
  110. ~~~~~~~~~~~~~~~~~~~
  111. For the manual procedure, please select according to your operating system.
  112. .. toctree::
  113. :maxdepth: 1
  114. Windows Installer <windows-setup>
  115. Linux and macOS <linux-macos-setup>
  116. Build Your First Project
  117. ========================
  118. 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>`.
  119. .. _Stable version: https://docs.espressif.com/projects/esp-idf/en/stable/