Skip to content

Commit 0535d03

Browse files
committed
esp8266/README: Add section on using upip.
1 parent 9c209e4 commit 0535d03

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

ports/esp8266/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,23 @@ Python prompt over WiFi, connecting through a browser.
119119
- GitHub repository https://github.com/micropython/webrepl.
120120
Please follow the instructions there.
121121

122+
__upip__
123+
124+
The ESP8266 port comes with builtin `upip` package manager, which can
125+
be used to install additional modules (see the main README for more
126+
information):
127+
128+
```
129+
>>> import upip
130+
>>> upip.install("micropython-pystone_lowmem")
131+
[...]
132+
>>> import pystone_lowmem
133+
>>> pystone_lowmem.main()
134+
```
135+
136+
Downloading and installing packages may requite a lot of free memory,
137+
if you get an error, retry immediately after the hard reset.
138+
122139
Documentation
123140
-------------
124141

0 commit comments

Comments
 (0)