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: .github/ISSUE_TEMPLATE/bug_report.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,21 +36,26 @@ If applicable, add screenshots to help explain your problem.
36
36
Please ensure to specify the following:
37
37
38
38
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
39
-
*`ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.5)
39
+
*`ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.1.0 or ESP32 v2.0.6)
40
40
* Contextual information (e.g. what you were trying to achieve)
41
41
* Simplest possible steps to reproduce
42
42
* Anything that might be relevant in your opinion, such as:
43
43
* Operating system (Windows, Ubuntu, etc.) and the output of `uname -a`
44
44
* Network configuration
45
45
46
46
47
+
Please be educated, civilized and constructive as you've always been. Disrespective posts against [GitHub Code of Conduct](https://docs.github.com/en/site-policy/github-terms/github-event-code-of-conduct) will be ignored and deleted.
48
+
49
+
---
50
+
47
51
### Example
48
52
49
53
```
50
54
Arduino IDE version: 1.8.19
51
-
ESP8266 Core Version 3.0.2
55
+
ESP32_DEV board
56
+
ESP32 core v2.0.6
52
57
OS: Ubuntu 20.04 LTS
53
-
Linux xy-Inspiron-3593 5.15.0-52-generic #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
58
+
Linux xy-Inspiron-3593 5.15.0-57-generic #63~20.04.1-Ubuntu SMP Wed Nov 30 13:40:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
54
59
55
60
Context:
56
61
I encountered a crash while trying to use the library
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,26 +10,33 @@ However, before reporting a bug please check through the following:
10
10
11
11
If you don't find anything, please [open a new issue](https://github.com/khoih-prog/ESP_WiFiManager_Lite/issues/new).
12
12
13
+
---
14
+
13
15
### How to submit a bug report
14
16
15
17
Please ensure to specify the following:
16
18
17
19
* Arduino IDE version (e.g. 1.8.19) or Platform.io version
18
-
*`ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.5)
20
+
*`ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.1.0 or ESP32 v2.0.6)
19
21
* Contextual information (e.g. what you were trying to achieve)
20
22
* Simplest possible steps to reproduce
21
23
* Anything that might be relevant in your opinion, such as:
22
24
* Operating system (Windows, Ubuntu, etc.) and the output of `uname -a`
23
25
* Network configuration
24
26
25
27
28
+
Please be educated, civilized and constructive as you've always been. Disrespective posts against [GitHub Code of Conduct](https://docs.github.com/en/site-policy/github-terms/github-event-code-of-conduct) will be ignored and deleted.
29
+
30
+
---
31
+
26
32
### Example
27
33
28
34
```
29
35
Arduino IDE version: 1.8.19
30
-
ESP8266 Core Version 3.0.2
36
+
ESP32_DEV board
37
+
ESP32 core v2.0.6
31
38
OS: Ubuntu 20.04 LTS
32
-
Linux xy-Inspiron-3593 5.15.0-52-generic #58~20.04.1-Ubuntu SMP Thu Oct 13 13:09:46 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
39
+
Linux xy-Inspiron-3593 5.15.0-57-generic #63~20.04.1-Ubuntu SMP Wed Nov 30 13:40:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
33
40
34
41
Context:
35
42
I encountered a crash while trying to use the library
Copy file name to clipboardExpand all lines: README.md
+48-40Lines changed: 48 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -169,8 +169,8 @@ This [**ESP_WiFiManager_Lite** library](https://github.com/khoih-prog/ESP_WiFiMa
169
169
## Prerequisites
170
170
171
171
1.[`Arduino IDE 1.8.19+` for Arduino](https://github.com/arduino/Arduino). [](https://github.com/arduino/Arduino/releases/latest)
172
-
2.[`ESP32 Core 2.0.5+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [](https://github.com/espressif/arduino-esp32/releases/latest/)
173
-
3.[`ESP8266 Core 3.0.2+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. [](https://github.com/esp8266/Arduino/releases/latest/). SPIFFS is deprecated from ESP8266 core 2.7.1+, to use LittleFS.
172
+
2.[`ESP32 Core 2.0.6+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [](https://github.com/espressif/arduino-esp32/releases/latest/)
173
+
3.[`ESP8266 Core 3.1.0+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. [](https://github.com/esp8266/Arduino/releases/latest/). SPIFFS is deprecated from ESP8266 core 2.7.1+, to use LittleFS.
174
174
4.[`ESP_DoubleResetDetector v1.3.2+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) if using DRD feature. To install, check [](https://www.ardu-badge.com/ESP_DoubleResetDetector).
175
175
5.[`ESP_MultiResetDetector v1.3.2+`](https://github.com/khoih-prog/ESP_MultiResetDetector) if using MRD feature. To install, check [](https://www.ardu-badge.com/ESP_MultiResetDetector).
176
176
6.[`LittleFS_esp32 v1.0.6+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS with ESP32 core **v1.0.5-**. To install, check [](https://www.ardu-badge.com/LittleFS_esp32). **Notice**: This [`LittleFS_esp32 library`](https://github.com/lorol/LITTLEFS) has been integrated to Arduino [ESP32 core v1.0.6+](https://github.com/espressif/arduino-esp32/tree/master/libraries/LITTLEFS) and **you don't need to install it if using ESP32 core v1.0.6+**
@@ -235,37 +235,37 @@ Thanks to [Roshan](https://github.com/solroshan) to report the issue in [Error e
235
235
236
236
Please have a look at [**ESP_WiFiManager Issue 39: Not able to read analog port when using the autoconnect example**](https://github.com/khoih-prog/ESP_WiFiManager/issues/39) to have more detailed description and solution of the issue.
237
237
238
-
#### 1. ESP32 has 2 ADCs, named ADC1 and ADC2
238
+
#### 1. ESP32 has 2 ADCs, named ADC1 and ADC2
239
239
240
240
#### 2. ESP32 ADCs functions
241
241
242
-
- ADC1 controls ADC function for pins **GPIO32-GPIO39**
243
-
- ADC2 controls ADC function for pins **GPIO0, 2, 4, 12-15, 25-27**
242
+
- `ADC1` controls ADC function for pins **GPIO32-GPIO39**
243
+
- `ADC2` controls ADC function for pins **GPIO0, 2, 4, 12-15, 25-27**
244
244
245
-
#### 3. ESP32 WiFi uses ADC2 for WiFi functions
245
+
#### 3.. ESP32 WiFi uses ADC2 for WiFi functions
246
246
247
-
Look in file [**adc_common.c**](https://github.com/espressif/esp-idf/blob/main/components/driver/adc_common.c#L61)
247
+
Look in file [**adc_common.c**](https://github.com/espressif/esp-idf/blob/master/components/driver/adc_common.c#L61)
248
248
249
-
> In ADC2, there're two locks used for different cases:
249
+
> In `ADC2`, there're two locks used for different cases:
250
250
> 1. lock shared with app and Wi-Fi:
251
251
> ESP32:
252
-
> When Wi-Fi using the ADC2, we assume it will never stop, so app checks the lock and returns immediately if failed.
252
+
> When Wi-Fi using the `ADC2`, we assume it will never stop, so app checks the lock and returns immediately if failed.
253
253
> ESP32S2:
254
-
> The controller's control over the ADC is determined by the arbiter. There is no need to control by lock.
254
+
> The controller's control over the `ADC` is determined by the arbiter. There is no need to control by lock.
255
255
>
256
256
> 2. lock shared between tasks:
257
-
> when several tasks sharing the ADC2, we want to guarantee
257
+
> when several tasks sharing the `ADC2`, we want to guarantee
258
258
> all the requests will be handled.
259
259
> Since conversions are short (about 31us), app returns the lock very soon,
260
260
> we use a spinlock to stand there waiting to do conversions one by one.
261
261
>
262
262
> adc2_spinlock should be acquired first, then adc2_wifi_lock or rtc_spinlock.
263
263
264
264
265
-
- In order to use ADC2 for other functions, we have to **acquire complicated firmware locks and very difficult to do**
266
-
- So, it's not advisable to use ADC2 with WiFi/BlueTooth (BT/BLE).
267
-
- Use ADC1, and pins GPIO32-GPIO39
268
-
- If somehow it's a must to use those pins serviced by ADC2 (**GPIO0, 2, 4, 12, 13, 14, 15, 25, 26 and 27**), use the **fix mentioned at the end** of [**ESP_WiFiManager Issue 39: Not able to read analog port when using the autoconnect example**](https://github.com/khoih-prog/ESP_WiFiManager/issues/39) to work with ESP32 WiFi/BlueTooth (BT/BLE).
265
+
- In order to use `ADC2` for other functions, we have to **acquire complicated firmware locks and very difficult to do**
266
+
- So, it's not advisable to use `ADC2` with WiFi/BlueTooth (BT/BLE).
267
+
- Use `ADC1`, and pins GPIO32-GPIO39
268
+
- If somehow it's a must to use those pins serviced by `ADC2` (**GPIO0, 2, 4, 12, 13, 14, 15, 25, 26 and 27**), use the **fix mentioned at the end** of [**ESP_WiFiManager Issue 39: Not able to read analog port when using the autoconnect example**](https://github.com/khoih-prog/ESP_WiFiManager/issues/39) to work with ESP32 WiFi/BlueTooth (BT/BLE).
269
269
270
270
271
271
---
@@ -851,8 +851,8 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp
851
851
852
852
```
853
853
Starting ESP_WiFi using LittleFS on ESP32_DEV
854
-
ESP_WiFiManager_Lite v1.9.0
855
-
ESP_MultiResetDetector v1.3.1
854
+
ESP_WiFiManager_Lite v1.10.0
855
+
ESP_MultiResetDetector v1.3.2
856
856
LittleFS Flag read = 0xFFFC0003
857
857
multiResetDetectorFlag = 0xFFFC0003
858
858
lowerBytes = 0x0003, upperBytes = 0x0003
@@ -922,8 +922,8 @@ CCCCCCCCC
922
922
923
923
```
924
924
Starting ESP_WiFi using LittleFS on ESP32_DEV
925
-
ESP_WiFiManager_Lite v1.9.0
926
-
ESP_MultiResetDetector v1.3.1
925
+
ESP_WiFiManager_Lite v1.10.0
926
+
ESP_MultiResetDetector v1.3.2
927
927
LittleFS Flag read = 0xFFFE0001
928
928
multiResetDetectorFlag = 0xFFFE0001
929
929
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -994,8 +994,8 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
994
994
995
995
```
996
996
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
997
-
ESP_WiFiManager_Lite v1.9.0
998
-
ESP_MultiResetDetector v1.3.1
997
+
ESP_WiFiManager_Lite v1.10.0
998
+
ESP_MultiResetDetector v1.3.2
999
999
LittleFS Flag read = 0xFFFE0001
1000
1000
multiResetDetectorFlag = 0xFFFE0001
1001
1001
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1069,8 +1069,8 @@ CCC
1069
1069
1070
1070
1071
1071
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
1072
-
ESP_WiFiManager_Lite v1.9.0
1073
-
ESP_MultiResetDetector v1.3.1
1072
+
ESP_WiFiManager_Lite v1.10.0
1073
+
ESP_MultiResetDetector v1.3.2
1074
1074
LittleFS Flag read = 0xFFFE0001
1075
1075
multiResetDetectorFlag = 0xFFFE0001
1076
1076
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1161,8 +1161,8 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
1161
1161
1162
1162
```
1163
1163
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1164
-
ESP_WiFiManager_Lite v1.9.0
1165
-
ESP_MultiResetDetector v1.3.1
1164
+
ESP_WiFiManager_Lite v1.10.0
1165
+
ESP_MultiResetDetector v1.3.2
1166
1166
LittleFS Flag read = 0xFFFE0001
1167
1167
multiResetDetectorFlag = 0xFFFE0001
1168
1168
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1274,8 +1274,8 @@ entry 0x4004c190
1274
1274
1275
1275
1276
1276
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1277
-
ESP_WiFiManager_Lite v1.9.0
1278
-
ESP_MultiResetDetector v1.3.1
1277
+
ESP_WiFiManager_Lite v1.10.0
1278
+
ESP_MultiResetDetector v1.3.2
1279
1279
LittleFS Flag read = 0xFFFE0001
1280
1280
multiResetDetectorFlag = 0xFFFE0001
1281
1281
lowerBytes = 0x0001, upperBytes = 0x0001
@@ -1376,8 +1376,8 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
1376
1376
1377
1377
```
1378
1378
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
37. Add option to not `USE_LED_BUILTIN` for Config-Portal. Check [added switch to turn use of builtin LED off #20](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/20)
1712
1714
1713
1715
1714
1716
---
@@ -1719,11 +1721,17 @@ Submit issues to: [ESP_WiFiManager_Lite issues](https://github.com/khoih-prog/ES
1719
1721
Please help contribute to this project and add your name here.
1720
1722
1721
1723
1. Thanks to [Michael H. "bizprof"](https://github.com/bizprof). With the impressive new feature :
1722
-
-`Enable scan of WiFi networks for selection in Configuration Portal`. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10) leading to v1.5.0
1724
+
-`Enable scan of WiFi networks for selection in Configuration Portal`. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10) leading to `v1.5.0 `
1725
+
2. Thanks to [Holger Müller](https://github.com/hmueller01)for these PRs leading to `v1.10.0` :
2. Add option to not `USE_LED_BUILTIN` for Config-Portal. Check [added switch to turn use of builtin LED off #20](https://github.com/khoih-prog/ESP_WiFiManager_Lite/pull/20)
41
+
3. Code clean-up
42
+
37
43
### Release v1.9.0
38
44
39
45
1. Fix ESP32 chipID. Check [Help for storing variables in memory (non-volatile) #87](https://github.com/khoih-prog/ESP_WiFiManager/discussions/87#discussioncomment-3593028)
"description": "Library to configure MultiWiFi/Credentials at runtime for ESP32 (including ESP32-S2, ESP32-S3 and ESP32-C3) and ESP8266 boards. You can also specify DHCP HostName, static AP and STA IP. Use much less memory compared to full-fledge WiFiManager. Config Portal will be auto-adjusted to match the number of dynamic custom parameters. Optional default Credentials to be autoloaded into Config Portal to use or change instead of manually input. Credentials are saved in LittleFS, SPIFFS or EEPROM. New powerful-yet-simple-to-use feature to enable adding dynamic custom parameters from sketch and input using the same Config Portal. Double or MultiDetectDetector as well as Virtual Switches feature permits entering Config Portal as requested. Configurable Customs HTML Headers, including Customs Style, Customs Head Elements, CORS Header. Now using correct ESP32 chipIP",
0 commit comments