Merge branch 'bugfix/modify_default_flash_freq_to_40M_for_iperf_example' into 'master'

example: set default SPI flash mode to 40Mhz for iperf example

See merge request idf/esp-idf!1928
This commit is contained in:
Jiang Jiang Jian 2018-05-04 19:25:20 +08:00
commit 4c3451c0bf
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# Iperf Example
## Note about 80Mhz flash frequency
The iperf can get better throughput if the SPI flash frequency is set to 80Mhz, but the system may crash in 80Mhz mode for ESP-WROVER-KIT V3.
Removing R140~R145 from the board can fix this issue. Currently the default SPI frequency is set to 40Mhz, if you want to change the SPI flash
frequency to 80Mhz, please make sure R140~R145 are removed from ESP-WROVER-KIT V3 or use ESP32 DevKitC.
## Introduction
This example implements the protocol used by the common performance measurement tool [iPerf](https://iperf.fr/).
Performance can be measured between two ESP32s running this example, or between a single ESP32 and a computer running the iPerf tool

View File

@ -24,6 +24,6 @@ CONFIG_TCPIP_RECVMBOX_SIZE=64
CONFIG_LWIP_ETHARP_TRUST_IP_MAC=
CONFIG_FLASHMODE_QIO=y
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
CONFIG_ESPTOOLPY_FLASHFREQ_40M=y
CONFIG_LWIP_IRAM_OPTIMIZATION=y