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

Commit 8afe6b8

Browse files
authored
v1.3.1 to fix typo in library.json
### Releases v1.3.1 1. Fix typo in `library.json` 2. Update `Packages' Patches`
1 parent 668509b commit 8afe6b8

19 files changed

+78
-37
lines changed

CONTRIBUTING.md

Lines changed: 7 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-
* `ArduinoCore-mbed` Core Version (e.g. `ArduinoCore-mbed` mbed_portenta core v2.6.1)
17+
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18+
* `ArduinoCore-mbed` Core Version (e.g. `ArduinoCore-mbed` mbed_portenta core v3.1.1)
1919
* `Portenta_H7` Board type (e.g. Portenta_H7 Rev2 ABX00042, etc.)
2020
* Contextual information (e.g. what you were trying to achieve)
2121
* Simplest possible steps to reproduce
@@ -27,11 +27,11 @@ Please ensure to specify the following:
2727
### Example
2828

2929
```
30-
Arduino IDE version: 1.8.16
31-
`ArduinoCore-mbed` mbed_portenta core v2.6.1
30+
Arduino IDE version: 1.8.19
31+
`ArduinoCore-mbed` mbed_portenta core v3.1.1
3232
Portenta_H7 Rev2 ABX00042
3333
OS: Ubuntu 20.04 LTS
34-
Linux xy-Inspiron-3593 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:31:28 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
34+
Linux xy-Inspiron-3593 5.13.0-41-generic #46~20.04.1-Ubuntu SMP Wed Apr 20 13:16:21 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
3535
3636
Context:
3737
I encountered a crash while using Ethernet Async_AdvancedWebServer.
@@ -52,3 +52,5 @@ There are usually some outstanding feature requests in the [existing issues list
5252
### Sending Pull Requests
5353

5454
Pull Requests with changes and fixes are also welcome!
55+
56+

README.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/Portenta_H7_AsyncTCP.svg)](http://github.com/khoih-prog/Portenta_H7_AsyncTCP/issues)
77

88

9-
<a href="https://www.buymeacoffee.com/khoihprog6" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 50px !important;width: 181px !important;" ></a>
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>
1011

1112
---
1213
---
@@ -90,7 +91,7 @@ to apply the better and faster **asynchronous** feature of the **powerful** [ESP
9091
## Prerequisites
9192

9293
1. [`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [![GitHub release](https://img.shields.io/github/release/arduino/Arduino.svg)](https://github.com/arduino/Arduino/releases/latest)
93-
2. [`ArduinoCore-mbed mbed_portenta core 2.7.2+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino **Portenta_H7** boards, such as **Portenta_H7 Rev2 ABX00042, etc.**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest)
94+
2. [`ArduinoCore-mbed mbed_portenta core 3.1.1+`](https://github.com/arduino/ArduinoCore-mbed) for Arduino **Portenta_H7** boards, such as **Portenta_H7 Rev2 ABX00042, etc.**. [![GitHub release](https://img.shields.io/github/release/arduino/ArduinoCore-mbed.svg)](https://github.com/arduino/ArduinoCore-mbed/releases/latest)
9495

9596
---
9697
---
@@ -115,7 +116,7 @@ Another way to install is to:
115116

116117
1. Install [VS Code](https://code.visualstudio.com/)
117118
2. Install [PlatformIO](https://platformio.org/platformio-ide)
118-
3. Install [**Portenta_H7_AsyncTCP** library](https://platformio.org/lib/show/12919/Portenta_H7_AsyncTCP) by using [Library Manager](https://platformio.org/lib/show/12919/Portenta_H7_AsyncTCP/installation). Search for **Portenta_H7_AsyncTCP** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
119+
3. Install [**Portenta_H7_AsyncTCP** library](https://registry.platformio.org/libraries/khoih-prog/Portenta_H7_AsyncTCP) by using [Library Manager](https://registry.platformio.org/libraries/khoih-prog/Portenta_H7_AsyncTCP/installation). Search for **Portenta_H7_AsyncTCP** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
119120
4. Use included [platformio.ini](platformio/platformio.ini) file from examples to ensure that all dependent libraries will installed automatically. Please visit documentation for the other options and examples at [Project Configuration File](https://docs.platformio.org/page/projectconf.html)
120121

121122
---
@@ -125,12 +126,12 @@ Another way to install is to:
125126

126127
#### 1. For Portenta_H7 boards using Arduino IDE in Linux
127128

128-
**To be able to upload firmware to Portenta_H7 using Arduino IDE in Linux (Ubuntu, etc.)**, you have to copy the file [portenta_post_install.sh](Packages_Patches/arduino/hardware/mbed_portenta/2.6.1/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1/portenta_post_install.sh).
129+
**To be able to upload firmware to Portenta_H7 using Arduino IDE in Linux (Ubuntu, etc.)**, you have to copy the file [portenta_post_install.sh](Packages_Patches/arduino/hardware/mbed_portenta/3.1.1/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1/portenta_post_install.sh).
129130

130131
Then run the following command using `sudo`
131132

132133
```
133-
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1
134+
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1
134135
$ chmod 755 portenta_post_install.sh
135136
$ sudo ./portenta_post_install.sh
136137
```
@@ -143,9 +144,9 @@ This will create the file `/etc/udev/rules.d/49-portenta_h7.rules` as follows:
143144
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="035b", GROUP="plugdev", MODE="0666"
144145
```
145146

146-
Supposing the ArduinoCore-mbed core version is 2.6.1. Now only one file must be copied into the directory:
147+
Supposing the ArduinoCore-mbed core version is 3.1.1. Now only one file must be copied into the directory:
147148

148-
- `~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1/portenta_post_install.sh`
149+
- `~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1/portenta_post_install.sh`
149150

150151
Whenever a new version is installed, remember to copy this files into the new version directory. For example, new version is x.yy.zz
151152

@@ -157,7 +158,7 @@ This file must be copied into the directory:
157158
#### 2. To fix compile error relating to dns_gethostbyname and LwIP stack
158159

159160

160-
#### Notes: Only for cores v2.5.2-. This fix is not necessary for core v2.6.1+
161+
#### Notes: Only for cores v2.5.2-. This fix is not necessary for core v3.1.1+
161162

162163
**To be able to compile, run on Portenta_H7 boards**, you have to copy the whole [mbed_portenta Packages_Patches](Packages_Patches/arduino/hardware/mbed_portenta/2.5.2) directory into Arduino mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/2.5.2).
163164

@@ -210,8 +211,8 @@ Following is the debug terminal and screen shot when running example [Async_Adva
210211

211212
```
212213
Start Async_AdvancedWebServer on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
213-
Portenta_H7_AsyncTCP v1.3.0
214-
Portenta_H7_AsyncWebServer v1.2.0
214+
Portenta_H7_AsyncTCP v1.3.1
215+
Portenta_H7_AsyncWebServer v1.2.1
215216
Using mac index = 4
216217
Connected! IP address: 192.168.2.87
217218
HTTP EthernetWebServer is @ IP : 192.168.2.87
@@ -233,8 +234,8 @@ Following is the debug terminal and screen shot when running example [Async_Adva
233234

234235
```
235236
Start Async_AdvancedWebServer on PORTENTA_H7_M7 with Portenta_H7 WiFi
236-
Portenta_H7_AsyncTCP v1.3.0
237-
Portenta_H7_AsyncWebServer v1.2.0
237+
Portenta_H7_AsyncTCP v1.3.1
238+
Portenta_H7_AsyncWebServer v1.2.1
238239
Connecting to SSID: HueNet1
239240
SSID: HueNet1
240241
Local IP Address: 192.168.2.94
@@ -258,8 +259,8 @@ Following is the debug terminal when running example [AsyncHTTPRequest](https://
258259

259260
```
260261
Start AsyncHTTPRequest on PORTENTA_H7_M7
261-
Portenta_H7_AsyncTCP v1.3.0
262-
Portenta_H7_AsyncHTTPRequest v1.0.0
262+
Portenta_H7_AsyncTCP v1.3.1
263+
Portenta_H7_AsyncHTTPRequest v1.2.0
263264
Connecting to SSID: HueNet1
264265
SSID: HueNet1
265266
Local IP Address: 192.168.2.94
@@ -293,8 +294,8 @@ Following is the debug terminal when running example [AsyncHTTPRequest](https://
293294

294295
```
295296
Start AsyncHTTPRequest on PORTENTA_H7_M7
296-
Portenta_H7_AsyncTCP v1.3.0
297-
Portenta_H7_AsyncHTTPRequest v1.0.0
297+
Portenta_H7_AsyncTCP v1.3.1
298+
Portenta_H7_AsyncHTTPRequest v1.2.0
298299
Using mac index = 6
299300
Connected! IP address: 192.168.2.87
300301
Request sent
@@ -388,6 +389,8 @@ Submit issues to: [Portenta_H7_AsyncTCP issues](https://github.com/khoih-prog/Po
388389

389390
Many thanks for everyone for bug reporting, new feature suggesting, testing and contributing to the development of this library.
390391

392+
---
393+
391394
### Contributions and Thanks
392395

393396
1. Based on and modified from [Hristo Gochkov's ESPAsyncTCP](https://github.com/me-no-dev/ESPAsyncTCP). Many thanks to [Hristo Gochkov](https://github.com/me-no-dev) for great [ESPAsyncTCP Library](https://github.com/me-no-dev/ESPAsyncTCP)

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
## Table of Contents
1212

1313
* [Changelog](#changelog)
14+
* [Releases v1.3.1](#Releases-v131)
1415
* [Releases v1.3.0](#Releases-v130)
1516
* [Releases v1.2.0](#Releases-v120)
1617
* [Releases v1.1.0](#Releases-v110)
@@ -21,6 +22,11 @@
2122

2223
## Changelog
2324

25+
### Releases v1.3.1
26+
27+
1. Fix typo in `library.json`
28+
2. Update `Packages' Patches`
29+
2430
### Releases v1.3.0
2531

2632
1. Fix compile error issue in mbed_portenta v2.6.1+

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Portenta_H7_AsyncTCP",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"keywords": "http, communication, async, websocket, webserver, async-webserver, async-tcp, async-udp, async-websocket, async-http, ssl, tls, mbed, mbed-portenta, portenta-h7, portentah7, portenta-h7-m7, portenta-h7-m4, portentah7-m7, portentah7-m4, stm32h7",
55
"description": "Asynchronous TCP Library for STM32H7-based Portenta_H7 using mbed_portenta core. This library is the base for future and more advanced Async libraries, such as AsyncWebServer, AsyncHTTPRequest, AsyncHTTPSRequest",
66
"authors":

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Portenta_H7_AsyncTCP
2-
version=1.3.0
2+
version=1.3.1
33
author=Hristo Gochkov,Khoi Hoang
44
maintainer=Khoi Hoang <khoih.prog@gmail.com>
55
sentence=Asynchronous TCP Library for STM32H7-based Portenta_H7 using mbed_portenta core

platformio/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ upload_speed = 921600
3939

4040
; Checks for the compatibility with frameworks and dev/platforms
4141
lib_compat_mode = strict
42+
lib_ldf_mode = chain+
43+
;lib_ldf_mode = deep+
4244

4345
lib_deps =
4446

src/AsyncPrinter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1515
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
Version: 1.3.0
17+
Version: 1.3.1
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
2121
1.0.0 K Hoang 06/10/2021 Initial coding for Portenta_H7 (STM32H7) with Vision-Shield Ethernet
2222
1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi
2323
1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2
2424
1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+
25+
1.3.1 K Hoang 23/05/2022 Fix typo in `library.json`
2526
*****************************************************************************************************************************/
2627
/*
2728
Asynchronous TCP library for Espressif MCUs

src/AsyncPrinter.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1515
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
Version: 1.3.0
17+
Version: 1.3.1
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
2121
1.0.0 K Hoang 06/10/2021 Initial coding for Portenta_H7 (STM32H7) with Vision-Shield Ethernet
2222
1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi
2323
1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2
2424
1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+
25+
1.3.1 K Hoang 23/05/2022 Fix typo in `library.json`
2526
*****************************************************************************************************************************/
2627
/*
2728
Asynchronous TCP library for Espressif MCUs

src/DebugPrintMacros.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1515
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
Version: 1.3.0
17+
Version: 1.3.1
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
2121
1.0.0 K Hoang 06/10/2021 Initial coding for Portenta_H7 (STM32H7) with Vision-Shield Ethernet
2222
1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi
2323
1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2
2424
1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+
25+
1.3.1 K Hoang 23/05/2022 Fix typo in `library.json`
2526
*****************************************************************************************************************************/
2627

2728
#ifndef _DEBUG_PRINT_MACROS_H

src/Portenta_H7_AsyncTCP.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1515
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1616
17-
Version: 1.3.0
17+
Version: 1.3.1
1818
1919
Version Modified By Date Comments
2020
------- ----------- ---------- -----------
2121
1.0.0 K Hoang 06/10/2021 Initial coding for Portenta_H7 (STM32H7) with Vision-Shield Ethernet
2222
1.1.0 K Hoang 08/10/2021 Add support to Portenta_H7 (STM32H7) using Murata WiFi
2323
1.2.0 K Hoang 15/10/2021 Workaround for issue with dns_gethostbyname not-working issue in mbed_portenta v2.5.2
2424
1.3.0 K Hoang 06/12/2021 Fix compile error issue in mbed_portenta v2.6.1+
25+
1.3.1 K Hoang 23/05/2022 Fix typo in `library.json`
2526
*****************************************************************************************************************************/
2627

2728
/*

0 commit comments

Comments
 (0)