From 0535d0337042e2c33352aa58ef3f685c0124acab Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 12 Nov 2017 18:34:18 +0200 Subject: [PATCH] esp8266/README: Add section on using upip. --- ports/esp8266/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ports/esp8266/README.md b/ports/esp8266/README.md index 04a6039d0b..99e2560162 100644 --- a/ports/esp8266/README.md +++ b/ports/esp8266/README.md @@ -119,6 +119,23 @@ Python prompt over WiFi, connecting through a browser. - GitHub repository https://github.com/micropython/webrepl. Please follow the instructions there. +__upip__ + +The ESP8266 port comes with builtin `upip` package manager, which can +be used to install additional modules (see the main README for more +information): + +``` +>>> import upip +>>> upip.install("micropython-pystone_lowmem") +[...] +>>> import pystone_lowmem +>>> pystone_lowmem.main() +``` + +Downloading and installing packages may requite a lot of free memory, +if you get an error, retry immediately after the hard reset. + Documentation -------------