summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-02-25 16:52:58 +1100
committerDamien George <damien@micropython.org>2022-02-25 16:52:58 +1100
commit546e213265872cc6393af83a94bb2af5092d4348 (patch)
treef0f1aeb61270f4324b1167bcd47094b376095c08
parentc2e8a5acd267e55a11a709d44f0385d0a40f3ec9 (diff)
esp32/boards: Add specific deploy instructions for S3 variant.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--ports/esp32/boards/GENERIC_S3/board.json2
-rw-r--r--ports/esp32/boards/GENERIC_S3_SPIRAM/board.json2
-rw-r--r--ports/esp32/boards/deploy_s3.md14
3 files changed, 16 insertions, 2 deletions
diff --git a/ports/esp32/boards/GENERIC_S3/board.json b/ports/esp32/boards/GENERIC_S3/board.json
index 058fb7dff..0db9b3250 100644
--- a/ports/esp32/boards/GENERIC_S3/board.json
+++ b/ports/esp32/boards/GENERIC_S3/board.json
@@ -1,6 +1,6 @@
{
"deploy": [
- "../deploy.md"
+ "../deploy_s3.md"
],
"docs": "",
"features": [
diff --git a/ports/esp32/boards/GENERIC_S3_SPIRAM/board.json b/ports/esp32/boards/GENERIC_S3_SPIRAM/board.json
index ee2cb8d3f..3b405d4a1 100644
--- a/ports/esp32/boards/GENERIC_S3_SPIRAM/board.json
+++ b/ports/esp32/boards/GENERIC_S3_SPIRAM/board.json
@@ -1,6 +1,6 @@
{
"deploy": [
- "../deploy.md"
+ "../deploy_s3.md"
],
"docs": "",
"features": [
diff --git a/ports/esp32/boards/deploy_s3.md b/ports/esp32/boards/deploy_s3.md
new file mode 100644
index 000000000..7f564a95e
--- /dev/null
+++ b/ports/esp32/boards/deploy_s3.md
@@ -0,0 +1,14 @@
+Program your board using the esptool.py program, found [here](https://github.com/espressif/esptool).
+
+If you are putting MicroPython on your board for the first time then you should
+first erase the entire flash using:
+
+```bash
+esptool.py --chip esp32s3 --port /dev/ttyACM0 erase_flash
+```
+
+From then on program the firmware starting at address 0:
+
+```bash
+esptool.py --chip esp32s3 --port /dev/ttyACM0 write_flash -z 0 board-20210902-v1.17.bin
+```