Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit a974269

Browse files
authored
v1.10.0 for LwIP W6100
### Releases v1.10.0 1. Add support to `ESP32` and `ESP32S2/S3/C3` boards using `LwIP W6100 Ethernet`
1 parent 227eab9 commit a974269

File tree

22 files changed

+1468
-49
lines changed

22 files changed

+1468
-49
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,27 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1515
Please ensure to specify the following:
1616

1717
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18-
* Board Type (e.g. ESP32S3_DEV, ESP32S2_DEV, ESP32C3_DEV)
19-
* Board Core Version (e.g. ESP32 core v2.0.5)
18+
* Board Type (e.g. ESP32_DEV, ESP32S3_DEV, ESP32S2_DEV, ESP32C3_DEV)
19+
* Board Core Version (e.g. ESP32 core v2.0.6)
2020
* Contextual information (e.g. what you were trying to achieve)
2121
* Simplest possible steps to reproduce
2222
* Anything that might be relevant in your opinion, such as:
2323
* Operating system (Windows, Ubuntu, etc.) and the output of `uname -a`
2424
* Network configuration
2525

2626

27-
Please be educated, civilized and constructive. Disrespective posts against [GitHub Code of Conduct](https://docs.github.com/en/site-policy/github-terms/github-event-code-of-conduct) will be ignored and deleted.
27+
Please be educated, civilized and constructive as you've always been. Disrespective posts against [GitHub Code of Conduct](https://docs.github.com/en/site-policy/github-terms/github-event-code-of-conduct) will be ignored and deleted.
2828

29+
---
2930

3031
### Example
3132

3233
```
3334
Arduino IDE version: 1.8.19
3435
ESP32S3_DEV board
35-
ESP32 core v2.0.5
36+
ESP32 core v2.0.6
3637
OS: Ubuntu 20.04 LTS
37-
Linux xy-Inspiron-3593 5.15.0-56-generic #62~20.04.1-Ubuntu SMP Tue Nov 22 21:24:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
38+
Linux xy-Inspiron-3593 5.15.0-57-generic #63~20.04.1-Ubuntu SMP Wed Nov 30 13:40:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3839
3940
Context:
4041
I encountered a crash while using this library

Images/W6100.png

116 KB
Loading

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
## Table of Contents
1616

1717
* [Changelog](#changelog)
18+
* [Releases v1.10.0](#releases-v1100)
1819
* [Releases v1.9.0](#releases-v190)
1920
* [Releases v1.8.0](#releases-v180)
2021

@@ -23,6 +24,10 @@
2324

2425
## Changelog
2526

27+
### Releases v1.10.0
28+
29+
1. Add support to `ESP32` and `ESP32S2/S3/C3` boards using `LwIP W6100 Ethernet`
30+
2631
### Releases v1.9.0
2732

2833
1. Add support to `ESP32S2/C3` boards using `LwIP W5500 or ENC28J60 Ethernet`

examples/ESP32_ENC/FullyFeaturedSSL_ESP32_ENC/FullyFeaturedSSL_ESP32_ENC.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,12 +261,10 @@ void setup()
261261

262262
// start the ethernet connection and the server:
263263
// Use DHCP dynamic IP and random mac
264-
uint16_t index = millis() % NUMBER_OF_MAC;
265-
266264
//bool begin(int MISO_GPIO, int MOSI_GPIO, int SCLK_GPIO, int CS_GPIO, int INT_GPIO, int SPI_CLOCK_MHZ,
267265
// int SPI_HOST, uint8_t *ENC28J60_Mac = ENC28J60_Default_Mac);
268266
//ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, SPI_HOST );
269-
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, SPI_HOST, mac[index] );
267+
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, SPI_HOST, mac[millis() % NUMBER_OF_MAC] );
270268

271269
// Static IP, leave without this line to get IP via DHCP
272270
//bool config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1 = 0, IPAddress dns2 = 0);

examples/ESP32_ENC/FullyFeatured_ESP32_ENC/FullyFeatured_ESP32_ENC.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,10 @@ void setup()
238238

239239
// start the ethernet connection and the server:
240240
// Use DHCP dynamic IP and random mac
241-
uint16_t index = millis() % NUMBER_OF_MAC;
242-
243241
//bool begin(int MISO_GPIO, int MOSI_GPIO, int SCLK_GPIO, int CS_GPIO, int INT_GPIO, int SPI_CLOCK_MHZ,
244242
// int SPI_HOST, uint8_t *ENC28J60_Mac = ENC28J60_Default_Mac);
245243
//ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, SPI_HOST );
246-
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, SPI_HOST, mac[index] );
244+
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, SPI_HOST, mac[millis() % NUMBER_OF_MAC] );
247245

248246
// Static IP, leave without this line to get IP via DHCP
249247
//bool config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1 = 0, IPAddress dns2 = 0);

examples/ESP32_SC_ENC/FullyFeaturedSSL_ESP32_SC_ENC/FullyFeaturedSSL_ESP32_SC_ENC.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,10 @@ void setup()
264264

265265
// start the ethernet connection and the server:
266266
// Use DHCP dynamic IP and random mac
267-
uint16_t index = millis() % NUMBER_OF_MAC;
268-
269267
//bool begin(int MISO_GPIO, int MOSI_GPIO, int SCLK_GPIO, int CS_GPIO, int INT_GPIO, int SPI_CLOCK_MHZ,
270268
// int SPI_HOST, uint8_t *ENC28J60_Mac = ENC28J60_Default_Mac);
271269
//ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST );
272-
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST, mac[index] );
270+
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST, mac[millis() % NUMBER_OF_MAC] );
273271

274272
// Static IP, leave without this line to get IP via DHCP
275273
//bool config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1 = 0, IPAddress dns2 = 0);

examples/ESP32_SC_ENC/FullyFeatured_ESP32_SC_ENC/FullyFeatured_ESP32_SC_ENC.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,10 @@ void setup()
239239

240240
// start the ethernet connection and the server:
241241
// Use DHCP dynamic IP and random mac
242-
uint16_t index = millis() % NUMBER_OF_MAC;
243-
244242
//bool begin(int MISO_GPIO, int MOSI_GPIO, int SCLK_GPIO, int CS_GPIO, int INT_GPIO, int SPI_CLOCK_MHZ,
245243
// int SPI_HOST, uint8_t *ENC28J60_Mac = ENC28J60_Default_Mac);
246244
//ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST );
247-
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST, mac[index] );
245+
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST, mac[millis() % NUMBER_OF_MAC] );
248246

249247
// Static IP, leave without this line to get IP via DHCP
250248
//bool config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1 = 0, IPAddress dns2 = 0);

examples/ESP32_SC_W5500/FullyFeaturedSSL_ESP32_SC_W5500/FullyFeaturedSSL_ESP32_SC_W5500.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,10 @@ void setup()
264264

265265
// start the ethernet connection and the server:
266266
// Use DHCP dynamic IP and random mac
267-
uint16_t index = millis() % NUMBER_OF_MAC;
268-
269267
//bool begin(int MISO_GPIO, int MOSI_GPIO, int SCLK_GPIO, int CS_GPIO, int INT_GPIO, int SPI_CLOCK_MHZ,
270268
// int SPI_HOST, uint8_t *W5500_Mac = W5500_Default_Mac);
271-
//ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST );
272-
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST, mac[index] );
269+
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST );
270+
//ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST, mac[millis() % NUMBER_OF_MAC] );
273271

274272
// Static IP, leave without this line to get IP via DHCP
275273
//bool config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1 = 0, IPAddress dns2 = 0);

examples/ESP32_SC_W5500/FullyFeatured_ESP32_SC_W5500/FullyFeatured_ESP32_SC_W5500.ino

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,12 +239,10 @@ void setup()
239239

240240
// start the ethernet connection and the server:
241241
// Use DHCP dynamic IP and random mac
242-
uint16_t index = millis() % NUMBER_OF_MAC;
243-
244242
//bool begin(int MISO_GPIO, int MOSI_GPIO, int SCLK_GPIO, int CS_GPIO, int INT_GPIO, int SPI_CLOCK_MHZ,
245243
// int SPI_HOST, uint8_t *W5500_Mac = W5500_Default_Mac);
246-
//ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST );
247-
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST, mac[index] );
244+
ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST );
245+
//ETH.begin( MISO_GPIO, MOSI_GPIO, SCK_GPIO, CS_GPIO, INT_GPIO, SPI_CLOCK_MHZ, ETH_SPI_HOST, mac[millis() % NUMBER_OF_MAC] );
248246

249247
// Static IP, leave without this line to get IP via DHCP
250248
//bool config(IPAddress local_ip, IPAddress gateway, IPAddress subnet, IPAddress dns1 = 0, IPAddress dns2 = 0);

0 commit comments

Comments
 (0)