No description
Find a file
Zhou Li b25236bff2 Merge branch 'feature/add_decompress_directory_and_decompressed_ota_example' into 'master'
Feat: add decompress directory and decompressed ota example

See merge request ae_group/esp-iot-solution!590
2022-07-11 19:28:38 +08:00
.github/workflows pwm_audio: fix the issue that does no sound on esp32c3 and esp32s3 && add script to upload to idf-component-manager 2022-06-16 20:22:33 +08:00
components button: rename usr_data to hardware_data && allow user to pass arbitrary data through callback. Closes https://github.com/espressif/esp-iot-solution/pull/200 2022-07-04 20:40:56 +08:00
docs docs: add supported socs for pwm audio 2022-06-17 15:26:54 +08:00
examples feat: add decompress directory and examples 2022-07-11 10:15:40 +08:00
tools feat: add decompress directory and examples 2022-07-11 10:15:40 +08:00
.gitignore bugfix: update components for compatible with idf 5.0 2022-06-16 20:21:47 +08:00
.gitlab-ci.yml docs: fix doc build error in CI 2022-07-04 14:16:02 +08:00
.gitmodules feat: add decompress directory and examples 2022-07-11 10:15:40 +08:00
.readthedocs.yml docs: pin setuptools<58 to resolve build failure due to removal of support for 2to3 during builds 2021-09-18 17:34:55 +08:00
component.cmake fix(build): modify extra component list 2021-02-07 20:22:16 +08:00
component.mk fix(build): modify extra component list 2021-02-07 20:22:16 +08:00
CONTRIBUTING.rst docs(contribute): modify contribute guide 2020-12-30 10:29:10 +08:00
issue_template.md doc(esp-idf link): update esp-idf doc link 2019-07-16 22:16:18 +08:00
LICENSE style(doc): add licence and contributing doc 2017-11-21 16:03:29 +08:00
README.md docs(readme): modify docs URL 2021-02-20 20:04:37 +08:00
README_CN.md docs(readme): modify docs URL 2021-02-20 20:04:37 +08:00

Documentation Status

Espressif IoT Solution Overview

ESP-IoT-Solution contains device drivers and code frameworks for the development of IoT system, which works as extra components of ESP-IDF and much easier to start.

ESP-IoT-Solution contains following contents:

  • Device drivers for sensors, display, audio, input, actuators, etc.
  • Framework and documentation for Low power, security, storage, etc.
  • Guide for espressif open source solutions from practical application point.

Documentation Center

Versions

ESP-IoT-Solution Dependent ESP-IDF Major Change User Guide Support State
master release/v4.3 code structure change, add support for ESP32-S2 Docs online active, new feature develop
release/v1.1 v4.0.1 IDF version update, remove no longer supported code v1.1 Overview limited support
release/v1.0 v3.2.2 legacy version v1.0 Overview archived

Quick Reference

Development Board

You can choose any of the ESP32/ESP32-S series development boards to use ESP-IoT-Solution, or choose one of the boards supported in boards component to quick start.

Powered by 40 nm technology, ESP32/ESP32-S series SOC provides a robust, highly integrated platform, which helps meet the continuous demands for efficient power usage, compact design, security, high performance, and reliability.

Setup Build Environment

Setup ESP-IDF Environment

ESP-IoT-Solution is developed based on ESP-IDF functions and tools, so ESP-IDF development environment must be setup first, you can refer Setting up Development Environment for the detailed steps.

Please note that different versions of ESP-IoT-Solution may depend on different versions of ESP-IDF, please refer to Versions for details.

Get ESP-IoT-Solution

  • If select the master version, open terminal, and run the following command:

    git clone --recursive https://github.com/espressif/esp-iot-solution
    
  • If select the release/v1.1 version, open terminal, and run the following command:

    git clone -b release/v1.1 --recursive https://github.com/espressif/esp-iot-solution
    

For other versions, replace release/v1.1 with the target branch name

Create Your Project

You can use the components of ESP-IoT-Solution in the following methods:

Method 1. Add all components' PATH of ESP-IoT-Solution to the project

Add the following code directly to the project's CMakeLists.txt:

cmake_minimum_required(VERSION 3.5)

include($ENV{IOT_SOLUTION_PATH}/component.cmake)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)

project(empty-project)

Method 2. Add specified components' PATH of ESP-IoT-Solution to the project

Add the following code directly to the project's CMakeLists.txt, please add the REQUIRES components also:

set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} ${IOT_SOLUTION_PATH}/components/{component_you_choose}")

Method 3. Copy specified components of ESP-IoT-solution to the project's components directory

Please copy the REQUIRES components together.

Note: CMake based build system is recommended (default in IDF v4.0 and later). If using GNU Make, you can refer legacy build system based on GNU Make.

Set up the environment variables

Add ESP-IDF environment variables:

  • For Windows CMD terminal, run the following command:

    %userprofile%\esp\esp-idf\export.bat
    
  • For Linux or macOS terminal, run the following command:

    . $HOME/esp/esp-idf/export.sh
    

Add IOT_SOLUTION_PATH environment variables:

  • For Windows CMD terminal, run the following command:

    set IOT_SOLUTION_PATH=C:\esp\esp-iot-solution
    
  • For Linux or macOS terminal, run the following command:

    export IOT_SOLUTION_PATH=~/esp/esp-iot-solution
    

Note:

  1. Please replace the example path with your actual installation path.
  2. The environment variables set above only valid for the current terminal. please re-run the command if open new terminal.

Resources