Skip to content

Commit 7efe0d6

Browse files
authored
Merge branch 'adafruit:main' into paulskpt_lolin_s3_pro
2 parents 80bf97e + ad6bc74 commit 7efe0d6

File tree

2,213 files changed

+86464
-44592
lines changed

Some content is hidden

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

2,213 files changed

+86464
-44592
lines changed

.codespell/ignore-words.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ numer
2424
arithmetics
2525
ftbfs
2626
straightaway
27+
ftbs
28+
ftb

.git-blame-ignore-revs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
#all: Reformat remaining C code that doesn't have a space after a comma.
1+
# all: Fix various spelling mistakes found by codespell 2.2.6.
2+
cf490a70917a1b2d38ba9b58e763e0837d0f7ca7
3+
4+
# all: Fix spelling mistakes based on codespell check.
5+
b1229efbd1509654dec6053865ab828d769e29db
6+
7+
# top: Update Python formatting to black "2023 stable style".
8+
8b2748269244304854b3462cb8902952b4dcb892
9+
10+
# all: Reformat remaining C code that doesn't have a space after a comma.
211
5b700b0af90591d6b1a2c087bb8de6b7f1bfdd2d
312

413
# ports: Reformat more C and Python source code.

.github/actions/deps/external/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ runs:
2525
inputs.port != 'espressif'
2626
uses: carlosperate/arm-none-eabi-gcc-action@v1
2727
with:
28-
release: '10-2020-q4'
28+
# When changing this update what Windows grabs too!
29+
release: '13.2.Rel1'
2930

3031
# espressif
3132
- name: Get espressif toolchain

.github/actions/deps/ports/broadcom/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
tar -xaf dosfstools-4.2.tar.gz
1717
cd dosfstools-4.2
1818
./configure
19-
make -j 2
19+
make -j4
2020
cd src
2121
echo >> $GITHUB_PATH $(pwd)
2222
shell: bash

.github/actions/deps/ports/espressif/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ runs:
1818
shell: bash
1919

2020
- name: Cache IDF submodules
21-
uses: actions/cache@v3
21+
uses: actions/cache@v4
2222
with:
2323
path: |
2424
.git/modules/ports/espressif/esp-idf
2525
ports/espressif/esp-idf
2626
key: submodules-idf-${{ steps.idf-commit.outputs.commit }}
2727

2828
- name: Cache IDF tools
29-
uses: actions/cache@v3
29+
uses: actions/cache@v4
3030
with:
3131
path: ${{ env.IDF_TOOLS_PATH }}
3232
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-idf-${{ steps.idf-commit.outputs.commit }}

.github/actions/deps/python/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ runs:
1616
- name: Cache python dependencies
1717
id: cache-python-deps
1818
if: inputs.action == 'cache'
19-
uses: actions/cache@v3
19+
uses: actions/cache@v4
2020
with:
2121
path: .cp_tools
2222
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-cp-${{ hashFiles('requirements-dev.txt') }}
2323

2424
- name: Restore python dependencies
2525
id: restore-python-deps
2626
if: inputs.action == 'restore'
27-
uses: actions/cache/restore@v3
27+
uses: actions/cache/restore@v4
2828
with:
2929
path: .cp_tools
3030
key: ${{ runner.os }}-${{ env.pythonLocation }}-tools-cp-${{ hashFiles('requirements-dev.txt') }}

.github/actions/deps/submodules/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,15 @@ runs:
4848

4949
- name: Cache submodules
5050
if: ${{ inputs.action == 'cache' }}
51-
uses: actions/cache@v3
51+
uses: actions/cache@v4
5252
with:
5353
path: ".git/modules/\n${{ join(fromJSON(steps.create-submodule-status.outputs.submodules), '\n') }}"
5454
key: submodules-common-${{ hashFiles('submodule_status') }}
5555
enableCrossOsArchive: true
5656

5757
- name: Restore submodules
5858
if: ${{ inputs.action == 'restore' }}
59-
uses: actions/cache/restore@v3
59+
uses: actions/cache/restore@v4
6060
with:
6161
path: ".git/modules/\n${{ join(fromJSON(steps.create-submodule-status.outputs.submodules), '\n') }}"
6262
key: submodules-common-${{ hashFiles('submodule_status') }}

.github/actions/mpy_cross/action.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ inputs:
55
required: false
66
default: true
77
type: boolean
8+
cp-version:
9+
required: true
10+
type: string
811

912
runs:
1013
using: composite
@@ -13,25 +16,27 @@ runs:
1316
id: download-mpy-cross
1417
if: inputs.download == 'true'
1518
continue-on-error: true
16-
uses: actions/download-artifact@v3
19+
uses: actions/download-artifact@v4
1720
with:
1821
name: mpy-cross
19-
path: mpy-cross
22+
path: mpy-cross/build
2023

2124
- name: Make mpy-cross executable
2225
if: inputs.download == 'true' && steps.download-mpy-cross.outcome == 'success'
23-
run: sudo chmod +x mpy-cross/mpy-cross
26+
run: sudo chmod +x mpy-cross/build/mpy-cross
2427
shell: bash
2528

2629
- name: Build mpy-cross
2730
if: inputs.download == 'false' || steps.download-mpy-cross.outcome == 'failure'
28-
run: make -C mpy-cross -j2
31+
run: make -C mpy-cross -j4
2932
shell: bash
33+
env:
34+
CP_VERSION: ${{ inputs.cp-version }}
3035

3136
- name: Upload mpy-cross
3237
if: inputs.download == 'false' || steps.download-mpy-cross.outcome == 'failure'
3338
continue-on-error: true
34-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
3540
with:
3641
name: mpy-cross
37-
path: mpy-cross/mpy-cross
42+
path: mpy-cross/build/mpy-cross

.github/workflows/build-boards.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,29 +26,36 @@ jobs:
2626
board: ${{ fromJSON(inputs.boards) }}
2727
steps:
2828
- name: Set up repository
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030
with:
3131
submodules: false
32+
show-progress: false
3233
fetch-depth: 1
34+
3335
- name: Set up python
34-
uses: actions/setup-python@v4
36+
uses: actions/setup-python@v5
3537
with:
3638
python-version: 3.x
39+
3740
- name: Set up port
3841
id: set-up-port
3942
uses: ./.github/actions/deps/ports
4043
with:
4144
board: ${{ matrix.board }}
45+
4246
- name: Set up submodules
4347
id: set-up-submodules
4448
uses: ./.github/actions/deps/submodules
49+
4550
- name: Set up external
4651
uses: ./.github/actions/deps/external
4752
with:
4853
port: ${{ steps.set-up-port.outputs.port }}
4954
- name: Set up mpy-cross
5055
if: steps.set-up-submodules.outputs.frozen == 'True'
5156
uses: ./.github/actions/mpy_cross
57+
with:
58+
cp-version: ${{ inputs.cp-version }}
5259

5360
- name: Versions
5461
run: |
@@ -65,17 +72,21 @@ jobs:
6572
6673
- name: Set up build failure matcher
6774
run: echo "::add-matcher::$GITHUB_WORKSPACE/.github/workflows/match-build-fail.json"
75+
6876
- name: Build board
6977
run: python3 -u build_release_files.py
7078
working-directory: tools
7179
env:
7280
BOARDS: ${{ matrix.board }}
81+
PULL: ${{ github.event.number }}
82+
HEAD_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
7383

7484
- name: Upload artifact
75-
uses: actions/upload-artifact@v3
85+
uses: actions/upload-artifact@v4
7686
with:
7787
name: ${{ matrix.board }}
7888
path: bin/${{ matrix.board }}
89+
7990
- name: Upload to S3
8091
uses: ./.github/actions/upload_aws
8192
with:

.github/workflows/build-mpy-cross.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ jobs:
2828
OS_static-raspbian: linux-raspbian
2929
steps:
3030
- name: Set up repository
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
submodules: false
34+
show-progress: false
3435
fetch-depth: 1
3536
- name: Set up python
36-
uses: actions/setup-python@v4
37+
uses: actions/setup-python@v5
3738
with:
3839
python-version: 3.x
3940
- name: Set up submodules
@@ -53,22 +54,22 @@ jobs:
5354
sudo apt-get install -y mingw-w64
5455
5556
- name: Build mpy-cross.${{ matrix.mpy-cross }}
56-
run: make -C mpy-cross -j2 -f Makefile.${{ matrix.mpy-cross }}
57+
run: make -C mpy-cross -j4 -f Makefile.${{ matrix.mpy-cross }}
5758

5859
- name: Set output
5960
run: |
6061
echo >> $GITHUB_ENV "EX=${{ env[format('EX_{0}', matrix.mpy-cross)] || matrix.mpy-cross }}"
6162
echo >> $GITHUB_ENV "OS=${{ env[format('OS_{0}', matrix.mpy-cross)] }}"
6263
6364
- name: Upload artifact
64-
uses: actions/upload-artifact@v3
65+
uses: actions/upload-artifact@v4
6566
with:
6667
name: mpy-cross.${{ env.EX }}
67-
path: mpy-cross/mpy-cross.${{ env.EX }}
68+
path: mpy-cross/build-${{ matrix.mpy-cross }}/mpy-cross.${{ env.EX }}
6869
- name: Upload to S3
6970
uses: ./.github/actions/upload_aws
7071
with:
71-
source: mpy-cross/mpy-cross.${{ env.EX }}
72+
source: mpy-cross/build-${{ matrix.mpy-cross }}/mpy-cross.${{ env.EX }}
7273
destination: mpy-cross/${{ env.OS }}/mpy-cross-${{ env.OS }}-${{ env.CP_VERSION }}.${{ env.EX }}
7374
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
7475
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)