Skip to content

Commit 0a60aee

Browse files
committed
wip: compiles
2 parents a76ad34 + e7a78e0 commit 0a60aee

File tree

866 files changed

+23743
-7287
lines changed

Some content is hidden

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

866 files changed

+23743
-7287
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# Per default everything gets normalized and gets LF line endings on checkout.
26
* text eol=lf
37

.github/workflows/build.yml

Lines changed: 50 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
name: Build CI
26

37
on:
@@ -22,7 +26,9 @@ jobs:
2226
fetch-depth: 0
2327
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
2428
- name: CircuitPython version
25-
run: git describe --dirty --tags
29+
run: |
30+
git describe --dirty --tags
31+
echo "::set-env name=CP_VERSION::$(git describe --dirty --tags)"
2632
- name: Set up Python 3.8
2733
uses: actions/setup-python@v1
2834
with:
@@ -31,7 +37,7 @@ jobs:
3137
run: |
3238
sudo apt-get install -y eatmydata
3339
sudo eatmydata apt-get install -y gettext librsvg2-bin mingw-w64
34-
pip install requests sh click setuptools cpp-coveralls "Sphinx<4" sphinx-rtd-theme recommonmark sphinx-autoapi sphinxcontrib-svg2pdfconverter polib pyyaml astroid
40+
pip install requests sh click setuptools cpp-coveralls "Sphinx<4" sphinx-rtd-theme recommonmark sphinx-autoapi sphinxcontrib-svg2pdfconverter polib pyyaml astroid isort black awscli
3541
- name: Versions
3642
run: |
3743
gcc --version
@@ -68,7 +74,7 @@ jobs:
6874
name: stubs
6975
path: circuitpython-stubs*
7076
- name: Docs
71-
run: sphinx-build -E -W -b html . _build/html
77+
run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
7278
- uses: actions/upload-artifact@v2
7379
with:
7480
name: docs
@@ -80,24 +86,32 @@ jobs:
8086
working-directory: tools
8187
- name: Build mpy-cross.static-raspbian
8288
run: make -C mpy-cross -j2 -f Makefile.static-raspbian
83-
- uses: actions/upload-artifact@v1.0.0
89+
- uses: actions/upload-artifact@v2
8490
with:
8591
name: mpy-cross.static-raspbian
8692
path: mpy-cross/mpy-cross.static-raspbian
87-
8893
- name: Build mpy-cross.static
8994
run: make -C mpy-cross -j2 -f Makefile.static
90-
- uses: actions/upload-artifact@v1.0.0
95+
- uses: actions/upload-artifact@v2
9196
with:
9297
name: mpy-cross.static-amd64-linux
9398
path: mpy-cross/mpy-cross.static
94-
9599
- name: Build mpy-cross.static-mingw
96100
run: make -C mpy-cross -j2 -f Makefile.static-mingw
97-
- uses: actions/upload-artifact@v1.0.0
101+
- uses: actions/upload-artifact@v2
98102
with:
99103
name: mpy-cross.static-x64-windows
100104
path: mpy-cross/mpy-cross.static.exe
105+
- name: Upload mpy-cross builds to S3
106+
run: |
107+
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static-raspbian s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-raspbian-${{ env.CP_VERSION }} --no-progress --region us-east-1
108+
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-amd64-linux-${{ env.CP_VERSION }} --no-progress --region us-east-1
109+
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static.exe s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-x64-windows-${{ env.CP_VERSION }}.exe --no-progress --region us-east-1
110+
env:
111+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
112+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
113+
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
114+
101115

102116
mpy-cross-mac:
103117
runs-on: macos-10.15
@@ -106,9 +120,9 @@ jobs:
106120
env:
107121
GITHUB_CONTEXT: ${{ toJson(github) }}
108122
run: echo "$GITHUB_CONTEXT"
109-
- name: Make gettext programs available
123+
- name: Install dependencies
110124
run: |
111-
brew install gettext
125+
brew install gettext awscli
112126
echo "::set-env name=PATH::/usr/local/opt/gettext/bin:$PATH"
113127
- name: Versions
114128
run: |
@@ -121,13 +135,23 @@ jobs:
121135
fetch-depth: 0
122136
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
123137
- name: CircuitPython version
124-
run: git describe --dirty --tags
138+
run: |
139+
git describe --dirty --tags
140+
echo "::set-env name=CP_VERSION::$(git describe --dirty --tags)"
125141
- name: Build mpy-cross
126142
run: make -C mpy-cross -j2
127-
- uses: actions/upload-artifact@v1.0.0
143+
- uses: actions/upload-artifact@v2
128144
with:
129145
name: mpy-cross-macos-catalina
130146
path: mpy-cross/mpy-cross
147+
- name: Upload mpy-cross build to S3
148+
run: |
149+
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross-macos-catalina-${{ env.CP_VERSION }} --no-progress --region us-east-1
150+
env:
151+
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
152+
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
153+
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
154+
131155

132156
build-arm:
133157
runs-on: ubuntu-18.04
@@ -147,6 +171,8 @@ jobs:
147171
- "arduino_zero"
148172
- "bast_pro_mini_m0"
149173
- "bdmicro_vina_m0"
174+
- "bless_dev_board_multi_sensor"
175+
- "blm_badge"
150176
- "capablerobot_usbhub"
151177
- "catwan_usbstick"
152178
- "circuitbrains_basic_m0"
@@ -188,6 +214,7 @@ jobs:
188214
- "hallowing_m0_express"
189215
- "hallowing_m4_express"
190216
- "hiibot_bluefi"
217+
- "ikigaisense_vita"
191218
- "imxrt1010_evk"
192219
- "imxrt1020_evk"
193220
- "imxrt1060_evk"
@@ -196,6 +223,8 @@ jobs:
196223
- "itsybitsy_nrf52840_express"
197224
- "kicksat-sprite"
198225
- "loc_ber_m4_base_board"
226+
- "makerdiary_m60_keyboard"
227+
- "makerdiary_nrf52840_m2_devkit"
199228
- "makerdiary_nrf52840_mdk"
200229
- "makerdiary_nrf52840_mdk_usb_dongle"
201230
- "meowbit_v121"
@@ -207,6 +236,7 @@ jobs:
207236
- "mini_sam_m4"
208237
- "monster_m4sk"
209238
- "ndgarage_ndbit6"
239+
- "ndgarage_ndbit6_v2"
210240
- "nfc_copy_cat"
211241
- "nice_nano"
212242
- "nucleo_f746zg"
@@ -236,9 +266,11 @@ jobs:
236266
- "pyportal"
237267
- "pyportal_titano"
238268
- "pyruler"
269+
- "raytac_mdbt50q-db-40"
239270
- "robohatmm1_m4"
240271
- "sam32"
241272
- "same54_xplained"
273+
- "seeeduino_wio_terminal"
242274
- "seeeduino_xiao"
243275
- "serpente"
244276
- "shirtty"
@@ -263,6 +295,7 @@ jobs:
263295
- "teensy41"
264296
- "teknikio_bluebird"
265297
- "thunderpack"
298+
- "tinkeringtech_scoutmakes_azul"
266299
- "trellis_m4_express"
267300
- "trinket_m0"
268301
- "trinket_m0_haxpress"
@@ -302,7 +335,7 @@ jobs:
302335
working-directory: tools
303336
env:
304337
BOARDS: ${{ matrix.board }}
305-
- uses: actions/upload-artifact@v1.0.0
338+
- uses: actions/upload-artifact@v2
306339
with:
307340
name: ${{ matrix.board }}
308341
path: bin/${{ matrix.board }}
@@ -350,7 +383,7 @@ jobs:
350383
working-directory: tools
351384
env:
352385
BOARDS: ${{ matrix.board }}
353-
- uses: actions/upload-artifact@v1.0.0
386+
- uses: actions/upload-artifact@v2
354387
with:
355388
name: ${{ matrix.board }}
356389
path: bin/${{ matrix.board }}
@@ -369,6 +402,7 @@ jobs:
369402
board:
370403
- "espressif_saola_1_wroom"
371404
- "espressif_saola_1_wrover"
405+
- "unexpectedmaker_feathers2"
372406

373407
steps:
374408
- name: Set up Python 3.8
@@ -387,7 +421,7 @@ jobs:
387421
id: idf-cache
388422
with:
389423
path: ${{ github.workspace }}/.idf_tools
390-
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20200523
424+
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20200801
391425
- name: Install IDF tools
392426
run: |
393427
$IDF_PATH/tools/idf_tools.py --non-interactive install required
@@ -429,7 +463,7 @@ jobs:
429463
IDF_PATH: ${{ github.workspace }}/ports/esp32s2/esp-idf
430464
IDF_TOOLS_PATH: ${{ github.workspace }}/.idf_tools
431465
BOARDS: ${{ matrix.board }}
432-
- uses: actions/upload-artifact@v1.0.0
466+
- uses: actions/upload-artifact@v2
433467
with:
434468
name: ${{ matrix.board }}
435469
path: bin/${{ matrix.board }}

.github/workflows/create_website_pr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
name: Update CircuitPython.org
26

37
on:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# Compiled Sources
26
###################
37
*.o

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
[submodule "lib/axtls"]
26
path = lib/axtls
37
url = https://github.com/pfalcon/axtls

.mailmap

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# SPDX-FileCopyrightText: 2020 Diego Elio Pettenò
2+
#
3+
# SPDX-License-Identifier: Unlicense
4+
5+
Alexander Steffen <[email protected]>
6+
7+
8+
Benjamin Vernoux <[email protected]>
9+
Brent Rubell <[email protected]>
10+
11+
12+
13+
Chris Packham <[email protected]>
14+
15+
Damiano Mazzella <[email protected]>
16+
Damien George <[email protected]>
17+
Dan Halbert <[email protected]>
18+
19+
Daniel Pollard <[email protected]>
20+
21+
Daniel Tralamazza <[email protected]>
22+
23+
David Glaude <[email protected]>
24+
25+
George Waters <[email protected]>
26+
27+
28+
Henrik Sölver <[email protected]>
29+
Ilya Dmitrichenko <[email protected]>
30+
31+
Jason Pecor <[email protected]>
32+
Jeff Epler <[email protected]>
33+
34+
35+
36+
Jerry Needell <[email protected]>
37+
Joe Bakalor <[email protected]>
38+
Josh Klar <[email protected]>
39+
40+
Juan Biondi <[email protected]>
41+
42+
KalbeAbbas <[email protected]>
43+
KalbeAbbas <[email protected]> <kalbeabbas@[email protected]>
44+
Kamil Tomaszewski <[email protected]>
45+
46+
47+
Kattni Rembor <[email protected]>
48+
49+
50+
Kevin Townsend <[email protected]>
51+
52+
Krzysztof Blazewicz <[email protected]>
53+
Krzysztof Blazewicz <[email protected]> <[email protected]>
54+
Li Weiwei <[email protected]>
55+
56+
Limor "Ladyada" Fried <[email protected]>
57+
Limor "Ladyada" Fried <[email protected]> <ladyada>
58+
Lucian Copeland <[email protected]>
59+
60+
Mark Olsson <[email protected]>
61+
62+
Matt Land <[email protected]>
63+
64+
Matt Wozniski <[email protected]>
65+
66+
Melissa LeBlanc-Williams <[email protected]>
67+
Melissa LeBlanc-Williams <[email protected]> <[email protected]>
68+
Metallicow <[email protected]>
69+
70+
Peter Hinch <[email protected]>
71+
72+
Radomir Dopieralski <[email protected]>
73+
Radomir Dopieralski <[email protected]> <[email protected]>
74+
Rafa Gould <[email protected]>
75+
76+
Ryan Shaw <[email protected]>
77+
78+
79+
80+
81+
Scott Shawcroft <[email protected]>
82+
83+
84+
85+
86+
Sebastian Plamauer <[email protected]>
87+
Sebastian Plamauer <[email protected]> <[email protected]>
88+
89+
90+
Stewart Colborne <[email protected]>
91+
92+
TG-Techie <[email protected]>
93+
94+
Thea Flowers <[email protected]>
95+
96+
Tobias Badertscher <[email protected]>
97+
Tobias Badertscher <[email protected]> <[email protected]>
98+
danicampora <[email protected]>
99+
100+
101+
102+
dherrada <[email protected]> <=>
103+
104+
105+
106+
siddacious <[email protected]>
107+
108+
109+
sommersoft <[email protected]>
110+
111+
112+

.readthedocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# .readthedocs.yml
26
# Read the Docs configuration file
37
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

.rosie.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
2+
#
3+
# SPDX-License-Identifier: MIT
4+
15
# This configuration file tells Rosie where to find prebuilt .bin files (Travis
26
# builds them) and where to find the tests.
37

ACKNOWLEDGEMENTS.license

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
2+
3+
SPDX-License-Identifier: MIT

BUILDING.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
<!--
2+
SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
3+
4+
SPDX-License-Identifier: MIT
5+
-->
16

27
# Building CircuitPython
38

0 commit comments

Comments
 (0)