You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 29, 2023. It is now read-only.
<ahref="https://www.buymeacoffee.com/khoihprog6"target="_blank"><imgsrc="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png"alt="Buy Me A Coffee"style="height: 50px!important;width: 181px!important;" ></a>
9
+
<ahref="https://www.buymeacoffee.com/khoihprog6"title="Donate to my libraries using BuyMeACoffee"><imgsrc="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
+
<ahref="https://www.buymeacoffee.com/khoihprog6"title="Donate to my libraries using BuyMeACoffee"><imgsrc="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>
10
11
11
12
---
12
13
---
@@ -90,7 +91,7 @@ to apply the better and faster **asynchronous** feature of the **powerful** [ESP
90
91
## Prerequisites
91
92
92
93
1.[`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [](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.**. [](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.**. [](https://github.com/arduino/ArduinoCore-mbed/releases/latest)
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)
119
120
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)
120
121
121
122
---
@@ -125,12 +126,12 @@ Another way to install is to:
125
126
126
127
#### 1. For Portenta_H7 boards using Arduino IDE in Linux
127
128
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).
129
130
130
131
Then run the following command using `sudo`
131
132
132
133
```
133
-
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1
134
+
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1
134
135
$ chmod 755 portenta_post_install.sh
135
136
$ sudo ./portenta_post_install.sh
136
137
```
@@ -143,9 +144,9 @@ This will create the file `/etc/udev/rules.d/49-portenta_h7.rules` as follows:
Whenever a new version is installed, remember to copy this files into the new version directory. For example, new version is x.yy.zz
151
152
@@ -157,7 +158,7 @@ This file must be copied into the directory:
157
158
#### 2. To fix compile error relating to dns_gethostbyname and LwIP stack
158
159
159
160
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+
161
162
162
163
**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).
163
164
@@ -210,8 +211,8 @@ Following is the debug terminal and screen shot when running example [Async_Adva
210
211
211
212
```
212
213
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
215
216
Using mac index = 4
216
217
Connected! IP address: 192.168.2.87
217
218
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
233
234
234
235
```
235
236
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
238
239
Connecting to SSID: HueNet1
239
240
SSID: HueNet1
240
241
Local IP Address: 192.168.2.94
@@ -258,8 +259,8 @@ Following is the debug terminal when running example [AsyncHTTPRequest](https://
258
259
259
260
```
260
261
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
263
264
Connecting to SSID: HueNet1
264
265
SSID: HueNet1
265
266
Local IP Address: 192.168.2.94
@@ -293,8 +294,8 @@ Following is the debug terminal when running example [AsyncHTTPRequest](https://
293
294
294
295
```
295
296
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
298
299
Using mac index = 6
299
300
Connected! IP address: 192.168.2.87
300
301
Request sent
@@ -388,6 +389,8 @@ Submit issues to: [Portenta_H7_AsyncTCP issues](https://github.com/khoih-prog/Po
388
389
389
390
Many thanks for everyone for bug reporting, new feature suggesting, testing and contributing to the development of this library.
390
391
392
+
---
393
+
391
394
### Contributions and Thanks
392
395
393
396
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)
"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",
0 commit comments