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.
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+25-6
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
14
14
15
15
Please ensure to specify the following:
16
16
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.5.2)
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.4.1)
19
19
*`Portenta_H7` Board type (e.g. Portenta_H7 Rev2 ABX00042, etc.)
20
20
* Contextual information (e.g. what you were trying to achieve)
21
21
* Simplest possible steps to reproduce
@@ -27,14 +27,14 @@ Please ensure to specify the following:
27
27
### Example
28
28
29
29
```
30
-
Arduino IDE version: 1.8.16
31
-
`ArduinoCore-mbed` mbed_portenta core v2.5.2
30
+
Arduino IDE version: 1.8.19
31
+
`ArduinoCore-mbed` mbed_portenta core v3.4.1
32
32
Portenta_H7 Rev2 ABX00042
33
33
OS: Ubuntu 20.04 LTS
34
-
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
34
+
Linux xy-Inspiron-3593 5.15.0-53-generic #59~20.04.1-Ubuntu SMP Thu Oct 20 15:10:22 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
35
35
36
36
Context:
37
-
I encountered a crash while using TimerInterrupt.
37
+
I encountered a crash while using this library
38
38
39
39
Steps to reproduce:
40
40
1. ...
@@ -43,13 +43,32 @@ Steps to reproduce:
43
43
4. ...
44
44
```
45
45
46
+
---
46
47
47
48
### Sending Feature Requests
48
49
49
50
Feel free to post feature requests. It's helpful if you can explain exactly why the feature would be useful.
50
51
51
52
There are usually some outstanding feature requests in the [existing issues list](https://github.com/khoih-prog/Ethernet_Manager_Portenta_H7/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement), feel free to add comments to them.
52
53
54
+
---
55
+
53
56
### Sending Pull Requests
54
57
55
58
Pull Requests with changes and fixes are also welcome!
59
+
60
+
Please use the `astyle` to reformat the updated library code as follows (demo for Ubuntu Linux)
61
+
62
+
1. Change directory to the library GitHub
63
+
64
+
```
65
+
xy@xy-Inspiron-3593:~$ cd Arduino/xy/Ethernet_Manager_Portenta_H7_GitHub/
<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: 60px!important;width: 217px!important;" ></a>
9
+
10
+
<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>
11
+
<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>
The LittleFS of the new **Portenta_H7** board currently tested OK with only **maximum 8 files**. The files, from 9 and up, somehow strangely can't be written and / or read. This is possibly a bug in the [`ArduinoCore-mbed mbed_portenta core`](https://github.com/arduino/ArduinoCore-mbed). The same behaviour is observed from core v2.0.0 up to v2.5.2.
76
+
The LittleFS of the new **Portenta_H7** board currently tested OK with only **maximum 8 files**. The files, from 9 and up, somehow strangely can't be written and / or read. This is possibly a bug in the [`ArduinoCore-mbed mbed_portenta core`](https://github.com/arduino/ArduinoCore-mbed). The same behaviour is observed from core v2.0.0 up to v3.4.1.
73
77
74
78
If LittleFS size is reduced to 1024KB, test is OK with only **maximum 4 files**.
75
79
@@ -112,7 +116,7 @@ This [**Ethernet_Manager_Portenta_H7** library](https://github.com/khoih-prog/Et
112
116
1. Portenta_H7 using Ethernet from [Portenta Vision shields](https://store-usa.arduino.cc/products/arduino-portenta-vision-shield-ethernet)
@@ -122,11 +126,11 @@ This [**Ethernet_Manager_Portenta_H7** library](https://github.com/khoih-prog/Et
122
126
## Prerequisites
123
127
124
128
1.[`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [](https://github.com/arduino/Arduino/releases/latest)
125
-
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)
129
+
2.[`ArduinoCore-mbed mbed_portenta core 3.4.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)
126
130
3.[`Functional-Vlpp library v1.0.2+`](https://github.com/khoih-prog/functional-vlpp) to use server's lambda function. To install. check [](https://www.ardu-badge.com/Functional-Vlpp)
127
-
4.[`EthernetWebServer library v2.0.0+`](https://github.com/khoih-prog/EthernetWebServer). To install. check [](https://www.ardu-badge.com/EthernetWebServer)
128
-
5.[`DoubleResetDetector_Generic v1.8.0+`](https://github.com/khoih-prog/DoubleResetDetector_Generic). To install, check [](https://www.ardu-badge.com/DoubleResetDetector_Generic)
129
-
6.[`LittleFS_Portenta_H7 v1.1.0+`](https://github.com/khoih-prog/LittleFS_Portenta_H7). To install, check [](https://www.ardu-badge.com/LittleFS_Portenta_H7)
131
+
4.[`EthernetWebServer library v2.3.0+`](https://github.com/khoih-prog/EthernetWebServer). To install. check [](https://www.ardu-badge.com/EthernetWebServer)
132
+
5.[`DoubleResetDetector_Generic v1.8.1+`](https://github.com/khoih-prog/DoubleResetDetector_Generic). To install, check [](https://www.ardu-badge.com/DoubleResetDetector_Generic)
133
+
6.[`LittleFS_Portenta_H7 v1.2.0+`](https://github.com/khoih-prog/LittleFS_Portenta_H7). To install, check [](https://www.ardu-badge.com/LittleFS_Portenta_H7)
130
134
131
135
---
132
136
---
@@ -150,7 +154,7 @@ The best way is to use `Arduino Library Manager`. Search for `Ethernet_Manager_P
3. Install [**Ethernet_Manager_Portenta_H7** library](https://platformio.org/lib/show/12827/Ethernet_Manager_Portenta_H7) by using [Library Manager](https://platformio.org/lib/show/12827/Ethernet_Manager_Portenta_H7/installation). Search for Ethernet_Manager_Portenta_H7 in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
157
+
3. Install [**Ethernet_Manager_Portenta_H7** library](https://registry.platformio.org/libraries/khoih-prog/Ethernet_Manager_Portenta_H7) by using [Library Manager](https://registry.platformio.org/libraries/khoih-prog/Ethernet_Manager_Portenta_H7/installation). Search for Ethernet_Manager_Portenta_H7 in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
154
158
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)
155
159
156
160
@@ -161,12 +165,12 @@ The best way is to use `Arduino Library Manager`. Search for `Ethernet_Manager_P
161
165
162
166
#### 1. For Portenta_H7 boards using Arduino IDE in Linux
163
167
164
-
**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).
168
+
**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.4.1/portenta_post_install.sh) into mbed_portenta directory (~/.arduino15/packages/arduino/hardware/mbed_portenta/3.4.1/portenta_post_install.sh).
165
169
166
170
Then run the following command using `sudo`
167
171
168
172
```
169
-
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/2.5.2
173
+
$ cd ~/.arduino15/packages/arduino/hardware/mbed_portenta/3.4.1
170
174
$ chmod 755 portenta_post_install.sh
171
175
$ sudo ./portenta_post_install.sh
172
176
```
@@ -179,9 +183,9 @@ This will create the file `/etc/udev/rules.d/49-portenta_h7.rules` as follows:
Enter your credentials (Blynk Servers/Tokens and Port). If you prefer static IP, input it (for example `192.168.2.222`) in the corresponding field. Otherwise, just leave it `blank` or `nothing` to use auto IP assigned by DHCP server.
<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>
11
+
<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>
0 commit comments