summaryrefslogtreecommitdiffstatshomepage
path: root/docs/esp8266/tutorial/intro.rst
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-23 22:04:33 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-06-23 22:04:33 +0300
commitbeb94b6efc094be4788f38b6b5e3b9c6da72b292 (patch)
treeddb46581dd5c90d66ef7f1a166d80df178908e5c /docs/esp8266/tutorial/intro.rst
parent51668dffaa2367f06fce453c5b8a05539dd5e6d4 (diff)
downloadmicropython-beb94b6efc094be4788f38b6b5e3b9c6da72b292.tar.gz
micropython-beb94b6efc094be4788f38b6b5e3b9c6da72b292.zip
docs/esp8266/tutorial/intro: Sphinx requires blank lines around literal blocks.
At least, Sphinx 1.3.6.
Diffstat (limited to 'docs/esp8266/tutorial/intro.rst')
-rw-r--r--docs/esp8266/tutorial/intro.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/esp8266/tutorial/intro.rst b/docs/esp8266/tutorial/intro.rst
index 3c26b954ce..c4c272ca5a 100644
--- a/docs/esp8266/tutorial/intro.rst
+++ b/docs/esp8266/tutorial/intro.rst
@@ -165,7 +165,9 @@ after it, here are troubleshooting recommendations:
* If lower baud rate didn't help, you may want to try older version of
esptool.py, which had a different programming algorithm::
+
pip install esptool==1.0.1
+
This version doesn't support ``--flash_size=detect`` option, so you will
need to specify FlashROM size explicitly (in megabits). It also requires
Python 2.7, so you may need to use ``pip2`` instead of ``pip`` in the
@@ -180,8 +182,10 @@ after it, here are troubleshooting recommendations:
* Additionally, you can check the firmware integrity from a MicroPython REPL
prompt (assuming you were able to flash it and ``--verify`` option doesn't
report errors)::
+
import esp
esp.check_fw()
+
If the last output value is True, the firmware is OK. Otherwise, it's
corrupted and need to be reflashed correctly.