Add support for ESP32-S2 and ESP32-S3 chips

This commit is contained in:
Bob 2025-11-08 20:38:08 +00:00
parent b3aa5ad76d
commit b9a4a7c45e
1 changed files with 16 additions and 4 deletions

View File

@ -12,7 +12,7 @@ Network performance testing tool for ESP32 based on iperf2.
## Hardware Requirements ## Hardware Requirements
- ESP32 development board - ESP32, ESP32-S2, or ESP32-S3 development board
- WiFi network - WiFi network
## Software Requirements ## Software Requirements
@ -27,18 +27,30 @@ Network performance testing tool for ESP32 based on iperf2.
. $HOME/Code/esp32/esp-idf/export.sh . $HOME/Code/esp32/esp-idf/export.sh
``` ```
2. Configure WiFi credentials: 2. Set the target chip (choose one):
```bash
# For ESP32
idf.py set-target esp32
# For ESP32-S2
idf.py set-target esp32s2
# For ESP32-S3
idf.py set-target esp32s3
```
3. Configure WiFi credentials:
```bash ```bash
idf.py menuconfig idf.py menuconfig
``` ```
Navigate to "ESP32 iperf Configuration" and set your SSID and password. Navigate to "ESP32 iperf Configuration" and set your SSID and password.
3. Build the project: 4. Build the project:
```bash ```bash
idf.py build idf.py build
``` ```
4. Flash to ESP32: 5. Flash to your device:
```bash ```bash
idf.py -p /dev/ttyUSB0 flash monitor idf.py -p /dev/ttyUSB0 flash monitor
``` ```