updated WM and aliot loop scheduler
This commit is contained in:
24
lib/WifiManager/.github/ISSUE_TEMPLATE.md
vendored
24
lib/WifiManager/.github/ISSUE_TEMPLATE.md
vendored
@@ -1,7 +1,5 @@
|
||||
## PLEASE TRY DEVELOPMENT BRANCH before submitting bugs on release or master, in case they were already fixed. ##
|
||||
|
||||
## POST SERIAL OUTPUT !
|
||||
|
||||
Issues without basic info will be ignored or closed!
|
||||
|
||||
Please fill the info fields, it helps to get you faster support ;)
|
||||
@@ -17,24 +15,13 @@ https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.rst
|
||||
### Basic Infos
|
||||
|
||||
#### Hardware
|
||||
**WiFimanager Branch/Release:**
|
||||
- [ ] Master
|
||||
- [ ] Development
|
||||
WiFimanager Branch/Release: Master
|
||||
|
||||
**Esp8266/Esp32:**
|
||||
- [ ] ESP8266
|
||||
- [ ] ESP32
|
||||
Esp8266/Esp32:
|
||||
|
||||
**Hardware: ESP-12e, esp01, esp25**
|
||||
- [ ] ESP01
|
||||
- [ ] ESP12 E/F/S (nodemcu, wemos, feather)
|
||||
- [ ] Other
|
||||
Hardware: ESP-12e, esp01, esp25
|
||||
|
||||
|
||||
**ESP Core Version: 2.4.0, staging**
|
||||
- [ ] 2.3.0
|
||||
- [ ] 2.4.0
|
||||
- [ ] staging (master/dev)
|
||||
Core Version: 2.4.0, staging
|
||||
|
||||
### Description
|
||||
|
||||
@@ -49,7 +36,7 @@ Additional libraries:
|
||||
### Sketch
|
||||
|
||||
```cpp
|
||||
|
||||
#BEGIN
|
||||
#include <Arduino.h>
|
||||
|
||||
void setup() {
|
||||
@@ -59,6 +46,7 @@ void setup() {
|
||||
void loop() {
|
||||
|
||||
}
|
||||
#END
|
||||
```
|
||||
|
||||
### Debug Messages
|
||||
|
||||
118
lib/WifiManager/.github/workflows/compile_examples.yaml
vendored
Normal file
118
lib/WifiManager/.github/workflows/compile_examples.yaml
vendored
Normal file
@@ -0,0 +1,118 @@
|
||||
name: Compile examples
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '.github/workflows/cpp_lint.yml'
|
||||
- '.github/workflows/compile_library.yml'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '.github/workflows/cpp_lint.yml'
|
||||
- '.github/workflows/compile_library.yml'
|
||||
|
||||
jobs:
|
||||
esp8266:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
example:
|
||||
- "examples/Parameters/SPIFFS/AutoConnectWithFSParametersAndCustomIP/AutoConnectWithFSParametersAndCustomIP.ino"
|
||||
- "examples/Parameters/SPIFFS/AutoConnectWithFSParameters/AutoConnectWithFSParameters.ino"
|
||||
- "examples/NonBlocking/OnDemandNonBlocking/onDemandNonBlocking.ino"
|
||||
- "examples/NonBlocking/AutoConnectNonBlockingwParams/AutoConnectNonBlockingwParams.ino"
|
||||
- "examples/NonBlocking/AutoConnectNonBlocking/AutoConnectNonBlocking.ino"
|
||||
- "examples/Basic/Basic.ino"
|
||||
- "examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino"
|
||||
- "examples/Advanced/Advanced.ino"
|
||||
- "examples/Old_examples/AutoConnectWithStaticIP/AutoConnectWithStaticIP.ino"
|
||||
- "examples/Old_examples/AutoConnectWithFeedback/AutoConnectWithFeedback.ino"
|
||||
- "examples/Old_examples/AutoConnectWithReset/AutoConnectWithReset.ino"
|
||||
- "examples/Old_examples/AutoConnectWithTimeout/AutoConnectWithTimeout.ino"
|
||||
- "examples/ParamsChildClass/ParamsChildClass.ino"
|
||||
- "examples/OnDemand/OnDemandConfigPortal/OnDemandConfigPortal.ino"
|
||||
- "examples/OnDemand/OnDemandWebPortal/onDemandWebPortal.ino"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cache pip
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: ${{ runner.os }}-pip-
|
||||
- name: Cache PlatformIO
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.platformio
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
- name: Install PlatformIO
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install --upgrade platformio
|
||||
- name: Install 3rd party dependecies
|
||||
run: |
|
||||
pio lib -g install \
|
||||
https://github.com/tzapu/WiFiManager \
|
||||
https://github.com/bblanchon/ArduinoJson \
|
||||
https://github.com/knolleary/pubsubclient
|
||||
|
||||
- name: Run PlatformIO Examples
|
||||
run: pio ci --board=nodemcuv2
|
||||
env:
|
||||
PLATFORMIO_CI_SRC: ${{ matrix.example }}
|
||||
|
||||
esp32:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
example:
|
||||
- "examples/Parameters/SPIFFS/AutoConnectWithFSParametersAndCustomIP/AutoConnectWithFSParametersAndCustomIP.ino"
|
||||
- "examples/Parameters/SPIFFS/AutoConnectWithFSParameters/AutoConnectWithFSParameters.ino"
|
||||
- "examples/NonBlocking/OnDemandNonBlocking/onDemandNonBlocking.ino"
|
||||
- "examples/NonBlocking/AutoConnectNonBlockingwParams/AutoConnectNonBlockingwParams.ino"
|
||||
- "examples/NonBlocking/AutoConnectNonBlocking/AutoConnectNonBlocking.ino"
|
||||
- "examples/Basic/Basic.ino"
|
||||
- "examples/Super/OnDemandConfigPortal/OnDemandConfigPortal.ino"
|
||||
- "examples/Advanced/Advanced.ino"
|
||||
- "examples/Old_examples/AutoConnectWithStaticIP/AutoConnectWithStaticIP.ino"
|
||||
- "examples/Old_examples/AutoConnectWithFeedback/AutoConnectWithFeedback.ino"
|
||||
- "examples/Old_examples/AutoConnectWithReset/AutoConnectWithReset.ino"
|
||||
- "examples/Old_examples/AutoConnectWithTimeout/AutoConnectWithTimeout.ino"
|
||||
- "examples/ParamsChildClass/ParamsChildClass.ino"
|
||||
- "examples/OnDemand/OnDemandConfigPortal/OnDemandConfigPortal.ino"
|
||||
- "examples/OnDemand/OnDemandWebPortal/onDemandWebPortal.ino"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cache pip
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: ${{ runner.os }}-pip-
|
||||
- name: Cache PlatformIO
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.platformio
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
- name: Install PlatformIO
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install --upgrade platformio
|
||||
- name: Install 3rd party dependecies
|
||||
run: |
|
||||
pio lib -g install \
|
||||
https://github.com/tzapu/WiFiManager \
|
||||
https://github.com/bblanchon/ArduinoJson \
|
||||
https://github.com/knolleary/pubsubclient
|
||||
|
||||
- name: Run PlatformIO Examples
|
||||
run: pio ci --board=esp32dev
|
||||
env:
|
||||
PLATFORMIO_CI_SRC: ${{ matrix.example }}
|
||||
53
lib/WifiManager/.github/workflows/compile_library.yml
vendored
Normal file
53
lib/WifiManager/.github/workflows/compile_library.yml
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
name: Compile Library
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '.github/workflows/cpp_lint.yml'
|
||||
- '.github/workflows/compile_examples.yml'
|
||||
- 'examples/**'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '.github/workflows/cpp_lint.yml'
|
||||
- '.github/workflows/compile_examples.yml'
|
||||
- 'examples/**'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
board:
|
||||
- "nodemcuv2"
|
||||
- "lolin32"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cache pip
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: ${{ runner.os }}-pip-
|
||||
- name: Cache PlatformIO
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.platformio
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
- name: Install PlatformIO
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install --upgrade platformio
|
||||
|
||||
- name: Create main file
|
||||
run: |
|
||||
echo "#include <Arduino.h>" >> main.ino
|
||||
echo "void setup() {}" >> main.ino
|
||||
echo "void loop() {}" >> main.ino
|
||||
|
||||
- name: Run PlatformIO
|
||||
run: pio ci --board=${{ matrix.board }} .
|
||||
30
lib/WifiManager/.github/workflows/cpp_lint.yml
vendored
Normal file
30
lib/WifiManager/.github/workflows/cpp_lint.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: cpplint
|
||||
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '.github/workflows/compile_*.yml'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '.github/workflows/compile_*.yml'
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: cpplint
|
||||
uses: reviewdog/action-cpplint@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
reporter: github-pr-check
|
||||
flags: --linelength=100
|
||||
target: .
|
||||
filter: "-whitespace/tab\
|
||||
,-readability/braces\
|
||||
,-whitespace/braces\
|
||||
,-whitespace/comments\
|
||||
,-whitespace/indent\
|
||||
,-whitespace/newline\
|
||||
,-whitespace/operators\
|
||||
,-whitespace/parens\
|
||||
"
|
||||
Reference in New Issue
Block a user