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.4.0
1. Support using `CString` in optional `SDRAM` to save heap to send `very large data`. Check [request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](#8)
2. Add multiple examples to demo the new feature
Copy file name to clipboardExpand all lines: README.md
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
## Table of contents
16
16
17
17
*[Table of contents](#table-of-contents)
18
-
*[Important Note from v1.4.0](#Important-Note-from-140)
18
+
*[Important Note from v1.4.0](#Important-Note-from-v140)
19
19
*[Why do we need this Portenta_H7_AsyncWebServer library](#why-do-we-need-this-Portenta_H7_AsyncWebServer-library)
20
20
*[Features](#features)
21
21
*[Why Async is better](#why-async-is-better)
@@ -114,6 +114,7 @@
114
114
*[5. Async_HTTPBasicAuth on PORTENTA_H7_M7 using Ethernet](#5-Async_HTTPBasicAuth-on-PORTENTA_H7_M7-using-Ethernet)
115
115
*[6. Async_AdvancedWebServer on PORTENTA_H7_M7 using Ethernet](#6-Async_AdvancedWebServer-on-PORTENTA_H7_M7-using-Ethernet)
116
116
*[7. Async_AdvancedWebServer on PORTENTA_H7_M7 using WiFi](#7-Async_AdvancedWebServer-on-PORTENTA_H7_M7-using-WiFi)
117
+
*[8. Async_AdvancedWebServer_MemoryIssues_Send_CString on PORTENTA_H7_M7 using Ethernet](#7-Async_AdvancedWebServer_MemoryIssues_Send_CString-on-PORTENTA_H7_M7-using-Ethernet)
117
118
*[Debug](#debug)
118
119
*[Troubleshooting](#troubleshooting)
119
120
*[Issues](#issues)
@@ -131,7 +132,7 @@
131
132
132
133
The new `v1.4.0` has added a new and powerful feature to permit using `CString` in optional `SDRAM` to save heap to send `very large data`.
133
134
134
-
Check `marvelleous` PR of **@salasidis**[request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8) and these new examples
135
+
Check the `marvelleous` PR of **@salasidis**[request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8) and these new examples
135
136
136
137
1.[Async_AdvancedWebServer_MemoryIssues_Send_CString for Ethernet](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/tree/main/examples/Ethernet/Async_AdvancedWebServer_MemoryIssues_Send_CString)
137
138
2.[Async_AdvancedWebServer_MemoryIssues_SendArduinoString for Ethernet](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/tree/main/examples/Ethernet/Async_AdvancedWebServer_MemoryIssues_SendArduinoString)
@@ -1785,7 +1786,7 @@ You can access the Async Advanced WebServers at the displayed server IP, e.g. `1
1785
1786
Following is the debug terminal and screen shot when running example [Async_AdvancedWebServer_MemoryIssues_Send_CString](examples/Ethernet/Async_AdvancedWebServer_MemoryIssues_Send_CString) on Portenta_H7 Ethernet to demonstrate the new and powerful `HEAP-saving` feature
1786
1787
1787
1788
1788
-
##### Using SDRAM
1789
+
##### Using SDRAM => not using HEAP (14,314 bytes)
1789
1790
1790
1791
```
1791
1792
Start Async_AdvancedWebServer_MemoryIssues_Send_CString using SDRAM on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
@@ -1816,7 +1817,7 @@ Out String Length=31224
1816
1817
Out String Length=31235
1817
1818
```
1818
1819
1819
-
##### Not using SDRAM ===> small heap (51823)
1820
+
##### Not using SDRAM ===> small heap (51,823 bytes)
1820
1821
1821
1822
```
1822
1823
Start Async_AdvancedWebServer_MemoryIssues_Send_CString on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
@@ -1840,7 +1841,7 @@ Out String Length=31291
1840
1841
While using Arduino String, the HEAP usage is very large
1841
1842
1842
1843
1843
-
#### Async_AdvancedWebServer_MemoryIssues_SendArduinoString ===> very large heap (111387)
1844
+
#### Async_AdvancedWebServer_MemoryIssues_SendArduinoString ===> very large heap (111,387 bytes)
1844
1845
1845
1846
```
1846
1847
Start Async_AdvancedWebServer_MemoryIssues_SendArduinoString on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
@@ -1877,7 +1878,7 @@ HEAP DATA - Post Send Cur heap: 79054 Res Size: 452016 Max heap: 111437
1877
1878
Out String Length=31280
1878
1879
. ......
1879
1880
```
1880
-
```
1881
+
1881
1882
1882
1883
You can access the Async Advanced WebServers at the displayed server IP, e.g. `192.168.2.123`
0 commit comments