Skip to content

Commit 772a421

Browse files
Merge branch 'develop'
2 parents 79f86a7 + e1b0f2b commit 772a421

File tree

196 files changed

+4037
-1293
lines changed

Some content is hidden

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

196 files changed

+4037
-1293
lines changed

.github/workflows/ci-esp32.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: Continuous Integration (CI) for Esp32
2+
3+
on:
4+
push:
5+
6+
pull_request:
7+
branches: [ develop ]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
os: [ubuntu-20.04, windows-latest]
15+
variant: [esp32, esp32s2, esp32c3, esp32s3, esp32c2]
16+
idf_version: ["4.3", "4.4", "5.0"]
17+
exclude:
18+
- variant: esp32s3
19+
idf_version: "4.3"
20+
- variant: esp32c2
21+
idf_version: "4.3"
22+
- variant: esp32c2
23+
idf_version: "4.4"
24+
25+
concurrency:
26+
group: ${{ github.workflow }}-${{ github.ref }}-${{ toJson(matrix) }}
27+
cancel-in-progress: true
28+
29+
runs-on: ${{ matrix.os }}
30+
31+
env:
32+
SMING_ARCH: Esp32
33+
SMING_SOC: ${{ matrix.variant }}
34+
INSTALL_IDF_VER: ${{ matrix.idf_version }}
35+
36+
steps:
37+
- name: Fix autocrlf setting
38+
run: |
39+
git config --global --add core.autocrlf input
40+
41+
- name: Checkout code
42+
uses: actions/checkout@v3
43+
44+
- name: Configure environment
45+
shell: pwsh
46+
run: |
47+
"CI_BUILD_DIR=" + (Resolve-Path ".").path >> $env:GITHUB_ENV
48+
"SMING_HOME=" + (Resolve-Path "Sming").path >> $env:GITHUB_ENV
49+
50+
- name: Install build tools for Ubuntu
51+
if: ${{ matrix.os == 'ubuntu-20.04' }}
52+
run: |
53+
Tools/ci/install.sh
54+
55+
- name: Install build tools for Windows
56+
if: ${{ matrix.os == 'windows-latest' }}
57+
run: |
58+
. Tools/ci/setenv.ps1
59+
Tools/ci/install.cmd
60+
61+
- name: Build and test for ${{matrix.variant}} with IDF v${{matrix.idf_version}} on Ubuntu
62+
if: ${{ matrix.os == 'ubuntu-20.04' }}
63+
run: |
64+
source $SMING_HOME/../Tools/export.sh
65+
Tools/ci/build.sh
66+
67+
- name: Build and test for ${{matrix.variant}} with IDF v${{matrix.idf_version}} on Windows
68+
if: ${{ matrix.os == 'windows-latest' }}
69+
run: |
70+
. Tools/ci/setenv.ps1
71+
Tools/ci/build.cmd

.github/workflows/ci.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,12 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-20.04, windows-latest]
15-
variant: [esp8266, host, esp32, esp32s2, esp32c3, rp2040]
15+
variant: [esp8266, host, rp2040]
1616
include:
1717
- variant: esp8266
1818
arch: Esp8266
1919
- variant: host
2020
arch: Host
21-
- variant: esp32
22-
arch: Esp32
23-
- variant: esp32s2
24-
arch: Esp32
25-
- variant: esp32c3
26-
arch: Esp32
2721
- variant: rp2040
2822
arch: Rp2040
2923

@@ -33,6 +27,10 @@ jobs:
3327

3428
runs-on: ${{ matrix.os }}
3529

30+
env:
31+
SMING_ARCH: ${{ matrix.arch }}
32+
SMING_SOC: ${{ matrix.variant }}
33+
3634
steps:
3735
- name: Fix autocrlf setting
3836
run: |
@@ -46,21 +44,19 @@ jobs:
4644
run: |
4745
"CI_BUILD_DIR=" + (Resolve-Path ".").path >> $env:GITHUB_ENV
4846
"SMING_HOME=" + (Resolve-Path "Sming").path >> $env:GITHUB_ENV
49-
"SMING_ARCH=${{ matrix.arch }}" >> $env:GITHUB_ENV
50-
"SMING_SOC=${{ matrix.variant }}" >> $env:GITHUB_ENV
5147
5248
- name: Install build tools for Ubuntu
53-
if: ${{ matrix.os == 'ubuntu-20.04' }}
49+
if: ${{ matrix.os == 'ubuntu-20.04' }}
5450
run: |
5551
Tools/ci/install.sh
5652
5753
- name: Install build tools for Windows
58-
if: ${{ matrix.os == 'windows-latest' }}
54+
if: ${{ matrix.os == 'windows-latest' }}
5955
run: |
6056
. Tools/ci/setenv.ps1
6157
Tools/ci/install.cmd
6258
63-
- name: Build and test for ${{matrix.arch}} on Ubuntu
59+
- name: Build and test for ${{matrix.variant}} on Ubuntu
6460
env:
6561
CLANG_FORMAT: clang-format-8
6662
if: ${{ matrix.os == 'ubuntu-20.04' }}
@@ -69,7 +65,7 @@ jobs:
6965
$CLANG_FORMAT --version
7066
Tools/ci/build.sh
7167
72-
- name: Build and test for ${{matrix.arch}} on Windows
68+
- name: Build and test for ${{matrix.variant}} on Windows
7369
if: ${{ matrix.os == 'windows-latest' }}
7470
run: |
7571
. Tools/ci/setenv.ps1

.github/workflows/library.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
os: [ubuntu-latest, windows-latest]
24+
os: [ubuntu-20.04, windows-latest]
2525
variant: [esp8266, host, esp32, esp32s2, esp32c3, rp2040]
2626
include:
2727
- variant: esp8266
@@ -71,7 +71,7 @@ jobs:
7171
"SMING_SOC=${{ matrix.variant }}" >> $env:GITHUB_ENV
7272
7373
- name: Install build tools for Ubuntu
74-
if: ${{ matrix.os == 'ubuntu-latest' }}
74+
if: ${{ matrix.os == 'ubuntu-20.04' }}
7575
run: |
7676
. $SMING_HOME/../Tools/export.sh
7777
$SMING_HOME/../Tools/ci/install.sh $SMING_ARCH
@@ -85,7 +85,7 @@ jobs:
8585
- name: Build and Test for ${{matrix.arch}} on Ubuntu
8686
env:
8787
CLANG_FORMAT: clang-format-8
88-
if: ${{ matrix.os == 'ubuntu-latest' }}
88+
if: ${{ matrix.os == 'ubuntu-20.04' }}
8989
run: |
9090
. $SMING_HOME/../Tools/export.sh
9191
make -j$(nproc) -f $CI_MAKEFILE

.gitmodules

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@
6969
path = Sming/Components/rboot/rboot
7070
url = https://github.com/mikee47/rboot
7171
ignore = dirty
72+
[submodule "uzlib"]
73+
path = Sming/Components/uzlib/uzlib
74+
url = https://github.com/pfalcon/uzlib.git
75+
ignore = dirty
7276
[submodule "ws_parser"]
7377
path = Sming/Components/ws_parser
7478
url = https://github.com/charliesome/ws_parser.git
@@ -233,6 +237,10 @@
233237
path = Sming/Libraries/FatIFS
234238
url = https://github.com/mikee47/FatIFS
235239
ignore = dirty
240+
[submodule "Libraries.FlashIP"]
241+
path = Sming/Libraries/FlashIP
242+
url = https://github.com/mikee47/FlashIP
243+
ignore = dirty
236244
[submodule "Libraries.flatbuffers"]
237245
path = Sming/Libraries/flatbuffers/src
238246
url = https://github.com/google/flatbuffers.git
@@ -369,10 +377,14 @@
369377
path = Sming/Libraries/UPnP
370378
url = https://github.com/mikee47/Sming-UPnP
371379
ignore = dirty
372-
[submodule "Sming/Libraries/UPnP-Schema"]
380+
[submodule "Libraries.UPnP-Schema"]
373381
path = Sming/Libraries/UPnP-Schema
374382
url = https://github.com/mikee47/UPnP-Schema
375383
ignore = dirty
384+
[submodule "Libraries.USB"]
385+
path = Sming/Libraries/USB
386+
url = https://github.com/mikee47/Sming-USB
387+
ignore = dirty
376388
[submodule "Libraries.VT100"]
377389
path = Sming/Libraries/VT100
378390
url = https://github.com/mikee47/VT100

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Sming
22

33
Sming is an asynchronous embedded C/C++ framework with superb performance and multiple network features.
4-
Sming is [open source](LICENSE), modular and supports [multiple architectures](https://sming.readthedocs.io/en/latest/features.html) including ESP8266 and ESP32.
4+
Sming is [open source](LICENSE), modular and supports [multiple architectures](https://sming.readthedocs.io/en/latest/features.html) including ESP8266, ESP32 and RP2040.
55

66
[![Examples](https://github.com/SmingHub/Sming/wiki/images/small/combine.png)](https://github.com/SmingHub/Sming/wiki/examples)
77

@@ -29,14 +29,14 @@ You can also try Sming without installing anything locally. We have an [interact
2929

3030
The purpose of Sming is to simplify the creation of embedded applications. The documentation will help you get started in no time.
3131

32-
- [**Documentation for version 4.7.0**](https://sming.readthedocs.io/en/stable) - current stable version.
32+
- [**Documentation for version 5.0.0**](https://sming.readthedocs.io/en/stable) - current stable version.
3333
- [Documentation for latest](https://sming.readthedocs.io/en/latest) - development version.
3434

3535
## Releases
3636

3737
### Stable
3838

39-
- [Sming V4.7.0](https://github.com/SmingHub/Sming/releases/tag/4.7.0) - great new features, performance and stability improvements.
39+
- [Sming V5.0.0](https://github.com/SmingHub/Sming/releases/tag/5.0.0) - great new features, performance and stability improvements.
4040

4141
### Development
4242

0 commit comments

Comments
 (0)