diff options
| author | IhorNehrutsa <IhorNehrutsa@gmail.com> | 2021-06-11 02:20:22 +0300 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-06-11 19:52:10 +1000 |
| commit | da8aad18a4508476aa041406c0b06f5df4a8e59b (patch) | |
| tree | b3bcd0d25ff9d31a0aa11a1162192ec9b5452a79 | |
| parent | f314cac60472719e1856565533e5b87920ddf32d (diff) | |
esp32/README: Describe how to select compatible version of existing IDF.
| -rw-r--r-- | ports/esp32/README.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ports/esp32/README.md b/ports/esp32/README.md index c349f44b2..c7d40070d 100644 --- a/ports/esp32/README.md +++ b/ports/esp32/README.md @@ -50,10 +50,19 @@ To check out a copy of the IDF use git clone: $ git clone -b v4.0.2 --recursive https://github.com/espressif/esp-idf.git ``` -You can replace `v4.0.2` with `v4.1.1` or any other supported version. +You can replace `v4.0.2` with `v4.1.1` or `v4.2` or any other supported version. (You don't need a full recursive clone; see the `ci_esp32_setup` function in `tools/ci.sh` in this repository for more detailed set-up commands.) +If you already have a copy of the IDF then checkout a version compatible with +MicroPython and update the submodules using: + +```bash +$ cd esp-idf +$ git checkout v4.2 +$ git submodule update --init --recursive +``` + After you've cloned and checked out the IDF to the correct version, run the `install.sh` script: |
