Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wemos committed Oct 28, 2019
1 parent 7a16618 commit cddda56
Show file tree
Hide file tree
Showing 9 changed files with 125 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/en/d1/d1_mini.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Features

Tutorials
----------------------
* :doc:`../tutorials/micropython`
* :doc:`../tutorials/arduino`
* :doc:`../tutorials/d1/get_started_with_micropython_d1`
* :doc:`../tutorials/d1/get_started_with_arduino_d1`

Documentation
----------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/en/d1/d1_mini_lite.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Features

Tutorials
----------------------
* :doc:`../tutorials/micropython`
* :doc:`../tutorials/arduino`
* :doc:`../tutorials/d1/get_started_with_micropython_d1`
* :doc:`../tutorials/d1/get_started_with_arduino_d1`

Documentation
----------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/en/d1/d1_mini_pro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Features

Tutorials
----------------------
* :doc:`../tutorials/micropython`
* :doc:`../tutorials/arduino`
* :doc:`../tutorials/d1/get_started_with_micropython_d1`
* :doc:`../tutorials/d1/get_started_with_arduino_d1`

Documentation
----------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/en/d32/d32.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Features

Tutorials
----------------------
* :doc:`../tutorials/micropython`
* :doc:`../tutorials/arduino`
* :doc:`../tutorials/d32/get_started_with_micropython_d32`
* :doc:`../tutorials/d32/get_started_with_arduino_d32`

Documentation
----------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/en/d32/d32_pro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Features

Tutorials
----------------------
* :doc:`../tutorials/micropython`
* :doc:`../tutorials/arduino`
* :doc:`../tutorials/d32/get_started_with_micropython_d32`
* :doc:`../tutorials/d32/get_started_with_arduino_d32`

Documentation
----------------------
Expand Down
17 changes: 17 additions & 0 deletions docs/en/tutorials/d1/get_started_with_arduino_d1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Get started with Arduino [D1/D1 mini series]
==================================================

Requirements
---------------
* :doc:`../../ch340_driver`
* `Python <https://www.python.org/downloads/>`_
* `Arduino IDE <https://www.arduino.cc/>`_

Installing Hardware package
-----------------------------
* `esp8266 package <https://github.com/esp8266/Arduino>`_

Configure Board
-------------------
After install hardware package, you will see WEMOS boards in the Tools→Board:xxx Choose your right board.

39 changes: 39 additions & 0 deletions docs/en/tutorials/d1/get_started_with_micropython_d1.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Get started with MicroPython [D1/D1 mini series]
=======================================================

Flash MicroPython firmware
----------------------------

The boards were already flashed micropython firmware.
If they lost firmware or you need lasted firmware,
you can flash MicroPython firmware by yourself.

Requirements
************************

* :doc:`../../ch340_driver`
* `Python <https://www.python.org/downloads/>`_
* `esptool <https://github.com/espressif/esptool>`_ (for flash esp8266&esp32 firmware.)
* `Micropython firmware <https://micropython.org/download#esp8266>`_ (esp8266)

Flash firmware
************************

.. prompt:: bash $

esptool.py --port PORT_NAME erase_flash
esptool.py --port PORT_NAME --baud 1000000 write_flash --flash_size=4MB -fm qio 0 FIRMWARE.bin

.. note::
Don't forget to change **PORT_NAME** and **FIRMWARE.bin**.

In Linux, **PORT_NAME** is like /dev/ttyUSB0.
In windows, **PORT_NAME** is like COM4.


Quick reference
-------------------------
* `Quick reference for the ESP8266 <https://docs.micropython.org/en/latest/esp8266/quickref.html>`_



17 changes: 17 additions & 0 deletions docs/en/tutorials/d32/get_started_with_arduino_d32.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Get started with Arduino [D32 series]
==================================================

Requirements
---------------
* :doc:`../../ch340_driver`
* `Python <https://www.python.org/downloads/>`_
* `Arduino IDE <https://www.arduino.cc/>`_

Installing Hardware package
-----------------------------
* `esp32 package <https://github.com/espressif/arduino-esp32>`_

Configure Board
-------------------
After install hardware package, you will see WEMOS boards in the Tools→Board:xxx Choose your right board.

42 changes: 42 additions & 0 deletions docs/en/tutorials/d32/get_started_with_micropython_d32.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
Get started with MicroPython [D32 series]
=======================================================

Flash MicroPython firmware
----------------------------

The boards were already flashed micropython firmware.
If they lost firmware or you need lasted firmware,
you can flash MicroPython firmware by yourself.

Requirements
************************

* :doc:`../../ch340_driver`
* `Python <https://www.python.org/downloads/>`_
* `esptool <https://github.com/espressif/esptool>`_ (for flash esp8266&esp32 firmware.)
* `Micropython firmware <https://micropython.org/download#esp32>`_ (esp32)

.. note::
D32 Pro cloud use Firmware with SPIRAM support

Flash firmware
************************

.. prompt:: bash $

esptool.py --port PORT_NAME erase_flash
esptool.py --port PORT_NAME --baud 1000000 write_flash -z 0x1000 FIRMWARE.bin

.. note::
Don't forget to change **PORT_NAME** and **FIRMWARE.bin**.

In Linux, **PORT_NAME** is like /dev/ttyUSB0.
In windows, **PORT_NAME** is like COM4.


Quick reference
-------------------------
* `Quick reference for the ESP32 <https://docs.micropython.org/en/latest/esp32/quickref.html>`_



0 comments on commit cddda56

Please sign in to comment.