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 Feb 4, 2023. It is now read-only.
1. Not try to reconnect to the same host:port after connected. Check [setReuse feature #12](khoih-prog/AsyncHTTPSRequest_Generic#12)
2. Update `Packages' Patches`
Copy file name to clipboardExpand all lines: README.md
+59-59Lines changed: 59 additions & 59 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,8 +130,8 @@ This library is based on, modified from:
130
130
## Prerequisites
131
131
132
132
1.[`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [](https://github.com/arduino/Arduino/releases/latest)
133
-
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)
134
-
3.[`Portenta_H7_AsyncTCP library v1.3.2+`](https://github.com/khoih-prog/Portenta_H7_AsyncTCP) for Portenta_H7 using `Vision-shield Ethernet` or `Murata WiFi`. To install. check [](https://www.ardu-badge.com/Portenta_H7_AsyncTCP)
133
+
2.[`ArduinoCore-mbed mbed_portenta core 3.3.0+`](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)
134
+
3.[`Portenta_H7_AsyncTCP library v1.4.0+`](https://github.com/khoih-prog/Portenta_H7_AsyncTCP) for Portenta_H7 using `Vision-shield Ethernet` or `Murata WiFi`. To install. check [](https://www.ardu-badge.com/Portenta_H7_AsyncTCP)
135
135
136
136
---
137
137
---
@@ -152,7 +152,7 @@ The best and easiest way is to use `Arduino Library Manager`. Search for `Porten
3. Install [**Portenta_H7_AsyncHTTPRequest** library](https://platformio.org/lib/show/12945/Portenta_H7_AsyncHTTPRequest) by using [Library Manager](https://platformio.org/lib/show/12945/Portenta_H7_AsyncHTTPRequest/installation). Search for Portenta_H7_AsyncHTTPRequest in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
155
+
3. Install [**Portenta_H7_AsyncHTTPRequest** library](https://registry.platformio.org/libraries/khoih-prog/Portenta_H7_AsyncHTTPRequest) by using [Library Manager](https://registry.platformio.org/libraries/khoih-prog/Portenta_H7_AsyncHTTPRequest/installation). Search for Portenta_H7_AsyncHTTPRequest in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
156
156
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)
157
157
158
158
---
@@ -162,12 +162,12 @@ The best and easiest way is to use `Arduino Library Manager`. Search for `Porten
162
162
163
163
#### 1. For Portenta_H7 boards using Arduino IDE in Linux
164
164
165
-
**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).
165
+
**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.3.0/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/3.3.0/portenta_post_install.sh).
166
166
167
167
Then run the following command using `sudo`
168
168
169
169
```
170
-
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1
170
+
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/3.3.0
171
171
$ chmod 755 portenta_post_install.sh
172
172
$ sudo ./portenta_post_install.sh
173
173
```
@@ -180,9 +180,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
188
188
@@ -192,13 +192,13 @@ This file must be copied into the directory:
192
192
193
193
#### 2. To fix compile error relating to dns_gethostbyname and LwIP stack
194
194
195
-
**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/3.1.1) directory into Arduino mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/3.1.1).
195
+
**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/3.3.0) directory into Arduino mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/3.3.0).
196
196
197
-
Supposing the Arduino mbed_portenta version is 3.1.1. These file must be copied into the directory:
197
+
Supposing the Arduino mbed_portenta version is 3.3.0. These file must be copied into the directory:
in many files. But be sure to use the following `.h` file **in just 1 `.h`, `.cpp` or `.ino` file**, which must **not be included in any other file**, to avoid `Multiple Definitions` Linker Error
218
218
219
-
```
219
+
```cpp
220
220
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
0 commit comments