Skip to content

Commit dae307c

Browse files
committed
Added waveshare_esp32s3_eth
1 parent df6cd9b commit dae307c

File tree

5 files changed

+112
-83
lines changed

5 files changed

+112
-83
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
"lilygo-t-eth-lite-s3",
3939
"lolin_s2_mini",
4040
"tinypico",
41+
"waveshare_esp32s3_eth",
4142
"wemos_d1_uno32",
4243
"wipy3",
4344
"wt32-eth01",

README.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ It allows to have only one application partition to use the maximum available fl
1616

1717
The idea is not new: [Tasmota also uses a SafeBoot partition](https://tasmota.github.io/docs/Safeboot/).
1818

19-
20-
2119
- [Overview](#overview)
2220
- [How it works](#how-it-works)
2321
- [How to integrate the SafeBoot in your project](#how-to-integrate-the-safeboot-in-your-project)
@@ -265,47 +263,49 @@ Disabling mDNS saves about 24 kbytes. Enable both [...]\_NO_DNS options in `plat
265263

266264
### Options matrix
267265

268-
| Board | mDNS: on, logger: on | mDNS: on, logger: off | mDNS: off, logger: off |
269-
| -------------------- | -------------------- | --------------------- | ---------------------- |
270-
| denky_d4 | NOT SUPPORTED | OK | OK |
271-
| esp32-c3-devkitc-02 | OK | OK | OK |
272-
| esp32-c6-devkitc-1 | NOT SUPPORTED | NOT SUPPORTED | OK |
273-
| esp32-gateway | NOT SUPPORTED | OK | OK |
274-
| esp32-poe | NOT SUPPORTED | NOT SUPPORTED | OK |
275-
| esp32-poe-iso | NOT SUPPORTED | NOT SUPPORTED | OK |
276-
| esp32-s2-saola-1 | OK | OK | OK |
277-
| esp32-s3-devkitc-1 | OK | OK | OK |
278-
| esp32-solo1 | OK | OK | OK |
279-
| esp32dev | OK | OK | OK |
280-
| esp32s3box | OK | OK | OK |
281-
| lilygo-t-eth-lite-s3 | OK | OK | OK |
282-
| lolin_s2_mini | OK | OK | OK |
283-
| tinypico | NOT SUPPORTED | OK | OK |
284-
| wemos_d1_uno32 | OK | OK | OK |
285-
| wipy3 | NOT SUPPORTED | OK | OK |
286-
| wt32-eth01 | NOT SUPPORTED | NOT SUPPORTED | OK |
266+
| Board | mDNS: on, logger: on | mDNS: on, logger: off | mDNS: off, logger: off |
267+
| --------------------- | -------------------- | --------------------- | ---------------------- |
268+
| denky_d4 | NOT SUPPORTED | OK | OK |
269+
| esp32-c3-devkitc-02 | OK | OK | OK |
270+
| esp32-c6-devkitc-1 | NOT SUPPORTED | NOT SUPPORTED | OK |
271+
| esp32-gateway | NOT SUPPORTED | OK | OK |
272+
| esp32-poe | NOT SUPPORTED | NOT SUPPORTED | OK |
273+
| esp32-poe-iso | NOT SUPPORTED | NOT SUPPORTED | OK |
274+
| esp32-s2-saola-1 | OK | OK | OK |
275+
| esp32-s3-devkitc-1 | OK | OK | OK |
276+
| esp32-solo1 | OK | OK | OK |
277+
| esp32dev | OK | OK | OK |
278+
| esp32s3box | OK | OK | OK |
279+
| lilygo-t-eth-lite-s3 | OK | OK | OK |
280+
| lolin_s2_mini | OK | OK | OK |
281+
| tinypico | NOT SUPPORTED | OK | OK |
282+
| waveshare_esp32s3_eth | OK | OK | OK |
283+
| wemos_d1_uno32 | OK | OK | OK |
284+
| wipy3 | NOT SUPPORTED | OK | OK |
285+
| wt32-eth01 | NOT SUPPORTED | NOT SUPPORTED | OK |
287286

288287
## Default board options
289288

290-
| Board | mDNS | Logging | Ethernet |
291-
| :------------------- | :--: | :-----: | :------: |
292-
| denky_d4 ||||
293-
| esp32-c3-devkitc-02 ||||
294-
| esp32-c6-devkitc-1 ||||
295-
| esp32-gateway ||||
296-
| esp32-poe ||||
297-
| esp32-poe-iso ||||
298-
| esp32-s2-saola-1 ||||
299-
| esp32-s3-devkitc-1 ||||
300-
| esp32-solo1 ||||
301-
| esp32dev ||||
302-
| esp32s3box ||||
303-
| lilygo-t-eth-lite-s3 ||||
304-
| lolin_s2_mini ||||
305-
| tinypico ||||
306-
| wemos_d1_uno32 ||||
307-
| wipy3 ||||
308-
| wt32-eth01 ||||
289+
| Board | mDNS | Logging | Ethernet |
290+
| :-------------------- | :--: | :-----: | :------: |
291+
| denky_d4 ||||
292+
| esp32-c3-devkitc-02 ||||
293+
| esp32-c6-devkitc-1 ||||
294+
| esp32-gateway ||||
295+
| esp32-poe ||||
296+
| esp32-poe-iso ||||
297+
| esp32-s2-saola-1 ||||
298+
| esp32-s3-devkitc-1 ||||
299+
| esp32-solo1 ||||
300+
| esp32dev ||||
301+
| esp32s3box ||||
302+
| lilygo-t-eth-lite-s3 ||||
303+
| lolin_s2_mini ||||
304+
| tinypico ||||
305+
| waveshare_esp32s3_eth ||||
306+
| wemos_d1_uno32 ||||
307+
| wipy3 ||||
308+
| wt32-eth01 ||||
309309

310310
## How to OTA update firmware from PlatformIO
311311

docs/index.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ It allows to have only one application partition to use the maximum available fl
1616

1717
The idea is not new: [Tasmota also uses a SafeBoot partition](https://tasmota.github.io/docs/Safeboot/).
1818

19-
20-
2119
- [Overview](#overview)
2220
- [How it works](#how-it-works)
2321
- [How to integrate the SafeBoot in your project](#how-to-integrate-the-safeboot-in-your-project)
@@ -265,47 +263,49 @@ Disabling mDNS saves about 24 kbytes. Enable both [...]\_NO_DNS options in `plat
265263

266264
### Options matrix
267265

268-
| Board | mDNS: on, logger: on | mDNS: on, logger: off | mDNS: off, logger: off |
269-
| -------------------- | -------------------- | --------------------- | ---------------------- |
270-
| denky_d4 | NOT SUPPORTED | OK | OK |
271-
| esp32-c3-devkitc-02 | OK | OK | OK |
272-
| esp32-c6-devkitc-1 | NOT SUPPORTED | NOT SUPPORTED | OK |
273-
| esp32-gateway | NOT SUPPORTED | OK | OK |
274-
| esp32-poe | NOT SUPPORTED | NOT SUPPORTED | OK |
275-
| esp32-poe-iso | NOT SUPPORTED | NOT SUPPORTED | OK |
276-
| esp32-s2-saola-1 | OK | OK | OK |
277-
| esp32-s3-devkitc-1 | OK | OK | OK |
278-
| esp32-solo1 | OK | OK | OK |
279-
| esp32dev | OK | OK | OK |
280-
| esp32s3box | OK | OK | OK |
281-
| lilygo-t-eth-lite-s3 | OK | OK | OK |
282-
| lolin_s2_mini | OK | OK | OK |
283-
| tinypico | NOT SUPPORTED | OK | OK |
284-
| wemos_d1_uno32 | OK | OK | OK |
285-
| wipy3 | NOT SUPPORTED | OK | OK |
286-
| wt32-eth01 | NOT SUPPORTED | NOT SUPPORTED | OK |
266+
| Board | mDNS: on, logger: on | mDNS: on, logger: off | mDNS: off, logger: off |
267+
| --------------------- | -------------------- | --------------------- | ---------------------- |
268+
| denky_d4 | NOT SUPPORTED | OK | OK |
269+
| esp32-c3-devkitc-02 | OK | OK | OK |
270+
| esp32-c6-devkitc-1 | NOT SUPPORTED | NOT SUPPORTED | OK |
271+
| esp32-gateway | NOT SUPPORTED | OK | OK |
272+
| esp32-poe | NOT SUPPORTED | NOT SUPPORTED | OK |
273+
| esp32-poe-iso | NOT SUPPORTED | NOT SUPPORTED | OK |
274+
| esp32-s2-saola-1 | OK | OK | OK |
275+
| esp32-s3-devkitc-1 | OK | OK | OK |
276+
| esp32-solo1 | OK | OK | OK |
277+
| esp32dev | OK | OK | OK |
278+
| esp32s3box | OK | OK | OK |
279+
| lilygo-t-eth-lite-s3 | OK | OK | OK |
280+
| lolin_s2_mini | OK | OK | OK |
281+
| tinypico | NOT SUPPORTED | OK | OK |
282+
| waveshare_esp32s3_eth | OK | OK | OK |
283+
| wemos_d1_uno32 | OK | OK | OK |
284+
| wipy3 | NOT SUPPORTED | OK | OK |
285+
| wt32-eth01 | NOT SUPPORTED | NOT SUPPORTED | OK |
287286

288287
## Default board options
289288

290-
| Board | mDNS | Logging | Ethernet |
291-
| :------------------- | :--: | :-----: | :------: |
292-
| denky_d4 ||||
293-
| esp32-c3-devkitc-02 ||||
294-
| esp32-c6-devkitc-1 ||||
295-
| esp32-gateway ||||
296-
| esp32-poe ||||
297-
| esp32-poe-iso ||||
298-
| esp32-s2-saola-1 ||||
299-
| esp32-s3-devkitc-1 ||||
300-
| esp32-solo1 ||||
301-
| esp32dev ||||
302-
| esp32s3box ||||
303-
| lilygo-t-eth-lite-s3 ||||
304-
| lolin_s2_mini ||||
305-
| tinypico ||||
306-
| wemos_d1_uno32 ||||
307-
| wipy3 ||||
308-
| wt32-eth01 ||||
289+
| Board | mDNS | Logging | Ethernet |
290+
| :-------------------- | :--: | :-----: | :------: |
291+
| denky_d4 ||||
292+
| esp32-c3-devkitc-02 ||||
293+
| esp32-c6-devkitc-1 ||||
294+
| esp32-gateway ||||
295+
| esp32-poe ||||
296+
| esp32-poe-iso ||||
297+
| esp32-s2-saola-1 ||||
298+
| esp32-s3-devkitc-1 ||||
299+
| esp32-solo1 ||||
300+
| esp32dev ||||
301+
| esp32s3box ||||
302+
| lilygo-t-eth-lite-s3 ||||
303+
| lolin_s2_mini ||||
304+
| tinypico ||||
305+
| waveshare_esp32s3_eth ||||
306+
| wemos_d1_uno32 ||||
307+
| wipy3 ||||
308+
| wt32-eth01 ||||
309309

310310
## How to OTA update firmware from PlatformIO
311311

examples/App_ESPConnect_OTA/platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ lib_ldf_mode = chain
2626
lib_deps =
2727
ESP32Async/AsyncTCP @ 3.4.9
2828
ESP32Async/ESPAsyncWebServer @ 3.8.1
29-
mathieucarbou/MycilaESPConnect @ 10.3.3
29+
mathieucarbou/MycilaESPConnect @ 10.3.4
3030
mathieucarbou/MycilaSystem @ 4.1.0
3131
build_flags =
3232
-D APP_NAME=\"MyAwesomeApp\"

platformio.ini

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
[platformio]
1212
name = SafeBoot
13-
default_envs = denky_d4, esp32-c3-devkitc-02, esp32-c6-devkitc-1, esp32-gateway, esp32-poe-iso, esp32-poe, esp32-s2-saola-1, esp32-s3-devkitc-1, esp32-solo1, esp32dev, esp32s3box, lilygo-t-eth-lite-s3, lolin_s2_mini, tinypico, wemos_d1_uno32, wipy3, wt32-eth01
13+
default_envs = denky_d4, esp32-c3-devkitc-02, esp32-c6-devkitc-1, esp32-gateway, esp32-poe-iso, esp32-poe, esp32-s2-saola-1, esp32-s3-devkitc-1, esp32-solo1, esp32dev, esp32s3box, lilygo-t-eth-lite-s3, lolin_s2_mini, tinypico, waveshare_esp32s3_eth, wemos_d1_uno32, wipy3, wt32-eth01
1414

1515
[env]
1616
framework = arduino
@@ -26,7 +26,7 @@ lib_deps =
2626
ESPmDNS
2727
Update
2828
WebServer
29-
mathieucarbou/MycilaESPConnect @ 10.3.3
29+
mathieucarbou/MycilaESPConnect @ 10.3.4
3030
lib_ignore =
3131
ArduinoJson
3232
AsyncTCP
@@ -168,6 +168,34 @@ build_flags =
168168
[env:tinypico]
169169
board = tinypico
170170

171+
; Waveshare ESP32-S3 ETH Board
172+
; https://www.waveshare.com/wiki/ESP32-S3-ETH
173+
174+
[env:waveshare_esp32s3_eth]
175+
board = esp32s3box
176+
build_flags =
177+
${env.build_flags}
178+
-D MYCILA_SAFEBOOT_LOGGING
179+
-D ESPCONNECT_ETH_SUPPORT
180+
-D ETH_PHY_ADDR=1
181+
-D ETH_PHY_CS=14
182+
-D ETH_PHY_IRQ=10
183+
-D ETH_PHY_RST=9
184+
-D ETH_PHY_SPI_MISO=12
185+
-D ETH_PHY_SPI_MOSI=11
186+
-D ETH_PHY_SPI_SCK=13
187+
-D ETH_PHY_TYPE=ETH_PHY_W5500
188+
; https://community.platformio.org/t/what-board-do-i-select-for-waveshare-esp32-s3-eth-board/52627/2
189+
; board_build.arduino.memory_type = qio_opi
190+
; board_build.flash_mode = qio
191+
; board_build.psram_type = opi
192+
; board_upload.flash_size = 16MB
193+
; board_upload.maximum_size = 16777216
194+
; board_build.partitions = default_16MB.csv
195+
; board_build.extra_flags =
196+
; -D BOARD_HAS_PSRAM
197+
; -D ARDUINO_USB_CDC_ON_BOOT=1
198+
171199
[env:wemos_d1_uno32]
172200
board = wemos_d1_uno32
173201
build_flags =

0 commit comments

Comments
 (0)