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.
### Releases v1.2.0
1. Reduce the breaking effect of v1.5.0 by enabling compatibility with old code to include only `Portenta_H7_AsyncHTTPRequest.h`
2. Add example [multiFileProject](examples/multiFileProject) to demo for multiple-file project
3. Update `Packages' Patches`
@@ -139,7 +126,7 @@ This library is based on, modified from:
139
126
140
127
## Prerequisites
141
128
142
-
1.[`Arduino IDE 1.8.19+` for Arduino](https://www.arduino.cc/en/Main/Software)
129
+
1.[`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [](https://github.com/arduino/Arduino/releases/latest)
143
130
2.[`ArduinoCore-mbed mbed_portenta core 2.6.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)
144
131
3.[`Portenta_H7_AsyncTCP library v1.3.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)
145
132
@@ -172,12 +159,12 @@ The best and easiest way is to use `Arduino Library Manager`. Search for `Porten
172
159
173
160
#### 1. For Portenta_H7 boards using Arduino IDE in Linux
174
161
175
-
**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.5.2/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/2.5.2/portenta_post_install.sh).
162
+
**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).
176
163
177
164
Then run the following command using `sudo`
178
165
179
166
```
180
-
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/2.5.2
167
+
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1
181
168
$ chmod 755 portenta_post_install.sh
182
169
$ sudo ./portenta_post_install.sh
183
170
```
@@ -190,9 +177,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
198
185
@@ -202,13 +189,13 @@ This file must be copied into the directory:
202
189
203
190
#### 2. To fix compile error relating to dns_gethostbyname and LwIP stack
204
191
205
-
**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).
192
+
**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.6.1) directory into Arduino mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/2.6.1).
206
193
207
-
Supposing the Arduino mbed_portenta version is 2.5.2. These file must be copied into the directory:
194
+
Supposing the Arduino mbed_portenta version is 2.6.1. These file must be copied into the directory:
@@ -217,19 +204,22 @@ Supposing the Arduino mbed_portenta version is 2.5.2. These file must be copied
217
204
218
205
The current library implementation, using `xyz-Impl.h` instead of standard `xyz.cpp`, possibly creates certain `Multiple Definitions` Linker error in certain use cases.
in many files. But be sure to use the following `#include <Portenta_H7_AsyncHTTPRequest_Impl.h>`**in just 1 `.h`, `.cpp` or `.ino` file**, which must **not be included in any other file**, to avoid `Multiple Definitions` Linker Error
214
+
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
227
215
228
216
```
229
217
// To be included only in main(), .ino with setup() to avoid `Multiple Definitions` Linker Error
Check the new [**multiFileProject** example](examples/multiFileProject) for a `HOWTO` demo.
222
+
233
223
Have a look at the discussion in [Different behaviour using the src_cpp or src_h lib #80](https://github.com/khoih-prog/ESPAsync_WiFiManager/discussions/80)
234
224
235
225
@@ -256,7 +246,11 @@ Have a look at the discussion in [Different behaviour using the src_cpp or src_h
1. Reduce the breaking effect of v1.5.0 by enabling compatibility with old code to include only `Portenta_H7_AsyncHTTPRequest.h`
26
+
2. Add example [multiFileProject](examples/multiFileProject) to demo for multiple-file project
27
+
3. Update `Packages' Patches`
28
+
22
29
### Releases v1.1.0
23
30
24
31
1. Fix `multiple-definitions` linker error and weird bug related to `src_cpp`. Check [Different behaviour using the src_cpp or src_h lib #80](https://github.com/khoih-prog/ESPAsync_WiFiManager/discussions/80)
0 commit comments