-
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.
add s2 c3 board CircuitPython support
- Loading branch information
Showing
7 changed files
with
129 additions
and
3 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
53 changes: 53 additions & 0 deletions
53
docs/en/tutorials/c3/get_started_with_circuitpython_c3.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,53 @@ | ||
Get started with CircuitPython [C3 series] | ||
======================================================= | ||
|
||
Flash CircuitPython firmware | ||
---------------------------- | ||
|
||
Requirements | ||
--------------- | ||
|
||
* `Python <https://www.python.org/downloads/>`_ | ||
* `esptool <https://github.com/espressif/esptool>`_ (for flash esp32-c3 firmware.) | ||
|
||
.. highlight:: bash | ||
|
||
:: | ||
|
||
pip install esptool | ||
S2 Firmware | ||
------------------ | ||
|
||
* `Firmware <https://circuitpython.org/downloads?q=lolin+c3>`_ | ||
|
||
|
||
Flash firmware | ||
------------------- | ||
* Make S2 boards into **Device Firmware Upgrade (DFU)** mode. | ||
|
||
* Press and hold the **[9]** Button | ||
* Press and release the **[Reset]** Button | ||
* Release the **[9]** Button | ||
|
||
* Flash using esptool.py | ||
|
||
.. highlight:: bash | ||
|
||
:: | ||
|
||
esptool.py --chip esp32c3 --port PORT_NAME --baud 1000000 write_flash -z 0x0 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 | ||
------------------------- | ||
* `Welcome To CircuitPython <https://learn.adafruit.com/welcome-to-circuitpython>`_ | ||
|
||
|
||
|
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,16 @@ | ||
CircuitPython Tutorials | ||
========================= | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
Get started with CircuitPython [S2 series] <s2/get_started_with_circuitpython_s2> | ||
Get started with CircuitPython [C3 series] <c3/get_started_with_circuitpython_c3> | ||
Get started with CircuitPython [S3 series] <s3/get_started_with_circuitpython_s3> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
53 changes: 53 additions & 0 deletions
53
docs/en/tutorials/s2/get_started_with_circuitpython_s2.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,53 @@ | ||
Get started with CircuitPython [S2 series] | ||
======================================================= | ||
|
||
Flash CircuitPython firmware | ||
---------------------------- | ||
|
||
Requirements | ||
--------------- | ||
|
||
* `Python <https://www.python.org/downloads/>`_ | ||
* `esptool <https://github.com/espressif/esptool>`_ (for flash esp32-s2 firmware.) | ||
|
||
.. highlight:: bash | ||
|
||
:: | ||
|
||
pip install esptool | ||
S2 Firmware | ||
------------------ | ||
|
||
* `Firmware <https://circuitpython.org/downloads?q=lolin+s2>`_ | ||
|
||
|
||
Flash firmware | ||
------------------- | ||
* Make S2 boards into **Device Firmware Upgrade (DFU)** mode. | ||
|
||
* Press and hold the **[0]** Button | ||
* Press and release the **[Reset]** Button | ||
* Release the **[0]** Button | ||
|
||
* Flash using esptool.py | ||
|
||
.. highlight:: bash | ||
|
||
:: | ||
|
||
esptool.py --chip esp32s2 --port PORT_NAME --baud 1000000 write_flash -z 0x0 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 | ||
------------------------- | ||
* `Welcome To CircuitPython <https://learn.adafruit.com/welcome-to-circuitpython>`_ | ||
|
||
|
||
|