Skip to content

Commit 882d3c5

Browse files
committed
Updated Ethernet example for ESP-IDF v4.0
1 parent e17f00b commit 882d3c5

File tree

7 files changed

+32
-611
lines changed

7 files changed

+32
-611
lines changed

examples/idf/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ This folder contains examples using ESP-IDF, the official development framework
44

55
They have been built using **v4.0**, with Long Term Support by Espressif. For details on installing the development environment, see this page:
66
https://docs.espressif.com/projects/esp-idf/en/v4.0/get-started/index.html
7-
It might also work with the latest stable realease, but if this is not v4.0, it means we did not test these examples with it:
7+
It might also work with the latest stable realease. We have however currently only tested it with v4.0:
88
https://docs.espressif.com/projects/esp-idf/en/stable/get-started/
99

10+
As mentioned in the "Get ESP-IDF" section, the best way to get it is to use the GIT command:
11+
`git clone -b v4.0 --recursive https://github.com/espressif/esp-idf.git`
12+

examples/idf/ethernet/README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,13 @@ To view the output of the virtual COM port, connect the board to the USB port a
77

88

99
## ESP-IDF
10-
his example currently only runs on ESP-IDF v4.0-beta2. And, the "components\esp_eth\src\esp_eth_phy_lan8720.c" file in the ESP-IDF folder has to be replaced with the file in "esp-idf_v4.0-beta2_replace_files\components\esp_eth\src\esp_eth_phy_lan8720.c". We are working on resolving this issue, and to get the latest v4.0 to work. Hope to have it working soon.
11-
12-
To obtain ESP-IDF v4.0-beta2, follow the guide on this page:
13-
[docs.espressif.com/projects/esp-idf/en/v4.0-beta2/get-started/index.html](https://docs.espressif.com/projects/esp-idf/en/v4.0-beta2/get-started/index.html)
14-
As mentioned in the "Get ESP-IDF" section, the best way to get it is to use the GIT command:
15-
`git clone -b v4.0-beta2 --recursive https://github.com/espressif/esp-idf.git`
10+
It was built and tested with v4.0 of ESP-IDF, the official development framework for the ESP32 chip from Espressif(manufacturers of theee ESP32). For details, see [github.com/espressif/esp-idf](https://github.com/espressif/esp-idf)
1611

12+
See the [README.md](../README.md) file in the upper level 'examples/idf' directory for more information about examples, and how to install ESP-IDF.
1713

1814
## Building and Flashing
19-
See the [ESP-IDF guide](https://docs.espressif.com/projects/esp-idf/en/v4.0-beta2/get-started/index.html) for details how to build and flash the project. Basically, all that has to be done is:
20-
- Install ESP-IDF v4.0-beta2 on your computer
21-
- Replace the "esp_eth_phy_lan8720.c" file in the created ESP-IDF folder.
15+
See the "Getting Started" section in the [ESP-IDF guide](https://docs.espressif.com/projects/esp-idf/en/v4.0/get-started/index.html) for details how to build and flash the project. Basically, all that has to be done is:
16+
- Install ESP-IDF v4.0 on your computer
2217
- Start the "ESP-IDF Command Prompt", will be installed in step above
2318
- Change working directory to this folder (../examples/idf/ethernet)
2419
- Connect the esp32MX-E to a USB port on your PC. Note in device manager what virtual COM port is created for it. The next step assumes it is 5.

0 commit comments

Comments
 (0)