Skip to content

Commit

Permalink
esp32/README: Add info about pyparsing and the correct Python version.
Browse files Browse the repository at this point in the history
See issue #4655.
  • Loading branch information
dpgeorge committed Apr 18, 2019
1 parent d4e1820 commit 4ce0091
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ports/esp32/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ If you use WSL then follow the
[Linux guidelines](https://esp-idf.readthedocs.io/en/latest/get-started/linux-setup.html)
for the ESP-IDF instead of the Windows ones.

The Espressif ESP-IDF instructions above only install pyserial for Python 2,
so if you're running Python 3 or a non-system Python you'll also need to
install `pyserial` (or `esptool`) so that the Makefile can flash the board
and set parameters:
You will also need either Python 2 or Python 3, along with the `pyserial` and
`pyparsing` packages installed for the version of Python that you will be using
(when building you can use, eg, `make PYTHON=python2` to specify the version
used). To install the required packages do:
```bash
$ pip install pyserial
$ pip install pyserial pyparsing
```

Once everything is set up you should have a functioning toolchain with
Expand Down

0 comments on commit 4ce0091

Please sign in to comment.