-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
125 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>`_ | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
42
docs/en/tutorials/d32/get_started_with_micropython_d32.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>`_ | ||
|
||
|
||
|