• sales

    +86-0755-88291180

ESP-IDF download and installation

【1、Download the offline install package.】

[] First, log into the link. https://dl.espressif.com/dl/esp-idf/
[] or https://pan.baidu.com/s/11jwTFJbcOsV2K_IlkBriJQ?pwd=qm34https://dl.espressif.com.cn/dl/esp-idf/
[] This link is the official download website of Le Xin, where you candownload an offline install package. Click to download the 5.3.2 version.


[] Various versions are also available at the bottom of the page


[] Select whichever version you want to install

【2、Installation environment】

[] Select the version you want to install and double-click the EXE file to start the installation


[] Choose here for English


[] Just check "I agree" and click "Next.


[] You can set the folder to which your IDF needs to be installed here, and try not to install it to disk C


[] Keep clicking next until the installation is complete

【3、Tests whether the installation is successful】


[] Double-click Powershell on desktop will automatically import idf environment, computer installed windows terminal (win11, win10 can search store open store installation) can directly open the terminal, terminal + number can directly run idf environment



[] When the idf.py build message appears, the installation is successful and the firmware can be compiled
[] Run cd.\examples\get-started\hello_world\ to go to the directory of the project


[] input idf.py build


[] This begins to compile, compile time remember to turn off all anti-virus software, including 360, Tinder, windows defender, etc., will greatly improve the compilation speed



After compiling, you can run
idf.py build flash monitor Download and view logs output by the serial port
If the speed is too slow, you can run the idf.py command to add sipped
idf.py -b 2000000 build flash monitor
If you do not want to download all partitions once, run the following command to download only the app partition
idf.py build app-flash monitor
When different chip models are used, the following is an example of the command for setting the chip:
idf.py set-target esp32 Sets the target chip to esp32
idf.py set-target esp32s2 Sets the target chip to esp32s2
Idf. Py set - target esp32s3 Set the idf pyidf. Pyidf. Pyidf. Pyidf. Pysp32s3
idf.py set-target esp32c3 Sets the target chip to esp32c3
If the computer is inserted into a lot of ESP32 development board, you need to distinguish the port, you can open the device manager to see the communication port, such as my board subport is COM5, you need to run:
idf.py -p COM5 build flash monitor
To move a project to another path, delete the build folder
Do not put the project in the Chinese directory path!
Get into the habit of deleting build folders! Can solve all kinds of small problems
TAG: ESP32 ST7789 tutorial Luckfox Pico SPI NVIDIA Jetson Orin Case 2.13inch e Paper HAT+ Black-White 250x122 E-Ink For Raspberry Pi /Jetson Nano /Sunrise X3 Pi /Pwnago Raspberry Pi 3.5 inch LCD G Display Resistive TouchScreen 60fps ST7796 320x480 Also For Arduino/Pico2/ESP32/RP2040/RP2350 ESP32-S3 0.85inch LCD SpotPear Raspberry Pi UPS ESP32 LVGL Raspberry Pi 5 Raspberry Pi WatchDog Raspberry Pi 3.5 inch LCD F Display Capacitance TouchScreen 60fps ST7796 GT911 320x480 Also For Arduino/Pico2/ESP32/RP2040/RP2350 Bus Servo Adapter A ESP32 S3 Development Board 1.85 inch Round LCD Display 360×360 QMI8658 Sensor / MIC / SD /MP3 Audio /Battery Port LVGL/HMI For Arduino UGV Rover ROS2 PT AI OpenCV Robot Car MediaPipe For Jetson Orin Nano Raspberry Pi 21.5inch FHD LCD 1080x1920 Capacitive TouchScreen Display For Raspberry Pi/Jetson Nano/ ESP32 Thermal imaging Raspberry Pi 10.1 inch LCD HDM Display Capacitive TouchScreen 10.1EP-CAPLCD 1920x1200 For Jetson Nano/mini Computer PC ISX031C GMSL Camera H100 Image Sensor IP67 protection rating For Jetson Orin And MAX9296 GMSL camera