Skip to content

Commit 8dd02b3

Browse files
authored
Merge pull request #3 from TinyuZhao/main
Add compatibility for both new and legacy I2S drivers.
2 parents 26d1b17 + 81ca883 commit 8dd02b3

21 files changed

Lines changed: 1371 additions & 1890 deletions

File tree

.clang-format

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
---
2-
Language: Cpp
31
BasedOnStyle: Google
42
AccessModifierOffset: -4
53
AlignAfterOpenBracket: Align
@@ -164,4 +162,3 @@ StatementMacros:
164162
TabWidth: 4
165163
UseCRLF: false
166164
UseTab: Never
167-
...
Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
name: Arduino Lint Check
22
on:
33
push:
4-
branches: [ master ]
4+
branches: [ master, main ]
55
pull_request:
6-
branches: [ master ]
6+
branches: [ master, main ]
7+
workflow_dispatch:
8+
9+
defaults:
10+
run:
11+
shell: bash
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
717
jobs:
818
lint:
919
name: Lint Check
10-
runs-on: ubuntu-latest
20+
runs-on: [self-hosted, Linux, X64]
1121
steps:
12-
- uses: actions/checkout@v2
13-
- uses: arduino/arduino-lint-action@v1
22+
- uses: actions/checkout@v4
23+
- uses: arduino/arduino-lint-action@v2
1424
with:
1525
library-manager: update
1626
compliance: strict
17-
project-type: all
27+
project-type: all

.github/workflows/clang-format-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ on:
3535
jobs:
3636
formatting-check:
3737
name: Formatting Check
38-
runs-on: ubuntu-latest
38+
runs-on: [self-hosted, Linux, X64]
3939
strategy:
4040
matrix:
4141
path:

examples/M5Core/i2sloopback/i2sloopback.ino

Lines changed: 0 additions & 120 deletions
This file was deleted.

examples/M5Core/player_sd/player_sd.ino

Lines changed: 0 additions & 166 deletions
This file was deleted.

0 commit comments

Comments
 (0)