|
1 | 1 | /****************************************************************************************************************************
|
2 | 2 | AsyncWebServer_ESP32_SC_ENC.h - Dead simple Ethernet AsyncWebServer.
|
3 | 3 |
|
4 |
| - For LwIP ENC28J60 Ethernet in ESP32_SC_ENC (ESP32_S2/3, ESP32_C3 + LwIP ENC28J60) |
| 4 | + For LwIP ENC28J60 Ethernet in ESP32_SC_ENC (ESP32_S2/S3/C3 + LwIP ENC28J60) |
5 | 5 |
|
6 | 6 | AsyncWebServer_ESP32_SC_ENC is a library for the LwIP Ethernet ENC28J60 in ESP32_S2/S3/C3 to run AsyncWebServer
|
7 | 7 |
|
|
22 | 22 | You should have received a copy of the GNU Lesser General Public License along with this library;
|
23 | 23 | if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
24 | 24 |
|
25 |
| - Version: 1.7.0 |
| 25 | + Version: 1.8.0 |
26 | 26 |
|
27 | 27 | Version Modified By Date Comments
|
28 | 28 | ------- ----------- ---------- -----------
|
29 | 29 | 1.6.3 K Hoang 15/12/2022 Initial porting for ENC28J60 + ESP32_S3. Sync with AsyncWebServer_ESP32_ENC v1.6.3
|
30 | 30 | 1.7.0 K Hoang 19/12/2022 Add support to ESP32_S2_ENC (ESP32_S2 + LwIP ENC28J60)
|
| 31 | + 1.8.0 K Hoang 20/12/2022 Add support to ESP32_C3_ENC (ESP32_C3 + LwIP ENC28J60) |
31 | 32 | *****************************************************************************************************************************/
|
32 | 33 |
|
33 | 34 | #ifndef _AsyncWebServer_ESP32_SC_ENC_H_
|
|
66 | 67 | #define SHIELD_TYPE "ESP32_C3_ENC28J60"
|
67 | 68 | #endif
|
68 | 69 |
|
69 |
| -#error ESP32_C3 not supported yet |
70 |
| - |
71 | 70 | #elif ( defined(ARDUINO_ESP32S3_DEV) || defined(ARDUINO_ESP32_S3_BOX) || defined(ARDUINO_TINYS3) || \
|
72 | 71 | defined(ARDUINO_PROS3) || defined(ARDUINO_FEATHERS3) )
|
73 | 72 | #if (_ASYNC_WEBSERVER_LOGLEVEL_ > 3)
|
|
96 | 95 | #warning Using code for ESP32 core v2.0.0+ in AsyncWebServer_ESP32_SC_ENC.h
|
97 | 96 | #endif
|
98 | 97 |
|
99 |
| - #define ASYNC_WEBSERVER_ESP32_SC_ENC_VERSION "AsyncWebServer_ESP32_SC_ENC v1.7.0 for core v2.0.0+" |
| 98 | + #define ASYNC_WEBSERVER_ESP32_SC_ENC_VERSION "AsyncWebServer_ESP32_SC_ENC v1.8.0 for core v2.0.0+" |
100 | 99 | #else
|
101 | 100 |
|
102 | 101 | #if (_ASYNC_WEBSERVER_LOGLEVEL_ > 2 )
|
103 | 102 | #warning Using code for ESP32 core v1.0.6- in AsyncWebServer_ESP32_SC_ENC.h
|
104 | 103 | #endif
|
105 | 104 |
|
106 |
| - #define ASYNC_WEBSERVER_ESP32_SC_ENC_VERSION "AsyncWebServer_ESP32_SC_ENC v1.7.0 for core v1.0.6-" |
| 105 | + #define ASYNC_WEBSERVER_ESP32_SC_ENC_VERSION "AsyncWebServer_ESP32_SC_ENC v1.8.0 for core v1.0.6-" |
107 | 106 | #endif
|
108 | 107 |
|
109 | 108 | #define ASYNC_WEBSERVER_ESP32_SC_ENC_VERSION_MAJOR 1
|
110 |
| -#define ASYNC_WEBSERVER_ESP32_SC_ENC_VERSION_MINOR 7 |
| 109 | +#define ASYNC_WEBSERVER_ESP32_SC_ENC_VERSION_MINOR 8 |
111 | 110 | #define ASYNC_WEBSERVER_ESP32_SC_ENC_VERSION_PATCH 0
|
112 | 111 |
|
113 |
| -#define ASYNC_WEBSERVER_ESP32_SC_ENC_VERSION_INT 1007000 |
| 112 | +#define ASYNC_WEBSERVER_ESP32_SC_ENC_VERSION_INT 1008000 |
114 | 113 |
|
115 | 114 | /////////////////////////////////////////////////
|
116 | 115 |
|
|
217 | 216 | #endif
|
218 | 217 |
|
219 | 218 | #if !defined(INT_GPIO)
|
220 |
| - #define INT_GPIO 4 |
| 219 | + #define INT_GPIO 10 |
221 | 220 | #endif
|
222 | 221 |
|
223 | 222 | #if !defined(MISO_GPIO)
|
|
229 | 228 | #endif
|
230 | 229 |
|
231 | 230 | #if !defined(SCK_GPIO)
|
232 |
| - #define SCK_GPIO |
| 231 | + #define SCK_GPIO 4 |
233 | 232 | #endif
|
234 | 233 |
|
235 | 234 | #if !defined(CS_GPIO)
|
|
0 commit comments