Skip to content

Commit da8aad1

Browse files
IhorNehrutsadpgeorge
authored andcommitted
esp32/README: Describe how to select compatible version of existing IDF.
1 parent f314cac commit da8aad1

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

ports/esp32/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,19 @@ To check out a copy of the IDF use git clone:
5050
$ git clone -b v4.0.2 --recursive https://github.com/espressif/esp-idf.git
5151
```
5252

53-
You can replace `v4.0.2` with `v4.1.1` or any other supported version.
53+
You can replace `v4.0.2` with `v4.1.1` or `v4.2` or any other supported version.
5454
(You don't need a full recursive clone; see the `ci_esp32_setup` function in
5555
`tools/ci.sh` in this repository for more detailed set-up commands.)
5656

57+
If you already have a copy of the IDF then checkout a version compatible with
58+
MicroPython and update the submodules using:
59+
60+
```bash
61+
$ cd esp-idf
62+
$ git checkout v4.2
63+
$ git submodule update --init --recursive
64+
```
65+
5766
After you've cloned and checked out the IDF to the correct version, run the
5867
`install.sh` script:
5968

0 commit comments

Comments
 (0)