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

Commit 409e427

Browse files
authored
v2.1.0 for ESP32_S2/C3 & LwIP Ethernet
### Releases v2.1.0 1. Add support to `ESP32S2/C3` boards using `LwIP W5500 Ethernet`
1 parent f0bc149 commit 409e427

File tree

16 files changed

+169
-23
lines changed

16 files changed

+169
-23
lines changed

Images/ESP32S2_DEV.png

352 KB
Loading

Images/ESP32_C3_DevKitC_02.png

205 KB
Loading

changelog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,18 @@
1717
## Table of Contents
1818

1919
* [Changelog](#changelog)
20+
* [Releases v2.1.0](#releases-v210)
2021
* [Initial Releases v2.0.0](#initial-releases-v200)
2122

2223
---
2324
---
2425

2526
## Changelog
2627

28+
### Releases v2.1.0
29+
30+
1. Add support to `ESP32S2/C3` boards using `LwIP W5500 Ethernet`
31+
2732
### Initial Releases v2.0.0
2833

2934
1. Initial coding to port [AsyncUDP](https://github.com/espressif/arduino-esp32/tree/master/libraries/AsyncUDP) to ESP32_S3 boards using `LwIP W5500 Ethernet`

examples/AsyncUDPClient/AsyncUDPClient.ino

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
//////////////////////////////////////////////////////////
2323

24+
// For ESP32-S3
2425
// Optional values to override default settings
2526
// Don't change unless you know what you're doing
2627
//#define ETH_SPI_HOST SPI3_HOST
@@ -34,6 +35,20 @@
3435
//#define SCK_GPIO 12
3536
//#define CS_GPIO 10
3637

38+
// For ESP32_C3
39+
// Optional values to override default settings
40+
// Don't change unless you know what you're doing
41+
//#define ETH_SPI_HOST SPI2_HOST
42+
//#define SPI_CLOCK_MHZ 25
43+
44+
// Must connect INT to GPIOxx or not working
45+
//#define INT_GPIO 10
46+
47+
//#define MISO_GPIO 5
48+
//#define MOSI_GPIO 6
49+
//#define SCK_GPIO 4
50+
//#define CS_GPIO 7
51+
3752
//////////////////////////////////////////////////////////
3853

3954
#include <AsyncUDP_ESP32_SC_W5500.h>

examples/AsyncUDPMulticastServer/AsyncUDPMulticastServer.ino

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
//////////////////////////////////////////////////////////
2323

24+
// For ESP32-S3
2425
// Optional values to override default settings
2526
// Don't change unless you know what you're doing
2627
//#define ETH_SPI_HOST SPI3_HOST
@@ -34,6 +35,20 @@
3435
//#define SCK_GPIO 12
3536
//#define CS_GPIO 10
3637

38+
// For ESP32_C3
39+
// Optional values to override default settings
40+
// Don't change unless you know what you're doing
41+
//#define ETH_SPI_HOST SPI2_HOST
42+
//#define SPI_CLOCK_MHZ 25
43+
44+
// Must connect INT to GPIOxx or not working
45+
//#define INT_GPIO 10
46+
47+
//#define MISO_GPIO 5
48+
//#define MOSI_GPIO 6
49+
//#define SCK_GPIO 4
50+
//#define CS_GPIO 7
51+
3752
//////////////////////////////////////////////////////////
3853

3954
#include <AsyncUDP_ESP32_SC_W5500.h>

examples/AsyncUDPServer/AsyncUDPServer.ino

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
//////////////////////////////////////////////////////////
2323

24+
// For ESP32-S3
2425
// Optional values to override default settings
2526
// Don't change unless you know what you're doing
2627
//#define ETH_SPI_HOST SPI3_HOST
@@ -34,6 +35,20 @@
3435
//#define SCK_GPIO 12
3536
//#define CS_GPIO 10
3637

38+
// For ESP32_C3
39+
// Optional values to override default settings
40+
// Don't change unless you know what you're doing
41+
//#define ETH_SPI_HOST SPI2_HOST
42+
//#define SPI_CLOCK_MHZ 25
43+
44+
// Must connect INT to GPIOxx or not working
45+
//#define INT_GPIO 10
46+
47+
//#define MISO_GPIO 5
48+
//#define MOSI_GPIO 6
49+
//#define SCK_GPIO 4
50+
//#define CS_GPIO 7
51+
3752
//////////////////////////////////////////////////////////
3853

3954
#include <AsyncUDP_ESP32_SC_W5500.h>

examples/AsyncUdpNTPClient/AsyncUdpNTPClient.ino

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
//////////////////////////////////////////////////////////
2323

24+
// For ESP32-S3
2425
// Optional values to override default settings
2526
// Don't change unless you know what you're doing
2627
//#define ETH_SPI_HOST SPI3_HOST
@@ -34,6 +35,20 @@
3435
//#define SCK_GPIO 12
3536
//#define CS_GPIO 10
3637

38+
// For ESP32_C3
39+
// Optional values to override default settings
40+
// Don't change unless you know what you're doing
41+
//#define ETH_SPI_HOST SPI2_HOST
42+
//#define SPI_CLOCK_MHZ 25
43+
44+
// Must connect INT to GPIOxx or not working
45+
//#define INT_GPIO 10
46+
47+
//#define MISO_GPIO 5
48+
//#define MOSI_GPIO 6
49+
//#define SCK_GPIO 4
50+
//#define CS_GPIO 7
51+
3752
//////////////////////////////////////////////////////////
3853

3954
#include <AsyncUDP_ESP32_SC_W5500.h>

examples/AsyncUdpSendReceive/AsyncUdpSendReceive.ino

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
//////////////////////////////////////////////////////////
2323

24+
// For ESP32-S3
2425
// Optional values to override default settings
2526
// Don't change unless you know what you're doing
2627
//#define ETH_SPI_HOST SPI3_HOST
@@ -34,6 +35,20 @@
3435
//#define SCK_GPIO 12
3536
//#define CS_GPIO 10
3637

38+
// For ESP32_C3
39+
// Optional values to override default settings
40+
// Don't change unless you know what you're doing
41+
//#define ETH_SPI_HOST SPI2_HOST
42+
//#define SPI_CLOCK_MHZ 25
43+
44+
// Must connect INT to GPIOxx or not working
45+
//#define INT_GPIO 10
46+
47+
//#define MISO_GPIO 5
48+
//#define MOSI_GPIO 6
49+
//#define SCK_GPIO 4
50+
//#define CS_GPIO 7
51+
3752
//////////////////////////////////////////////////////////
3853

3954
#include <AsyncUDP_ESP32_SC_W5500.h>

examples/multiFileProject/multiFileProject.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
//////////////////////////////////////////////////////////
2626

27+
// For ESP32-S3
2728
// Optional values to override default settings
2829
// Don't change unless you know what you're doing
2930
//#define ETH_SPI_HOST SPI3_HOST
@@ -37,6 +38,20 @@
3738
//#define SCK_GPIO 12
3839
//#define CS_GPIO 10
3940

41+
// For ESP32_C3
42+
// Optional values to override default settings
43+
// Don't change unless you know what you're doing
44+
//#define ETH_SPI_HOST SPI2_HOST
45+
//#define SPI_CLOCK_MHZ 25
46+
47+
// Must connect INT to GPIOxx or not working
48+
//#define INT_GPIO 10
49+
50+
//#define MISO_GPIO 5
51+
//#define MOSI_GPIO 6
52+
//#define SCK_GPIO 4
53+
//#define CS_GPIO 7
54+
4055
//////////////////////////////////////////////////////////
4156

4257
// Can be included as many times as necessary, without `Multiple Definitions` Linker Error

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name":"AsyncUDP_ESP32_SC_W5500",
3-
"version": "2.0.0",
3+
"version": "2.1.0",
44
"description":"Fully Asynchronous UDP Library for ESP32S2/S3/C3 boards using LwIP W5500 Ethernet. The library is easy to use and includes support for Unicast, Broadcast and Multicast environments",
55
"keywords":"communication, data, async, udp, ntp, time, time-server, server, client, multicast, broadcast, webserver, esp32, esp32-s3, esp32-s2, esp32-c3, W5500, lwip, udp-server, udp-multicast-server",
66
"authors":
@@ -34,7 +34,7 @@
3434
{
3535
"owner": "khoih-prog",
3636
"name": "WebServer_ESP32_SC_W5500",
37-
"version": "^1.0.1",
37+
"version": "^1.2.0",
3838
"platforms": "espressif32"
3939
}
4040
],

0 commit comments

Comments
 (0)