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.
Copy file name to clipboardExpand all lines: README.md
+26-20Lines changed: 26 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -130,9 +130,13 @@
130
130
131
131
### Important Note from v1.4.0
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
+
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`.
134
134
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
+
Check the `marvelleous` PRs of **@salasidis**
136
+
-[request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8)
137
+
-[All memmove() removed - string no longer destroyed #11](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/11)
138
+
139
+
and these new examples
136
140
137
141
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)
138
142
2.[Async_AdvancedWebServer_MemoryIssues_SendArduinoString for Ethernet](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/tree/main/examples/Ethernet/Async_AdvancedWebServer_MemoryIssues_SendArduinoString)
@@ -1574,7 +1578,7 @@ Following is debug terminal output when running example [MQTT_ThingStream](examp
1574
1578
```
1575
1579
Start MQTT_ThingStream on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
1576
1580
Portenta_H7_AsyncTCP v1.4.0
1577
-
Portenta_H7_AsyncWebServer v1.4.0
1581
+
Portenta_H7_AsyncWebServer v1.4.1
1578
1582
Using mac index = 17
1579
1583
Connected! IP address: 192.168.2.87
1580
1584
***************************************
@@ -1599,7 +1603,7 @@ Following is debug terminal output when running example [WebClient](examples/Eth
1599
1603
```
1600
1604
Start WebClientRepeating on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
1601
1605
Portenta_H7_AsyncTCP v1.4.0
1602
-
Portenta_H7_AsyncWebServer v1.4.0
1606
+
Portenta_H7_AsyncWebServer v1.4.1
1603
1607
Using mac index = 16
1604
1608
Connected! IP address: 192.168.2.87
1605
1609
@@ -1667,7 +1671,7 @@ Following is debug terminal output when running example [MQTTClient_Auth](exampl
1667
1671
```
1668
1672
Start MQTTClient_Auth on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
1669
1673
Portenta_H7_AsyncTCP v1.4.0
1670
-
Portenta_H7_AsyncWebServer v1.4.0
1674
+
Portenta_H7_AsyncWebServer v1.4.1
1671
1675
Using mac index = 9
1672
1676
Connected! IP address: 192.168.2.87
1673
1677
Attempting MQTT connection to broker.emqx.io...connected
@@ -1688,7 +1692,7 @@ Following is debug terminal output when running example [MQTTClient_Basic](examp
1688
1692
```
1689
1693
Start MQTTClient_Basic on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
1690
1694
Portenta_H7_AsyncTCP v1.4.0
1691
-
Portenta_H7_AsyncWebServer v1.4.0
1695
+
Portenta_H7_AsyncWebServer v1.4.1
1692
1696
Using mac index = 8
1693
1697
Connected! IP address: 192.168.2.87
1694
1698
Attempting MQTT connection to broker.emqx.io...connected
@@ -1707,7 +1711,7 @@ Following is debug terminal output when running example [Async_HTTPBasicAuth](ex
1707
1711
```
1708
1712
Start Async_HTTPBasicAuth on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
1709
1713
Portenta_H7_AsyncTCP v1.4.0
1710
-
Portenta_H7_AsyncWebServer v1.4.0
1714
+
Portenta_H7_AsyncWebServer v1.4.1
1711
1715
Using mac index = 16
1712
1716
Connected! IP address: 192.168.2.87
1713
1717
Async_HttpBasicAuth started @ IP : 192.168.2.87
@@ -1737,7 +1741,7 @@ Following are debug terminal output and screen shots when running example [Async
1737
1741
```
1738
1742
Start Async_AdvancedWebServer on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
1739
1743
Portenta_H7_AsyncTCP v1.4.0
1740
-
Portenta_H7_AsyncWebServer v1.4.0
1744
+
Portenta_H7_AsyncWebServer v1.4.1
1741
1745
Using mac index = 4
1742
1746
Connected! IP address: 192.168.2.87
1743
1747
HTTP EthernetWebServer is @ IP : 192.168.2.87
@@ -1764,7 +1768,7 @@ Following is the debug terminal and screen shot when running example [Async_Adva
1764
1768
```
1765
1769
Start Async_AdvancedWebServer on PORTENTA_H7_M7 with Portenta_H7 WiFi
1766
1770
Portenta_H7_AsyncTCP v1.4.0
1767
-
Portenta_H7_AsyncWebServer v1.4.0
1771
+
Portenta_H7_AsyncWebServer v1.4.1
1768
1772
Connecting to SSID: HueNet1
1769
1773
SSID: HueNet1
1770
1774
Local IP Address: 192.168.2.94
@@ -1791,7 +1795,7 @@ Following is the debug terminal and screen shot when running example [Async_Adva
1791
1795
```
1792
1796
Start Async_AdvancedWebServer_MemoryIssues_Send_CString using SDRAM on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
1793
1797
Portenta_H7_AsyncTCP v1.4.0
1794
-
Portenta_H7_AsyncWebServer v1.4.0
1798
+
Portenta_H7_AsyncWebServer v1.4.1
1795
1799
Using mac index = 2
1796
1800
Connected! IP address: 192.168.2.123
1797
1801
HTTP EthernetWebServer is @ IP : 192.168.2.123
@@ -1817,22 +1821,22 @@ Out String Length=31224
1817
1821
Out String Length=31235
1818
1822
```
1819
1823
1820
-
##### Not using SDRAM ===> small heap (51,823 bytes)
1824
+
##### Not using SDRAM ===> small heap (51,833 bytes)
1821
1825
1822
1826
```
1823
1827
Start Async_AdvancedWebServer_MemoryIssues_Send_CString on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
1824
1828
Portenta_H7_AsyncTCP v1.4.0
1825
-
Portenta_H7_AsyncWebServer v1.4.0
1826
-
Using mac index = 8
1827
-
Connected! IP address: 192.168.2.123
1828
-
HTTP EthernetWebServer is @ IP : 192.168.2.123
1829
+
Portenta_H7_AsyncWebServer v1.4.1
1830
+
Using mac index = 7
1831
+
Connected! IP address: 192.168.2.38
1832
+
HTTP EthernetWebServer is @ IP : 192.168.2.38
1829
1833
1830
1834
HEAP DATA - Pre Create Arduino String Cur heap: 47434 Res Size: 451760 Max heap: 47448
1831
1835
.
1832
-
HEAP DATA - Pre Send Cur heap: 48610 Res Size: 451760 Max heap: 49172
1836
+
HEAP DATA - Pre Send Cur heap: 48607 Res Size: 451760 Max heap: 49811
1833
1837
1834
-
HEAP DATA - Post Send Cur heap: 48710 Res Size: 451760 Max heap: 51823
@@ -1846,7 +1850,7 @@ While using Arduino String, the HEAP usage is very large
1846
1850
```
1847
1851
Start Async_AdvancedWebServer_MemoryIssues_SendArduinoString on PORTENTA_H7_M7 with Ethernet using Portenta_Ethernet Library
1848
1852
Portenta_H7_AsyncTCP v1.4.0
1849
-
Portenta_H7_AsyncWebServer v1.4.0
1853
+
Portenta_H7_AsyncWebServer v1.4.1
1850
1854
Using mac index = 0
1851
1855
Connected! IP address: 192.168.2.123
1852
1856
HTTP EthernetWebServer is @ IP : 192.168.2.123
@@ -1937,7 +1941,9 @@ Submit issues to: [Portenta_H7_AsyncWebServer issues](https://github.com/khoih-p
1937
1941
1. Based on and modified from [Hristo Gochkov's ESPAsyncWebServer](https://github.com/me-no-dev/ESPAsyncWebServer). Many thanks to [Hristo Gochkov](https://github.com/me-no-dev) for great [ESPAsyncWebServer Library](https://github.com/me-no-dev/ESPAsyncWebServer)
1938
1942
2. Thanks to [rusty-bit](https://github.com/rusty-bit) to initiate the Discussion in [**AsyncWebserver for Portenta H7**#6](https://github.com/khoih-prog/AsyncWebServer_STM32/discussions/6) leading to these [Portenta_H7_AsyncTCP](https://github.com/khoih-prog/Portenta_H7_AsyncTCP) and [Portenta_H7_AsyncWebServer](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer) libraries
1939
1943
3. Thanks to [Jeremy Ellis](https://github.com/hpssjellis) to test and report the compile error and crash issue with mbed_portenta core v2.6.1, leading to v1.2.0
1940
-
4. Thanks to [salasidis](https://github.com/salasidis) aka [rs77can](https://forum.arduino.cc/u/rs77can) to discuss and make the mavellous PR [request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8), leading to `v1.4.0` to support using `CString` in optional `SDRAM` to save heap to send `very large data`
1944
+
4. Thanks to [salasidis](https://github.com/salasidis) aka [rs77can](https://forum.arduino.cc/u/rs77can) to discuss and make the following marvellous PRs
1945
+
-[request->send(200, textPlainStr, jsonChartDataCharStr); - Without using String Class - to save heap #8](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8), leading to `v1.4.0` to support using `CString` in optional `SDRAM` to save heap to send `very large data`
1946
+
-[All memmove() removed - string no longer destroyed #11](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/11), leading to `v1.4.1` to remove `memmove()` and not to destroy String anymore
Copy file name to clipboardExpand all lines: changelog.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
## Table of Contents
12
12
13
13
*[Changelog](#changelog)
14
+
*[Releases v1.4.1](#Releases-v141)
14
15
*[Releases v1.4.0](#Releases-v140)
15
16
*[Releases v1.3.0](#Releases-v130)
16
17
*[Releases v1.2.1](#Releases-v121)
@@ -24,6 +25,10 @@
24
25
25
26
## Changelog
26
27
28
+
### Releases v1.4.1
29
+
30
+
1. Don't need `memmove()`, CString no longer destroyed. Check [All memmove() removed - string no longer destroyed #11](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/11)
31
+
27
32
### Releases v1.4.0
28
33
29
34
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](https://github.com/khoih-prog/Portenta_H7_AsyncWebServer/pull/8)
Copy file name to clipboardExpand all lines: examples/Ethernet/Async_AdvancedWebServer_MemoryIssues_SendArduinoString/Async_AdvancedWebServer_MemoryIssues_SendArduinoString.ino
Copy file name to clipboardExpand all lines: examples/Ethernet/Async_AdvancedWebServer_MemoryIssues_Send_CString/Async_AdvancedWebServer_MemoryIssues_Send_CString.ino
0 commit comments