File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,14 @@ $ git checkout <Current supported ESP-IDF commit hash>
44
44
Note that you will get a warning when building the code if the ESP-IDF
45
45
version is incorrect.
46
46
47
+ The Espressif ESP-IDF instructions above only install pyserial for Python 2,
48
+ so if you're running Python 3 or a non-system Python, you'll also need to
49
+ install ` pyserial ` or ` esptool ` so that the Makefile can flash the
50
+ micropython board and set parameters.
51
+ ``` bash
52
+ $ pip install pyserial
53
+ ```
54
+
47
55
Once everything is set up you should have a functioning toolchain with
48
56
prefix xtensa-esp32-elf- (or otherwise if you configured it differently)
49
57
as well as a copy of the ESP-IDF repository.
@@ -73,12 +81,6 @@ are `PORT` for the serial port of your esp32 module, and `FLASH_MODE`
73
81
(which may need to be ` dio ` for some modules)
74
82
and ` FLASH_SIZE ` . See the Makefile for further information.
75
83
76
- You will also need to have esptool installed so that the Makefile can flash
77
- the micropython board and set parameters.
78
- ``` bash
79
- $ pip install pyserial
80
- ```
81
-
82
84
Building the firmware
83
85
---------------------
84
86
You can’t perform that action at this time.
0 commit comments