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

Commit cb1936c

Browse files
authored
v1.0.0 for ESP32 & LwIP W6100 Ethernet
### Initial Releases v1.0.0 1. Initial coding to support **ESP32 boards using LwIP W6100 Ethernet**
1 parent a84baea commit cb1936c

File tree

19 files changed

+1735
-4
lines changed

19 files changed

+1735
-4
lines changed

.codespellrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# See: https://github.com/codespell-project/codespell#using-a-config-file
2+
[codespell]
3+
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
4+
ignore-words-list = ,
5+
check-filenames =
6+
check-hidden =
7+
skip = ./.git,./src,./examples,./Packages_Patches,./LibraryPatches

CONTRIBUTING.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
## Contributing to AsyncDNSServer_ESP32_W6100
2+
3+
### Reporting Bugs
4+
5+
Please report bugs in AsyncDNSServer_ESP32_W6100 if you find them.
6+
7+
However, before reporting a bug please check through the following:
8+
9+
* [Existing Open Issues](https://github.com/khoih-prog/AsyncDNSServer_ESP32_W6100/issues) - someone might have already encountered this.
10+
11+
If you don't find anything, please [open a new issue](https://github.com/khoih-prog/AsyncDNSServer_ESP32_W6100/issues/new).
12+
13+
---
14+
15+
### How to submit a bug report
16+
17+
Please ensure to specify the following:
18+
19+
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
20+
* Board Core Version (e.g. ESP32 core v2.0.6)
21+
* Contextual information (e.g. what you were trying to achieve)
22+
* Simplest possible steps to reproduce
23+
* Anything that might be relevant in your opinion, such as:
24+
* Operating system (Windows, Ubuntu, etc.) and the output of `uname -a`
25+
* Network configuration
26+
27+
28+
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.
29+
30+
---
31+
32+
### Example
33+
34+
```
35+
Arduino IDE version: 1.8.19
36+
ESP32_DEV board
37+
ESP32 core v2.0.6
38+
OS: Ubuntu 20.04 LTS
39+
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
40+
41+
Context:
42+
I encountered a crash while using this library
43+
Steps to reproduce:
44+
1. ...
45+
2. ...
46+
3. ...
47+
4. ...
48+
```
49+
50+
### Additional context
51+
52+
Add any other context about the problem here.
53+
54+
---
55+
56+
### Sending Feature Requests
57+
58+
Feel free to post feature requests. It's helpful if you can explain exactly why the feature would be useful.
59+
60+
There are usually some outstanding feature requests in the [existing issues list](https://github.com/khoih-prog/AsyncDNSServer_ESP32_W6100/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement), feel free to add comments to them.
61+
62+
---
63+
64+
### Sending Pull Requests
65+
66+
Pull Requests with changes and fixes are also welcome!
67+
68+
Please use the `astyle` to reformat the updated library code as follows (demo for Ubuntu Linux)
69+
70+
1. Change directory to the library GitHub
71+
72+
```
73+
xy@xy-Inspiron-3593:~$ cd Arduino/xy/AsyncDNSServer_ESP32_W6100_GitHub/
74+
xy@xy-Inspiron-3593:~/Arduino/xy/AsyncDNSServer_ESP32_W6100_GitHub$
75+
```
76+
77+
2. Issue astyle command
78+
79+
```
80+
xy@xy-Inspiron-3593:~/Arduino/xy/AsyncDNSServer_ESP32_W6100_GitHub$ bash utils/restyle.sh
81+
```
82+

Images/W6100.png

116 KB
Loading

LICENSE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU GENERAL PUBLIC LICENSE
22
Version 3, 29 June 2007
33

4-
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
4+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
55
Everyone is permitted to copy and distribute verbatim copies
66
of this license document, but changing it is not allowed.
77

@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
645645
GNU General Public License for more details.
646646

647647
You should have received a copy of the GNU General Public License
648-
along with this program. If not, see <https://www.gnu.org/licenses/>.
648+
along with this program. If not, see <http://www.gnu.org/licenses/>.
649649

650650
Also add information on how to contact you by electronic and paper mail.
651651

@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
664664
You should also get your employer (if you work as a programmer) or school,
665665
if any, to sign a "copyright disclaimer" for the program, if necessary.
666666
For more information on this, and how to apply and follow the GNU GPL, see
667-
<https://www.gnu.org/licenses/>.
667+
<http://www.gnu.org/licenses/>.
668668

669669
The GNU General Public License does not permit incorporating your program
670670
into proprietary programs. If your program is a subroutine library, you
671671
may consider it more useful to permit linking proprietary applications with
672672
the library. If this is what you want to do, use the GNU Lesser General
673673
Public License instead of this License. But first, please read
674-
<https://www.gnu.org/licenses/why-not-lgpl.html>.
674+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
Server.h - Base class that provides Server
3+
Copyright (c) 2011 Adrian McEwen. All right reserved.
4+
5+
This library is free software; you can redistribute it and/or
6+
modify it under the terms of the GNU Lesser General Public
7+
License as published by the Free Software Foundation; either
8+
version 2.1 of the License, or (at your option) any later version.
9+
10+
This library is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13+
Lesser General Public License for more details.
14+
15+
You should have received a copy of the GNU Lesser General Public
16+
License along with this library; if not, write to the Free Software
17+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18+
*/
19+
20+
#ifndef server_h
21+
#define server_h
22+
23+
#include "Print.h"
24+
25+
class Server: public Print
26+
{
27+
public:
28+
// KH, change to fix compiler error for EthernetWebServer
29+
// error: cannot declare field 'EthernetWebServer::_server' to be of abstract type 'EthernetServer'
30+
// virtual void begin(uint16_t port=0) =0;
31+
//virtual void begin() = 0;
32+
void begin() {};
33+
};
34+
35+
#endif

changelog.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# AsyncDNSServer_ESP32_W6100 Library
2+
3+
[![arduino-library-badge](https://www.ardu-badge.com/badge/AsyncDNSServer_ESP32_W6100.svg?)](https://www.ardu-badge.com/AsyncDNSServer_ESP32_W6100)
4+
[![GitHub release](https://img.shields.io/github/release/khoih-prog/AsyncDNSServer_ESP32_W6100.svg)](https://github.com/khoih-prog/AsyncDNSServer_ESP32_W6100/releases)
5+
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing)
6+
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/AsyncDNSServer_ESP32_W6100.svg)](http://github.com/khoih-prog/AsyncDNSServer_ESP32_W6100/issues)
7+
8+
9+
<a href="https://www.buymeacoffee.com/khoihprog6" title="Donate to my libraries using BuyMeACoffee"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Donate to my libraries using BuyMeACoffee" style="height: 50px !important;width: 181px !important;" ></a>
10+
<a href="https://www.buymeacoffee.com/khoihprog6" title="Donate to my libraries using BuyMeACoffee"><img src="https://img.shields.io/badge/buy%20me%20a%20coffee-donate-orange.svg?logo=buy-me-a-coffee&logoColor=FFDD00" style="height: 20px !important;width: 200px !important;" ></a>
11+
12+
---
13+
---
14+
15+
## Table of Contents
16+
17+
* [Changelog](#changelog)
18+
* [Initial Releases v1.0.0](#initial-releases-v100)
19+
20+
---
21+
---
22+
23+
## Changelog
24+
25+
### Initial Releases v1.0.0
26+
27+
1. Initial coding to support **ESP32 boards using LwIP W6100 Ethernet**
28+

0 commit comments

Comments
 (0)