01 ESPlane Developer Get Started

Step 1. Setup ESP-IDF Environment

  1. Get ESP-IDF :This project based on release / v3.3

     git clone -b release/v3.3 --recursive https://github.com/espressif/esp-idf.git
  2. Install the Required Python Packages

     python -m pip install --user -r $IDF_PATH/requirements.txt

Step 2. Get ESPlane2.0 Source Code

  git clone https://github.com/qljz1993/ESPlane2.git

Step 3. Configure ESP-IDF (Optional)

Note: The ESPlane2.0 code comes with components esp32 andfreertos, which already configured can cover the corresponding components of ESP-IDF.

These two components come from release / v3.3 and were recently updated to commit:6f9a7264ce20c6132fbd8309112630d0eb490fe4. If you use the same version ESP-IDF, you can ignore the following configuration process. The following configuration process is only referenced when the two components esp32 andfreertos are updated.

Purpose: Place variables with param orlog tags in the esplane firmware in a continuous address area

Find the drom0_0_seg section in the{IDF_PATH} / components / esp32 / ld / esp32.project.ld.in file and add the following:

It will look like this after changing:

Improve PHY gain

  1. Enter:Component config>>PHY>>Max WiFi TX power (dBm)

  2. Set Max WiFi TX power value to 20

Config FreeRTOS

  1. Modify the followings in the FreeRTOSConfig.h:

  2. Change freertos tick rate use menuconfig:

Enter:Component config>>freertos>> Tick rate (Hz) Change Tick rate value to 1000

最后更新于

这有帮助吗?