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

Commit 729f96a

Browse files
authored
v1.4.0 to fix multiple-definitions linker error
### Releases v1.4.0 1. Fix `multiple-definitions` linker error. 2. Add example [multiFileProject](examples/Ethernet/multiFileProject)and [WiFiMultiFileProject](examples/WiFi/WiFiMultiFileProject)to demo for multiple-file project. 3. Fix bug 4. Update `Packages' Patches`
1 parent 930236a commit 729f96a

33 files changed

+1385
-268
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1414

1515
Please ensure to specify the following:
1616

17-
* Arduino IDE version (e.g. 1.8.16) or Platform.io version
18-
* `SAMD` Core Version (e.g. Arduino SAMD core v1.8.11, Adafruit SAMD core v1.7.5, Seeed Studio SAMD v1.8.2)
17+
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18+
* `SAMD` Core Version (e.g. Arduino SAMD core v1.8.12, Adafruit SAMD core v1.7.7, Seeed Studio SAMD v1.8.2)
1919
* Contextual information (e.g. what you were trying to achieve)
2020
* Simplest possible steps to reproduce
2121
* Anything that might be relevant in your opinion, such as:
@@ -26,10 +26,10 @@ Please ensure to specify the following:
2626
### Example
2727

2828
```
29-
Arduino IDE version: 1.8.16
30-
Arduino SAMD Core Version 1.8.11
29+
Arduino IDE version: 1.8.19
30+
Arduino SAMD Core Version 1.8.12
3131
OS: Ubuntu 20.04 LTS
32-
Linux xy-Inspiron-3593 5.4.0-86-generic #97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
32+
Linux xy-Inspiron-3593 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3333
3434
Context:
3535
The board couldn't autoreconnect to Local Blynk Server after router power recycling.

README.md

Lines changed: 110 additions & 65 deletions
Large diffs are not rendered by default.

changelog.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/khoih-prog/MDNS_Generic/blob/master/LICENSE)
66
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing)
77
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/MDNS_Generic.svg)](http://github.com/khoih-prog/MDNS_Generic/issues)
8-
[![star this repo](https://githubbadges.com/star.svg?user=khoih-prog&repo=MDNS_Generic)](https://github.com/khoih-prog/MDNS_Generic)
8+
99

1010
---
1111
---
1212

1313
## Table of Contents
1414

1515
* [Changelog](#changelog)
16+
* [Releases v1.4.0](#releases-v140)
1617
* [Releases v1.3.1](#releases-v131)
1718
* [Releases v1.3.0](#releases-v130)
1819
* [Releases v1.3.0-beta1](#releases-v130-beta1)
@@ -27,6 +28,13 @@
2728

2829
## Changelog
2930

31+
### Releases v1.4.0
32+
33+
1. Fix `multiple-definitions` linker error.
34+
2. Add example [multiFileProject](examples/Ethernet/multiFileProject)and [WiFiMultiFileProject](examples/WiFi/WiFiMultiFileProject)to demo for multiple-file project.
35+
3. Fix bug
36+
4. Update `Packages' Patches`
37+
3038
### Releases v1.3.1
3139

3240
1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix

examples/Ethernet/DiscoveringServices/DiscoveringServices.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
#include "defines.h"
2828

29+
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
2930
#include <MDNS_Generic.h>
3031

3132
EthernetUDP udp;

examples/Ethernet/RegisteringServices/RegisteringServices.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
#include "defines.h"
2727

28+
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
2829
#include <MDNS_Generic.h>
2930

3031
EthernetUDP udp;

examples/Ethernet/RegisteringServicesWithTxtRecord/RegisteringServicesWithTxtRecord.ino

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

2525
#include "defines.h"
2626

27+
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
2728
#include <MDNS_Generic.h>
2829

2930
EthernetUDP udp;

examples/Ethernet/ResolvingHostNames/ResolvingHostNames.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
#include "defines.h"
2727

28+
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
2829
#include <MDNS_Generic.h>
2930

3031
EthernetUDP udp;

0 commit comments

Comments
 (0)