Skip to content

Commit ab0bb19

Browse files
v4.0.9
2 parents 0903757 + 440278a commit ab0bb19

File tree

15 files changed

+219
-91
lines changed

15 files changed

+219
-91
lines changed

.github/workflows/ci.yml

Lines changed: 79 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,57 @@ on:
44
push:
55
paths-ignore:
66
- "**/**.md"
7+
- "LICENSE"
78
- "keywords.txt"
89
- "library.json"
910
- "library.properties"
10-
- "docs/**"
11+
- "portal"
12+
- "docs/*"
1113
pull_request:
1214
paths-ignore:
1315
- "**/**.md"
16+
- "LICENSE"
1417
- "keywords.txt"
1518
- "library.json"
1619
- "library.properties"
17-
- "docs/**"
20+
- "portal"
21+
- "docs/*"
1822

1923
jobs:
2024
arduino:
21-
name: arduino ${{ matrix.name }}
25+
name: Arduino - ${{ matrix.name }}
2226
runs-on: ubuntu-latest
2327
strategy:
2428
fail-fast: false
2529
matrix:
2630
include:
27-
- name: package_esp32_index.json
31+
- name: CI ESP8266
32+
core: esp8266:esp8266
33+
board: esp8266:esp8266:huzzah
34+
index_url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
35+
36+
- name: CI ESP32
2837
core: esp32:esp32
2938
board: esp32:esp32:esp32
3039
index_url: https://espressif.github.io/arduino-esp32/package_esp32_index.json
31-
- name: package_esp32_dev_index.json
40+
41+
- name: CI ESP32 (Dev Branch)
3242
core: esp32:esp32
3343
board: esp32:esp32:esp32
3444
index_url: https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json
35-
- name: package_esp8266com_index.json
36-
core: esp8266:esp8266
37-
board: esp8266:esp8266:huzzah
38-
index_url: https://arduino.esp8266.com/stable/package_esp8266com_index.json
39-
45+
46+
- name: CI Pico W | RP2040+W
47+
core: rp2040:rp2040
48+
board: rp2040:rp2040:rpipicow
49+
# index_url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
50+
index_url: https://github.com/earlephilhower/arduino-pico/releases/download/4.4.3/package_rp2040_index.json
51+
52+
- name: CI Pico 2W | RP2350+W
53+
core: rp2040:rp2040
54+
board: rp2040:rp2040:rpipico2w
55+
# index_url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
56+
index_url: https://github.com/earlephilhower/arduino-pico/releases/download/4.4.3/package_rp2040_index.json
57+
4058
steps:
4159
- name: Checkout
4260
uses: actions/checkout@v4
@@ -55,17 +73,23 @@ jobs:
5573
- name: Install core
5674
run: arduino-cli core install --additional-urls "${{ matrix.index_url }}" ${{ matrix.core }}
5775

58-
- name: Install AsyncTCP
59-
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/AsyncTCP#v3.2.10
76+
- name: Install AsyncTCP (ESP32)
77+
if: ${{ matrix.core == 'esp32:esp32' }}
78+
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/ESP32Async/AsyncTCP#v3.3.5
6079

61-
- name: Install ESPAsyncTCP
62-
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/esphome-ESPAsyncTCP#v2.0.0
80+
- name: Install ESPAsyncTCP (ESP8266)
81+
if: ${{ matrix.core == 'esp8266:esp8266' }}
82+
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/ESP32Async/ESPAsyncTCP#v2.0.0
83+
84+
- name: Install RPAsyncTCP (RP2040)
85+
if: ${{ matrix.core == 'rp2040:rp2040' }}
86+
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/ayushsharma82/RPAsyncTCP#v1.3.0
6387

6488
- name: Install ESPAsyncWebServer
65-
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/mathieucarbou/ESPAsyncWebServer#v3.3.14
89+
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/ESP32Async/ESPAsyncWebServer#v3.7.1
6690

6791
- name: Install ArduinoJson
68-
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/bblanchon/ArduinoJson#v7.1.0
92+
run: ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://github.com/bblanchon/ArduinoJson#v7.3.0
6993

7094
- name: Build AccessPoint
7195
run: arduino-cli compile --library . --warnings none -b ${{ matrix.board }} "examples/AccessPoint/AccessPoint.ino"
@@ -86,65 +110,68 @@ jobs:
86110
run: arduino-cli compile --library . --warnings none -b ${{ matrix.board }} "examples/Interactive/Interactive.ino"
87111

88112
platformio:
89-
name: "pio:${{ matrix.env }}:${{ matrix.board }}"
113+
name: PlatformIO - ${{ matrix.name }}
90114
runs-on: ubuntu-latest
91115
strategy:
92116
fail-fast: false
93117
matrix:
94118
include:
95-
- env: ci-arduino-2
96-
board: esp32dev
97-
- env: ci-arduino-2
98-
board: esp32-s2-saola-1
99-
- env: ci-arduino-2
100-
board: esp32-s3-devkitc-1
101-
- env: ci-arduino-2
102-
board: esp32-c3-devkitc-02
103-
104-
- env: ci-arduino-3
105-
board: esp32dev
106-
- env: ci-arduino-3
107-
board: esp32-s2-saola-1
108-
- env: ci-arduino-3
109-
board: esp32-s3-devkitc-1
110-
- env: ci-arduino-3
111-
board: esp32-c3-devkitc-02
112-
- env: ci-arduino-3
113-
board: esp32-c6-devkitc-1
119+
- name: CI ESP8266 | Huzzah
120+
env: ci-esp8266
121+
board: huzzah
122+
123+
- name: CI ESP8266 | D1 Mini
124+
env: ci-esp8266
125+
board: d1_mini
114126

115-
- env: ci-arduino-310rc1
127+
- name: CI ESP32
128+
env: ci-esp32
116129
board: esp32dev
117-
- env: ci-arduino-310rc1
130+
131+
- name: CI ESP32-S2
132+
env: ci-esp32
118133
board: esp32-s2-saola-1
119-
- env: ci-arduino-310rc1
134+
135+
- name: CI ESP32-S3
136+
env: ci-esp32
120137
board: esp32-s3-devkitc-1
121-
- env: ci-arduino-310rc1
138+
139+
- name: CI ESP32-C3
140+
env: ci-esp32
122141
board: esp32-c3-devkitc-02
123-
- env: ci-arduino-310rc1
142+
143+
- name: CI ESP32-C6
144+
env: ci-esp32
124145
board: esp32-c6-devkitc-1
125-
126-
- env: ci-esp8266
127-
board: huzzah
128-
- env: ci-esp8266
129-
board: d1_mini
146+
147+
- name: CI Pico W | RP2040+W
148+
env: ci-rp2040
149+
board: rpipicow
150+
platform: https://github.com/maxgerhardt/platform-raspberrypi.git
151+
opts: "--project-option 'board_build.core=earlephilhower'"
152+
153+
- name: CI Pico 2W | RP2350+W
154+
env: ci-rp2350
155+
board: rpipico2w
156+
platform: https://github.com/maxgerhardt/platform-raspberrypi.git
157+
opts: "--project-option 'board_build.core=earlephilhower'"
130158
steps:
131-
- name: Checkout
132-
uses: actions/checkout@v4
159+
- uses: actions/checkout@v4
133160

134-
- name: Cache PlatformIO
161+
- name: Set up cache
135162
uses: actions/cache@v4
136163
with:
137164
key: ${{ runner.os }}-pio
138165
path: |
139166
~/.cache/pip
140167
~/.platformio
141-
142-
- name: Python
168+
169+
- name: Setup Python
143170
uses: actions/setup-python@v5
144171
with:
145172
python-version: "3.x"
146173

147-
- name: Build
174+
- name: Setup PlatformIO
148175
run: |
149176
python -m pip install --upgrade pip
150177
pip install --upgrade platformio

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<br/>
1616
<br/>
17-
<p><b>ESP-DASH</b> is the 4th-gen blazing fast library to create a real-time, on-device dashboard for <b>ESP8266</b>, <b>ESP32</b> & <b>RP2040</b> microcontrollers.
17+
<p><b>ESP-DASH</b> is the 4th-gen blazing fast library to create a real-time, on-device dashboard for <b>ESP8266</b>, <b>ESP32</b>, <b>RP2040</b> and <b>RP2350</b> microcontrollers.
1818

1919
This library includes charts, display cards, interactive buttons and many more components to create a perfect dashboard which is accessible locally via your IoT device's IP. ESP-DASH does not require any kind of internet connection, everything is stored locally.</p>
2020

docs/logo-collapsed.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/AccessPoint/AccessPoint.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
#include <WiFi.h>
3131
#include <AsyncTCP.h>
3232
#include <ESPAsyncWebServer.h>
33+
#elif defined(TARGET_RP2040) || defined(PICO_RP2040) || defined(TARGET_RP2350) || defined(PICO_RP2350)
34+
/* RP2040 or RP2350 Dependencies */
35+
#include <WiFi.h>
36+
#include <RPAsyncTCP.h>
37+
#include <ESPAsyncWebServer.h>
3338
#endif
3439
#include <ESPDash.h>
3540

examples/Basic/Basic.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
#include <WiFi.h>
3131
#include <AsyncTCP.h>
3232
#include <ESPAsyncWebServer.h>
33+
#elif defined(TARGET_RP2040) || defined(PICO_RP2040) || defined(TARGET_RP2350) || defined(PICO_RP2350)
34+
/* RP2040 or RP2350 Dependencies */
35+
#include <WiFi.h>
36+
#include <RPAsyncTCP.h>
37+
#include <ESPAsyncWebServer.h>
3338
#endif
3439
#include <ESPDash.h>
3540

examples/Benchmark/Benchmark.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
#include <WiFi.h>
2525
#include <AsyncTCP.h>
2626
#include <ESPAsyncWebServer.h>
27+
#elif defined(TARGET_RP2040) || defined(PICO_RP2040) || defined(TARGET_RP2350) || defined(PICO_RP2350)
28+
/* RP2040 or RP2350 Dependencies */
29+
#include <WiFi.h>
30+
#include <RPAsyncTCP.h>
31+
#include <ESPAsyncWebServer.h>
2732
#endif
2833

2934
#include <ESPDash.h>

examples/Chart/Chart.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
#include <WiFi.h>
3131
#include <AsyncTCP.h>
3232
#include <ESPAsyncWebServer.h>
33+
#elif defined(TARGET_RP2040) || defined(PICO_RP2040) || defined(TARGET_RP2350) || defined(PICO_RP2350)
34+
/* RP2040 or RP2350 Dependencies */
35+
#include <WiFi.h>
36+
#include <RPAsyncTCP.h>
37+
#include <ESPAsyncWebServer.h>
3338
#endif
3439
#include <ESPDash.h>
3540

examples/Dynamic/Dynamic.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
#include <WiFi.h>
3131
#include <AsyncTCP.h>
3232
#include <ESPAsyncWebServer.h>
33+
#elif defined(TARGET_RP2040) || defined(PICO_RP2040) || defined(TARGET_RP2350) || defined(PICO_RP2350)
34+
/* RP2040 or RP2350 Dependencies */
35+
#include <WiFi.h>
36+
#include <RPAsyncTCP.h>
37+
#include <ESPAsyncWebServer.h>
3338
#endif
3439
#include <ESPDash.h>
3540

examples/Interactive/Interactive.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
#include <WiFi.h>
3131
#include <AsyncTCP.h>
3232
#include <ESPAsyncWebServer.h>
33+
#elif defined(TARGET_RP2040) || defined(PICO_RP2040) || defined(TARGET_RP2350) || defined(PICO_RP2350)
34+
/* RP2040 or RP2350 Dependencies */
35+
#include <WiFi.h>
36+
#include <RPAsyncTCP.h>
37+
#include <ESPAsyncWebServer.h>
3338
#endif
3439
#include <ESPDash.h>
3540

0 commit comments

Comments
 (0)