Skip to content
This repository was archived by the owner on Jan 29, 2023. It is now read-only.

Commit a575e69

Browse files
authored
v1.5.0 for new STM32 v2.3.0 core
### Releases v1.5.0 1. Update examples for new STM32 core v2.3.0 2. Update `Packages' Patches`
1 parent 2cc02da commit a575e69

File tree

47 files changed

+307
-31
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+307
-31
lines changed

examples/AsyncFSBrowser_STM32/AsyncFSBrowser_STM32.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,12 @@ void setup()
240240
Serial.printf("\nStarting AsyncFSBrowser_STM32 on %s with %s\n", BOARD_NAME, SHIELD_TYPE);
241241
Serial.println(ASYNC_WEBSERVER_STM32_VERSION);
242242

243+
#if (_ASYNCWEBSERVER_STM32_LOGLEVEL_ > 2)
244+
Serial.print("STM32 Core version v"); Serial.print(STM32_CORE_VERSION_MAJOR);
245+
Serial.print("."); Serial.print(STM32_CORE_VERSION_MINOR);
246+
Serial.print("."); Serial.println(STM32_CORE_VERSION_PATCH);
247+
#endif
248+
243249
// start the ethernet connection and the server
244250
// Use random mac
245251
uint16_t index = millis() % NUMBER_OF_MAC;

examples/AsyncMultiWebServer_STM32/AsyncMultiWebServer_STM32.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,12 @@ void setup()
211211
Serial.print(" with "); Serial.println(SHIELD_TYPE);
212212
Serial.println(ASYNC_WEBSERVER_STM32_VERSION);
213213

214+
#if (_ASYNCWEBSERVER_STM32_LOGLEVEL_ > 2)
215+
Serial.print("STM32 Core version v"); Serial.print(STM32_CORE_VERSION_MAJOR);
216+
Serial.print("."); Serial.print(STM32_CORE_VERSION_MINOR);
217+
Serial.print("."); Serial.println(STM32_CORE_VERSION_PATCH);
218+
#endif
219+
214220
// start the ethernet connection and the server
215221
// Use random mac
216222
uint16_t index = millis() % NUMBER_OF_MAC;

examples/Async_AdvancedWebServer/Async_AdvancedWebServer.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,12 @@ void setup(void)
244244
Serial.print(" with "); Serial.println(SHIELD_TYPE);
245245
Serial.println(ASYNC_WEBSERVER_STM32_VERSION);
246246

247+
#if (_ASYNCWEBSERVER_STM32_LOGLEVEL_ > 2)
248+
Serial.print("STM32 Core version v"); Serial.print(STM32_CORE_VERSION_MAJOR);
249+
Serial.print("."); Serial.print(STM32_CORE_VERSION_MINOR);
250+
Serial.print("."); Serial.println(STM32_CORE_VERSION_PATCH);
251+
#endif
252+
247253
// start the ethernet connection and the server
248254
// Use random mac
249255
uint16_t index = millis() % NUMBER_OF_MAC;

examples/Async_HelloServer/Async_HelloServer.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ void setup(void)
161161
Serial.print(" with "); Serial.println(SHIELD_TYPE);
162162
Serial.println(ASYNC_WEBSERVER_STM32_VERSION);
163163

164+
#if (_ASYNCWEBSERVER_STM32_LOGLEVEL_ > 2)
165+
Serial.print("STM32 Core version v"); Serial.print(STM32_CORE_VERSION_MAJOR);
166+
Serial.print("."); Serial.print(STM32_CORE_VERSION_MINOR);
167+
Serial.print("."); Serial.println(STM32_CORE_VERSION_PATCH);
168+
#endif
169+
164170
// start the ethernet connection and the server
165171
// Use random mac
166172
uint16_t index = millis() % NUMBER_OF_MAC;

examples/Async_HelloServer2/Async_HelloServer2.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ void setup(void)
161161
Serial.print(" with "); Serial.println(SHIELD_TYPE);
162162
Serial.println(ASYNC_WEBSERVER_STM32_VERSION);
163163

164+
#if (_ASYNCWEBSERVER_STM32_LOGLEVEL_ > 2)
165+
Serial.print("STM32 Core version v"); Serial.print(STM32_CORE_VERSION_MAJOR);
166+
Serial.print("."); Serial.print(STM32_CORE_VERSION_MINOR);
167+
Serial.print("."); Serial.println(STM32_CORE_VERSION_PATCH);
168+
#endif
169+
164170
// start the ethernet connection and the server
165171
// Use random mac
166172
uint16_t index = millis() % NUMBER_OF_MAC;

examples/Async_HttpBasicAuth/Async_HttpBasicAuth.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ void setup()
132132
Serial.print(" with "); Serial.println(SHIELD_TYPE);
133133
Serial.println(ASYNC_WEBSERVER_STM32_VERSION);
134134

135+
#if (_ASYNCWEBSERVER_STM32_LOGLEVEL_ > 2)
136+
Serial.print("STM32 Core version v"); Serial.print(STM32_CORE_VERSION_MAJOR);
137+
Serial.print("."); Serial.print(STM32_CORE_VERSION_MINOR);
138+
Serial.print("."); Serial.println(STM32_CORE_VERSION_PATCH);
139+
#endif
140+
135141
// start the ethernet connection and the server
136142
// Use random mac
137143
uint16_t index = millis() % NUMBER_OF_MAC;

examples/Async_PostServer/Async_PostServer.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,12 @@ void setup(void)
216216
Serial.print(" with "); Serial.println(SHIELD_TYPE);
217217
Serial.println(ASYNC_WEBSERVER_STM32_VERSION);
218218

219+
#if (_ASYNCWEBSERVER_STM32_LOGLEVEL_ > 2)
220+
Serial.print("STM32 Core version v"); Serial.print(STM32_CORE_VERSION_MAJOR);
221+
Serial.print("."); Serial.print(STM32_CORE_VERSION_MINOR);
222+
Serial.print("."); Serial.println(STM32_CORE_VERSION_PATCH);
223+
#endif
224+
219225
// start the ethernet connection and the server
220226
// Use random mac
221227
uint16_t index = millis() % NUMBER_OF_MAC;

examples/Async_RegexPatterns_STM32/Async_RegexPatterns_STM32.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ void setup()
151151
Serial.print(" with "); Serial.println(SHIELD_TYPE);
152152
Serial.println(ASYNC_WEBSERVER_STM32_VERSION);
153153

154+
#if (_ASYNCWEBSERVER_STM32_LOGLEVEL_ > 2)
155+
Serial.print("STM32 Core version v"); Serial.print(STM32_CORE_VERSION_MAJOR);
156+
Serial.print("."); Serial.print(STM32_CORE_VERSION_MINOR);
157+
Serial.print("."); Serial.println(STM32_CORE_VERSION_PATCH);
158+
#endif
159+
154160
// start the ethernet connection and the server
155161
// Use random mac
156162
uint16_t index = millis() % NUMBER_OF_MAC;

examples/Async_SimpleWebServer_STM32/Async_SimpleWebServer_STM32.ino

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
#error This code is designed to run on STM32F/L/H/G/WB/MP1 platform! Please check your Tools->Board setting.
3535
#endif
3636

37+
#define _ASYNCWEBSERVER_STM32_LOGLEVEL_ 4
38+
3739
#if defined(STM32F0)
3840
#warning STM32F0 board selected
3941
#define BOARD_TYPE "STM32F0"
@@ -138,6 +140,12 @@ void setup()
138140
Serial.print(" with "); Serial.println(SHIELD_TYPE);
139141
Serial.println(ASYNC_WEBSERVER_STM32_VERSION);
140142

143+
#if (_ASYNCWEBSERVER_STM32_LOGLEVEL_ > 2)
144+
Serial.print("STM32 Core version v"); Serial.print(STM32_CORE_VERSION_MAJOR);
145+
Serial.print("."); Serial.print(STM32_CORE_VERSION_MINOR);
146+
Serial.print("."); Serial.println(STM32_CORE_VERSION_PATCH);
147+
#endif
148+
141149
// start the ethernet connection and the server
142150
// Use random mac
143151
uint16_t index = millis() % NUMBER_OF_MAC;

examples/MQTTClient_Auth/MQTTClient_Auth.ino

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ void setup()
118118
Serial.print(" with "); Serial.println(SHIELD_TYPE);
119119
Serial.println(ASYNC_WEBSERVER_STM32_VERSION);
120120

121+
#if (_ASYNCWEBSERVER_STM32_LOGLEVEL_ > 2)
122+
Serial.print("STM32 Core version v"); Serial.print(STM32_CORE_VERSION_MAJOR);
123+
Serial.print("."); Serial.print(STM32_CORE_VERSION_MINOR);
124+
Serial.print("."); Serial.println(STM32_CORE_VERSION_PATCH);
125+
#endif
126+
121127
// start the ethernet connection and the server
122128
// Use random mac
123129
uint16_t index = millis() % NUMBER_OF_MAC;

0 commit comments

Comments
 (0)