Skip to content

Commit 3e11e8a

Browse files
authored
Merge branch 'adafruit:main' into board-support-for-vidi-x
2 parents e60bddf + 079a5f5 commit 3e11e8a

File tree

3,861 files changed

+33821
-69524
lines changed

Some content is hidden

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

3,861 files changed

+33821
-69524
lines changed

.github/workflows/custom-board-build.yml renamed to .github/workflows/build-board-custom.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Custom board build
1+
name: Build board (custom)
22

33
on:
44
workflow_dispatch:
@@ -21,6 +21,11 @@ on:
2121
description: 'Flags: Build flags (e.g. CIRCUITPY_WIFI=1)'
2222
required: false
2323
type: string
24+
branch:
25+
description: 'Branch (only if Version="latest")'
26+
required: false
27+
default: 'main'
28+
type: string
2429
debug:
2530
description: 'Make a debug build'
2631
required: false
@@ -36,7 +41,22 @@ jobs:
3641
- name: Set up repository
3742
run: |
3843
git clone --filter=tree:0 https://github.com/adafruit/circuitpython.git $GITHUB_WORKSPACE
44+
- name: Checkout head / tag
45+
run: |
3946
git checkout ${{ inputs.version == 'latest' && 'HEAD' || inputs.version }}
47+
- name: fork compatibility
48+
if: github.repository_owner != 'adafruit'
49+
run: |
50+
git remote add fork https://github.com/${{github.repository}}.git
51+
git fetch fork --filter=tree:0
52+
- name: branch compatibility
53+
if: inputs.branch != 'main' && inputs.version == 'latest' && github.repository_owner == 'adafruit'
54+
run: |
55+
git checkout ${{inputs.branch}}
56+
- name: branch compatibility (fork)
57+
if: inputs.branch != '' && inputs.version == 'latest' && github.repository_owner != 'adafruit'
58+
run: |
59+
git checkout -b fork-branch fork/${{inputs.branch}}
4060
- name: Set up identifier
4161
if: inputs.debug || inputs.flags != ''
4262
run: |

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
cp-version: ${{ needs.scheduler.outputs.cp-version }}
103103

104104
mpy-cross-mac:
105-
runs-on: macos-11
105+
runs-on: macos-12
106106
needs: scheduler
107107
if: needs.scheduler.outputs.ports != '{}'
108108
env:
@@ -129,29 +129,29 @@ jobs:
129129
run: make -C mpy-cross -j4
130130
- uses: actions/upload-artifact@v4
131131
with:
132-
name: mpy-cross-macos-11-x64
132+
name: mpy-cross-macos-x64
133133
path: mpy-cross/build/mpy-cross
134134
- name: Build mpy-cross (arm64)
135135
run: make -C mpy-cross -j4 -f Makefile.m1 V=2
136136
- uses: actions/upload-artifact@v4
137137
with:
138-
name: mpy-cross-macos-11-arm64
138+
name: mpy-cross-macos-arm64
139139
path: mpy-cross/build-arm64/mpy-cross-arm64
140140
- name: Make universal binary
141141
run: lipo -create -output mpy-cross-macos-universal mpy-cross/build/mpy-cross mpy-cross/build-arm64/mpy-cross-arm64
142142
- name: Upload artifact
143143
uses: actions/upload-artifact@v4
144144
with:
145-
name: mpy-cross-macos-11-universal
145+
name: mpy-cross-macos-universal
146146
path: mpy-cross-macos-universal
147147
- name: Upload to S3
148148
if: >-
149149
(github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') ||
150150
(github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
151151
run: |
152-
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross-macos-universal s3://adafruit-circuit-python/bin/mpy-cross/macos-11/mpy-cross-macos-11-${{ env.CP_VERSION }}-universal --no-progress --region us-east-1
153-
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/build-arm64/mpy-cross-arm64 s3://adafruit-circuit-python/bin/mpy-cross/macos-11/mpy-cross-macos-11-${{ env.CP_VERSION }}-arm64 --no-progress --region us-east-1
154-
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/build/mpy-cross s3://adafruit-circuit-python/bin/mpy-cross/macos-11/mpy-cross-macos-11-${{ env.CP_VERSION }}-x64 --no-progress --region us-east-1
152+
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross-macos-universal s3://adafruit-circuit-python/bin/mpy-cross/macos/mpy-cross-macos-${{ env.CP_VERSION }}-universal --no-progress --region us-east-1
153+
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/build-arm64/mpy-cross-arm64 s3://adafruit-circuit-python/bin/mpy-cross/macos/mpy-cross-macos-${{ env.CP_VERSION }}-arm64 --no-progress --region us-east-1
154+
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/build/mpy-cross s3://adafruit-circuit-python/bin/mpy-cross/macos/mpy-cross-macos-${{ env.CP_VERSION }}-x64 --no-progress --region us-east-1
155155
env:
156156
AWS_PAGER: ''
157157
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Install dependencies
3434
run: |
3535
sudo apt-get update
36-
sudo apt-get install -y gettext uncrustify
36+
sudo apt-get install -y gettext
3737
- name: Run pre-commit
3838
uses: pre-commit/[email protected]
3939
- name: Make patch

.gitmodules

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
[submodule "ports/espressif/esp-idf"]
144144
path = ports/espressif/esp-idf
145145
url = https://github.com/adafruit/esp-idf.git
146-
branch = circuitpython-v5.1.3
146+
branch = circuitpython-v5.2.2
147147
[submodule "ports/espressif/esp-protocols"]
148148
path = ports/espressif/esp-protocols
149149
url = https://github.com/espressif/esp-protocols.git
@@ -386,3 +386,12 @@
386386
[submodule "frozen/Adafruit_CircuitPython_Bitmap_Font"]
387387
path = frozen/Adafruit_CircuitPython_Bitmap_Font
388388
url = https://github.com/adafruit/Adafruit_CircuitPython_Bitmap_Font
389+
[submodule "frozen/Adafruit_CircuitPython_MPU6050"]
390+
path = frozen/Adafruit_CircuitPython_MPU6050
391+
url = https://github.com/adafruit/Adafruit_CircuitPython_MPU6050
392+
[submodule "frozen/Adafruit_CircuitPython_Pixel_Framebuf"]
393+
path = frozen/Adafruit_CircuitPython_Pixel_Framebuf
394+
url = https://github.com/adafruit/Adafruit_CircuitPython_Pixel_Framebuf
395+
[submodule "frozen/Adafruit_CircuitPython_LED_Animation"]
396+
path = frozen/Adafruit_CircuitPython_LED_Animation
397+
url = https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation

0 commit comments

Comments
 (0)