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

Commit 8e89ed7

Browse files
authored
v1.1.2 to update PIO
### Releases v1.1.2 1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix
1 parent 378ef89 commit 8e89ed7

File tree

8 files changed

+96
-125
lines changed

8 files changed

+96
-125
lines changed

CONTRIBUTING.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1414

1515
Please ensure to specify the following:
1616

17-
* Arduino IDE version (e.g. 1.8.13) or Platform.io version
18-
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v2.7.4 or ESP32 v1.0.4)
17+
* Arduino IDE version (e.g. 1.8.16) or Platform.io version
18+
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.0)
1919
* Contextual information (e.g. what you were trying to achieve)
2020
* Simplest possible steps to reproduce
2121
* Anything that might be relevant in your opinion, such as:
@@ -26,10 +26,10 @@ Please ensure to specify the following:
2626
### Example
2727

2828
```
29-
Arduino IDE version: 1.8.13
30-
ESP8266 Core Version 2.7.4
29+
Arduino IDE version: 1.8.16
30+
ESP8266 Core Version 3.0.2
3131
OS: Ubuntu 20.04 LTS
32-
Linux Inspiron 5.4.0-54-generic #60-Ubuntu SMP Fri Nov 6 10:37:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
32+
Linux Inspiron 5.4.0-86-generic #97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
3333
3434
Context:
3535
I encountered a non-response while trying to press the reset button twice.

README.md

+11-79
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@
1414
* [Why do we need this ESP_DoubleResetDetector library](#why-do-we-need-this-esp_doubleresetdetector-library)
1515
* [Features](#features)
1616
* [Currently supported Boards](#currently-supported-boards)
17-
* [Changelog](#changelog)
18-
* [Releases v1.1.1](#releases-v111)
19-
* [Releases v1.1.0](#releases-v110)
20-
* [Releases v1.0.3](#releases-v103)
21-
* [Releases v1.0.2](#releases-v102)
22-
* [Releases v1.0.1](#releases-v101)
17+
* [Changelog](changelog.md)
2318
* [Prerequisites](#prerequisites)
2419
* [Installation](#installation)
2520
* [Use Arduino Library Manager](#use-arduino-library-manager)
@@ -65,7 +60,6 @@
6560
* [Libraries using ESP_DoubleResetDetector or DoubleResetDetector_Generic library](#libraries-using-esp_doubleresetdetector-or-doubleresetdetector_generic-library)
6661
* [Debug](#debug)
6762
* [Troubleshooting](#troubleshooting)
68-
* [Releases](#releases)
6963
* [Issues](#issues)
7064
* [TO DO](#to-do)
7165
* [DONE](#done)
@@ -102,42 +96,11 @@ This [**ESP_DoubleResetDetector** library](https://github.com/khoih-prog/ESP_Dou
10296
---
10397
---
10498

105-
## Changelog
106-
107-
### Releases v1.1.1
108-
109-
1. Clean-up all compiler warnings possible.
110-
2. Add Table of Contents
111-
3. Modify Version String
112-
113-
### Releases v1.1.0
114-
115-
1. Add support to LittleFS for ESP32 using [LITTLEFS](https://github.com/lorol/LITTLEFS) Library
116-
117-
### Releases v1.0.3
118-
119-
1. Update to use the new LittleFS for ESP8266 core 2.7.1+
120-
2. Update [minimal example](examples/minimal)
121-
122-
#### Releases v1.0.2
123-
124-
1. Fix bug by left-over cpp file.
125-
2. Fix bug in example.
126-
3. Enhance README.md
127-
128-
#### Releases v1.0.1
129-
130-
1. Add EEPROM and SPIFFS support, besides RTC memory, for ESP8266
131-
2. Add SPIFFS support, besides EEPROM, for ESP32
132-
133-
---
134-
---
135-
13699
## Prerequisites
137100

138-
1. [`Arduino IDE 1.8.13+` for Arduino](https://www.arduino.cc/en/Main/Software)
139-
2. [`ESP32 Core 1.0.4+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards
140-
3. [`ESP8266 Core 2.7.4+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. SPIFFS is deprecated from ESP8266 core 2.7.1+.
101+
1. [`Arduino IDE 1.8.16+` for Arduino](https://www.arduino.cc/en/Main/Software)
102+
2. [`ESP32 Core 2.0.0+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [![Latest release](https://img.shields.io/github/release/espressif/arduino-esp32.svg)](https://github.com/espressif/arduino-esp32/releases/latest/)
103+
3. [`ESP8266 Core 3.0.2+`](https://github.com/esp8266/Arduino) for ESP8266-based boards. [![Latest release](https://img.shields.io/github/release/esp8266/Arduino.svg)](https://github.com/esp8266/Arduino/releases/latest/). SPIFFS is deprecated from ESP8266 core 2.7.1+, to use LittleFS.
141104

142105
---
143106

@@ -157,7 +120,7 @@ The best and easiest way is to use `Arduino Library Manager`. Search for `ESP_Do
157120

158121
1. Install [VS Code](https://code.visualstudio.com/)
159122
2. Install [PlatformIO](https://platformio.org/platformio-ide)
160-
3. Install [**ESP_DoubleResetDetector** library](https://platformio.org/lib/show/6935/ESP_DoubleResetDetector) by using [Library Manager](https://platformio.org/lib/show/6935/ESP_DoubleResetDetector/installation). Search for **ESP_DoubleResetDetector** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
123+
3. Install [**ESP_DoubleResetDetector** library](https://platformio.org/lib/show/11521/ESP_DoubleResetDetector) by using [Library Manager](https://platformio.org/lib/show/11521/ESP_DoubleResetDetector/installation). Search for **ESP_DoubleResetDetector** in [Platform.io Author's Libraries](https://platformio.org/lib/search?query=author:%22Khoi%20Hoang%22)
161124
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)
162125

163126
---
@@ -307,8 +270,8 @@ This is terminal debug output when running [ESP32_FSWebServer_DRD](https://githu
307270

308271
```cpp
309272
Starting ESP32_FSWebServer_DRD with DoubleResetDetect using SPIFFS on ESP32_DEV
310-
ESP_WiFiManager Version v1.4.1
311-
ESP_DoubleResetDetector Version v1.1.1
273+
ESP_WiFiManager Version v1.7.5
274+
ESP_DoubleResetDetector Version v1.1.2
312275
FS File: /ConfigSW.json, size: 150B
313276
FS File: /CanadaFlag_1.png, size: 40.25KB
314277
FS File: /CanadaFlag_2.png, size: 8.12KB
@@ -373,8 +336,8 @@ This is terminal debug output when running [ConfigOnDoubleReset](https://github.
373336

374337
```
375338
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32_DEV
376-
ESP_WiFiManager Version v1.4.1
377-
ESP_DoubleResetDetector Version v1.1.1
339+
ESP_WiFiManager Version v1.7.5
340+
ESP_DoubleResetDetector Version v1.1.2
378341
[WM] RFC925 Hostname = ConfigOnDoubleReset
379342
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
380343
Stored: SSID = HueNet1, Pass = 12345678
@@ -417,8 +380,8 @@ load:0x40080400,len:6352
417380
entry 0x400806b8
418381

419382
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32_DEV
420-
ESP_WiFiManager Version v1.3.0
421-
ESP_DoubleResetDetector Version v1.1.0
383+
ESP_WiFiManager Version v1.7.5
384+
ESP_DoubleResetDetector Version v1.1.2
422385
[WM] RFC925 Hostname = ConfigOnDoubleReset
423386
[WM] Set CORS Header to : Your Access-Control-Allow-Origin
424387
Stored: SSID = HueNet1, Pass = jenniqqs
@@ -491,37 +454,6 @@ Sometimes, the library will only work if you update the `ESP32 / ESP8266` core t
491454
---
492455
---
493456

494-
### Releases
495-
496-
### Releases v1.1.1
497-
498-
1. Clean-up all compiler warnings possible.
499-
2. Add Table of Contents
500-
3. Modify Version String
501-
502-
### Releases v1.1.0
503-
504-
1. Add support to LittleFS for ESP32 using [LITTLEFS](https://github.com/lorol/LITTLEFS) Library
505-
506-
### Releases v1.0.3
507-
508-
1. Update to use the new LittleFS for ESP8266 core 2.7.1+
509-
2. Update [minimal example](examples/minimal)
510-
511-
#### Releases v1.0.2
512-
513-
1. Fix bug by left-over cpp file.
514-
2. Fix bug in example.
515-
3. Enhance README.md
516-
517-
#### Releases v1.0.1
518-
519-
1. Add EEPROM and SPIFFS support, besides RTC memory, for ESP8266
520-
2. Add SPIFFS support, besides EEPROM, for ESP32
521-
522-
---
523-
---
524-
525457
### Issues ###
526458

527459
Submit issues to: [ESP_DoubleResetDetector issues](https://github.com/khoih-prog/ESP_DoubleResetDetector/issues)

changelog.md

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
## ESP_DoubleResetDetector
2+
3+
[![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_DoubleResetDetector.svg?)](https://www.ardu-badge.com/ESP_DoubleResetDetector)
4+
[![GitHub release](https://img.shields.io/github/release/khoih-prog/ESP_DoubleResetDetector.svg)](https://github.com/khoih-prog/ESP_DoubleResetDetector/releases)
5+
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/khoih-prog/ESP_DoubleResetDetector/blob/master/LICENSE)
6+
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing)
7+
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/ESP_DoubleResetDetector.svg)](http://github.com/khoih-prog/ESP_DoubleResetDetector/issues)
8+
9+
---
10+
---
11+
12+
## Table of Contents
13+
14+
* [Changelog](#changelog)
15+
* [Releases v1.1.2](#releases-v112)
16+
* [Releases v1.1.1](#releases-v111)
17+
* [Releases v1.1.0](#releases-v110)
18+
* [Releases v1.0.3](#releases-v103)
19+
* [Releases v1.0.2](#releases-v102)
20+
* [Releases v1.0.1](#releases-v101)
21+
22+
---
23+
---
24+
25+
## Changelog
26+
27+
### Releases v1.1.2
28+
29+
1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix
30+
31+
### Releases v1.1.1
32+
33+
1. Clean-up all compiler warnings possible.
34+
2. Add Table of Contents
35+
3. Modify Version String
36+
37+
### Releases v1.1.0
38+
39+
1. Add support to LittleFS for ESP32 using [LITTLEFS](https://github.com/lorol/LITTLEFS) Library
40+
41+
### Releases v1.0.3
42+
43+
1. Update to use the new LittleFS for ESP8266 core 2.7.1+
44+
2. Update [minimal example](examples/minimal)
45+
46+
#### Releases v1.0.2
47+
48+
1. Fix bug by left-over cpp file.
49+
2. Fix bug in example.
50+
3. Enhance README.md
51+
52+
#### Releases v1.0.1
53+
54+
1. Add EEPROM and SPIFFS support, besides RTC memory, for ESP8266
55+
2. Add SPIFFS support, besides EEPROM, for ESP32
56+

examples/ConfigOnDoubleReset/ConfigOnDoubleReset.ino

-9
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/ESP_DoubleResetDetector
1111
Licensed under MIT license
12-
Version: 1.1.0
13-
14-
Version Modified By Date Comments
15-
------- ----------- ---------- -----------
16-
1.0.0 K Hoang 15/12/2019 Initial coding
17-
1.0.1 K Hoang 30/12/2019 Now can use EEPROM or SPIFFS for both ESP8266 and ESP32. RTC still OK for ESP8266
18-
1.0.2 K Hoang 10/04/2020 Fix bug by left-over cpp file and in example.
19-
1.0.3 K Hoang 13/05/2020 Update to use LittleFS for ESP8266 core 2.7.1+
20-
1.1.0 K Hoang 04/12/2020 Add support to LittleFS for ESP32 using LITTLEFS Library
2112
*****************************************************************************************************************************/
2213
/****************************************************************************************************************************
2314
This example will open a configuration portal when the reset button is pressed twice.

examples/minimal/minimal.ino

-9
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@
99
1010
Built by Khoi Hoang https://github.com/khoih-prog/ESP_DoubleResetDetector
1111
Licensed under MIT license
12-
Version: 1.1.0
13-
14-
Version Modified By Date Comments
15-
------- ----------- ---------- -----------
16-
1.0.0 K Hoang 15/12/2019 Initial coding
17-
1.0.1 K Hoang 30/12/2019 Now can use EEPROM or SPIFFS for both ESP8266 and ESP32. RTC still OK for ESP8266
18-
1.0.2 K Hoang 10/04/2020 Fix bug by left-over cpp file and in example.
19-
1.0.3 K Hoang 13/05/2020 Update to use LittleFS for ESP8266 core 2.7.1+
20-
1.1.0 K Hoang 04/12/2020 Add support to LittleFS for ESP32 using LITTLEFS Library
2112
*****************************************************************************************************************************/
2213

2314
// These defines must be put before #include <ESP_DoubleResetDetector.h>

library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESP_DoubleResetDetector",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"keywords": "rtc,eeprom,littlefs,spiffs,reset,data,esp32,esp8266,double-reset,detector",
55
"description": "Library to detect a double reset within a predetermined time, using RTC Memory, EEPROM, LittleFS or SPIFFS for ESP8266 and ESP32",
66
"authors":

library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ESP_DoubleResetDetector
2-
version=1.1.1
2+
version=1.1.2
33
author=Khoi Hoang
44
maintainer=Khoi Hoang <[email protected]>
55
license=MIT

src/ESP_DoubleResetDetector.h

+22-21
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
/****************************************************************************************************************************
2-
ESP_DoubleResetDetector.h
3-
For ESP8266 / ESP32 boards
4-
5-
ESP_DoubleResetDetector is a library for the ESP8266/Arduino platform
6-
to enable trigger configure mode by resetting ESP32 / ESP8266 twice.
7-
8-
Forked from DataCute https://github.com/datacute/DoubleResetDetector
9-
10-
Built by Khoi Hoang https://github.com/khoih-prog/ESP_DoubleResetDetector
11-
Licensed under MIT license
12-
Version: 1.1.1
13-
14-
Version Modified By Date Comments
15-
------- ----------- ---------- -----------
16-
1.0.0 K Hoang 15/12/2019 Initial coding
17-
1.0.1 K Hoang 30/12/2019 Now can use EEPROM or SPIFFS for both ESP8266 and ESP32. RTC still OK for ESP8266
18-
1.0.2 K Hoang 10/04/2020 Fix bug by left-over cpp file and in example.
19-
1.0.3 K Hoang 13/05/2020 Update to use LittleFS for ESP8266 core 2.7.1+
20-
1.1.0 K Hoang 04/12/2020 Add support to LittleFS for ESP32 using LITTLEFS Library
21-
1.1.1 K Hoang 28/12/2020 Suppress all possible compiler warnings
2+
ESP_DoubleResetDetector.h
3+
For ESP8266 / ESP32 boards
4+
5+
ESP_DoubleResetDetector is a library for the ESP8266/Arduino platform
6+
to enable trigger configure mode by resetting ESP32 / ESP8266 twice.
7+
8+
Forked from DataCute https://github.com/datacute/DoubleResetDetector
9+
10+
Built by Khoi Hoang https://github.com/khoih-prog/ESP_DoubleResetDetector
11+
Licensed under MIT license
12+
Version: 1.1.2
13+
14+
Version Modified By Date Comments
15+
------- ----------- ---------- -----------
16+
1.0.0 K Hoang 15/12/2019 Initial coding
17+
1.0.1 K Hoang 30/12/2019 Now can use EEPROM or SPIFFS for both ESP8266 and ESP32. RTC still OK for ESP8266
18+
1.0.2 K Hoang 10/04/2020 Fix bug by left-over cpp file and in example.
19+
1.0.3 K Hoang 13/05/2020 Update to use LittleFS for ESP8266 core 2.7.1+
20+
1.1.0 K Hoang 04/12/2020 Add support to LittleFS for ESP32 using LITTLEFS Library
21+
1.1.1 K Hoang 28/12/2020 Suppress all possible compiler warnings
22+
1.1.2 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
2223
*****************************************************************************************************************************/
2324

2425
#pragma once
@@ -32,7 +33,7 @@
3233
#include <WProgram.h>
3334
#endif
3435

35-
#define ESP_DOUBLE_RESET_DETECTOR_VERSION "ESP_DoubleResetDetector v1.1.1"
36+
#define ESP_DOUBLE_RESET_DETECTOR_VERSION "ESP_DoubleResetDetector v1.1.2"
3637
#define ESP_DOUBLERESETDETECTOR_VERSION ESP_DOUBLE_RESET_DETECTOR_VERSION
3738

3839
//#define ESP_DRD_USE_EEPROM false

0 commit comments

Comments
 (0)