Skip to content

Commit 910e9f9

Browse files
jimmodpgeorge
authored andcommitted
esp32: Add specific deploy_s2.md instructions for esp32-s2.
In particular the UM S2 boards (and update the features list). Signed-off-by: Jim Mussared <[email protected]>
1 parent ab754d5 commit 910e9f9

File tree

7 files changed

+24
-8
lines changed

7 files changed

+24
-8
lines changed

ports/esp32/boards/GENERIC_S2/board.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"deploy": [
3-
"../deploy.md"
3+
"../deploy_s2.md"
44
],
55
"docs": "",
66
"features": [],

ports/esp32/boards/LOLIN_S2_MINI/board.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"deploy": [
3-
"../deploy.md"
3+
"../deploy_s2.md"
44
],
55
"docs": "",
66
"features": [],

ports/esp32/boards/UM_FEATHERS2/board.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"deploy": [
3-
"../deploy.md"
3+
"../deploy_s2.md"
44
],
55
"docs": "",
66
"features": [
7-
"BLE",
87
"WiFi",
98
"Feather",
109
"Battery Charging",

ports/esp32/boards/UM_FEATHERS2NEO/board.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"deploy": [
3-
"../deploy.md"
3+
"../deploy_s2.md"
44
],
55
"docs": "",
66
"features": [
7-
"BLE",
87
"WiFi",
98
"Feather",
109
"Battery Charging",

ports/esp32/boards/UM_TINYS2/board.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
22
"deploy": [
3-
"../deploy.md"
3+
"../deploy_s2.md"
44
],
55
"docs": "",
6-
"features": [],
6+
"features": [
7+
"WiFi",
8+
"USB-C"
9+
],
710
"id": "tinys2",
811
"images": [
912
"TinyS2+Product+Shot.jpg"

ports/esp32/boards/deploy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Program your board using the esptool.py program, found [here](https://github.com/espressif/esptool).
2+
23
If you are putting MicroPython on your board for the first time then you should
34
first erase the entire flash using:
45

ports/esp32/boards/deploy_s2.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Program your board using the esptool.py program, found [here](https://github.com/espressif/esptool).
2+
3+
If you are putting MicroPython on your board for the first time then you should
4+
first erase the entire flash using:
5+
6+
```bash
7+
esptool.py --chip esp32s2 --port /dev/ttyACM0 erase_flash
8+
```
9+
10+
From then on program the firmware starting at address 0x1000:
11+
12+
```bash
13+
esptool.py --chip esp32s2 --port /dev/ttyACM0 write_flash -z 0x1000 board-20210902-v1.17.bin
14+
```

0 commit comments

Comments
 (0)