01 ESPlane Developer Get Started
Step 1. Setup ESP-IDF Environment
Get ESP-IDF :This project based on
release / v3.3git clone -b release/v3.3 --recursive https://github.com/espressif/esp-idf.gitInstall 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.gitStep 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.3and were recently updated to commit:6f9a7264ce20c6132fbd8309112630d0eb490fe4. If you use the same version ESP-IDF, you canignore the following configuration process. The following configuration process is only referenced when the two componentsesp32andfreertosare updated.
Config ESP32 Link Script
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
Enter:
Component config>>PHY>>Max WiFi TX power (dBm)Set
Max WiFi TX powervalue to20
Config FreeRTOS
Modify the followings in the
FreeRTOSConfig.h:Change freertos tick rate use
menuconfig:
Enter:Component config>>freertos>> Tick rate (Hz) Change Tick rate value to 1000
最后更新于
这有帮助吗?