Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1210 commits
Select commit Hold shift + click to select a range
bfdaa6e
Merge pull request #3959 from ladyada/main
tannewt Jan 12, 2021
db40f00
Merge branch 'origin/main' into Weblate.
weblate Jan 12, 2021
f7f97ae
samd21 board with only 4 neopixels + two touchpads
ladyada Jan 12, 2021
748d448
fix some precommit complaints
ladyada Jan 12, 2021
4be5e91
Merge pull request #3966 from dhalbert/samd-dac-channels
dhalbert Jan 12, 2021
1b54597
Merge branch 'origin/main' into Weblate.
weblate Jan 12, 2021
f9c7622
Merge pull request #3733 from jepler/audioout-esp32
dhalbert Jan 12, 2021
9b6cad3
Merge branch 'origin/main' into Weblate.
weblate Jan 12, 2021
a07b595
Update translation files
weblate Jan 12, 2021
f07dd48
change IPPROTO_* comments to match usage in current shared-bindings a…
anecdata Jan 12, 2021
4cdb298
WIP of non-blocking calls
hierophect Jan 12, 2021
ed0cb24
esp32s2: Fix 'make flash'
jepler Jan 12, 2021
f95d10b
make translate
jepler Jan 12, 2021
4b30412
shrink some de_DE builds
dhalbert Jan 12, 2021
5e52ca0
make translate
dhalbert Jan 12, 2021
88ce691
Revert "pre-commit: Add checking of 'make translate' status"
jepler Jan 13, 2021
8d24e72
Merge pull request #3978 from ladyada/neotrinkey
jepler Jan 13, 2021
0a13eff
Translated using Weblate (Portuguese (Brazil))
wtuemura Jan 12, 2021
e33a421
Merge branch 'origin/main' into Weblate.
weblate Jan 13, 2021
35a1095
Update translation files
weblate Jan 13, 2021
c44c993
Merge pull request #3983 from dhalbert/6.1.0-shrink-builds
jepler Jan 13, 2021
1d75e55
Merge branch 'origin/main' into Weblate.
weblate Jan 13, 2021
8f9db77
Merge pull request #3985 from jepler/revert-precommit-translate
dhalbert Jan 13, 2021
b4eb46b
Translated using Weblate (French)
hugodahl Jan 13, 2021
a1d685b
Merge branch 'origin/main' into Weblate.
weblate Jan 13, 2021
92a4398
Merge pull request #3982 from jepler/esp32s2-make-flash
dhalbert Jan 13, 2021
3c47420
Merge branch 'origin/main' into Weblate.
weblate Jan 13, 2021
e703e06
Update shared-bindings/socketpool/SocketPool.c
anecdata Jan 13, 2021
ccace62
don't check length for remote characteristic or dedescriptor
dhalbert Jan 13, 2021
37a8c1c
Complete non-blocking implementations, add socket close checking
hierophect Jan 14, 2021
47015d7
Merge pull request #3974 from weblate/weblate-circuitpython-main
jepler Jan 14, 2021
8f8af90
final name and extra board
Jan 14, 2021
5f8ad0c
correct USB_PRODUCT for TG-Watch
Jan 14, 2021
c63d5a4
restore TG-Watch USB_PID from accidental overwrite
Jan 14, 2021
e519dd3
Retry on all disconnect reasons other than: 2 exception reasons & 1 m…
anecdata Jan 14, 2021
f75bb5c
Rename to match WIFI_REASON. Also return specific reason code.
anecdata Jan 14, 2021
d1249fb
Include all reason codes.
anecdata Jan 14, 2021
8febdee
Rename to match WIFI_REASON. Also include specific error code in "Unk…
anecdata Jan 14, 2021
287770f
Merge remote-tracking branch 'upstream/main' into esp-tcpserver
hierophect Jan 14, 2021
e424c84
Merge pull request #38 from adafruit/main
DavePutz Jan 14, 2021
b05c6ba
change extensa github actions cache key to avoid bad cache
dhalbert Jan 14, 2021
54cc9ab
change extensa github actions cache key to avoid bad cache
dhalbert Jan 14, 2021
90a6581
Merge pull request #3997 from dhalbert/change-xtensa-build-cache-key
dhalbert Jan 14, 2021
aedc8ef
Add pin A1 as alias for AD1; A1 is preferred
dhalbert Jan 14, 2021
8e51139
update uzlib to v2.9.5
jepler Jan 14, 2021
059363f
ports/unix: Fix parallel build problem
jepler Jan 13, 2021
ad87f37
ulab: update to 1.7.0
jepler Jan 14, 2021
59003e9
Merge pull request #4001 from dhalbert/magtag-a1-pin
dhalbert Jan 14, 2021
e6b49d9
Merge pull request #3993 from dhalbert/gattc-write-lengths
tannewt Jan 14, 2021
0ef73fb
Merge pull request #4002 from jepler/update-uzlib
dhalbert Jan 14, 2021
8c0a9a2
Merge pull request #4004 from jepler/fix-parallel-build-main
dhalbert Jan 14, 2021
c4f0325
Merge pull request #3991 from TG-Techie/main
dhalbert Jan 14, 2021
564dce8
Update translations
anecdata Jan 14, 2021
d85e071
Hard code new copyright date
hugodahl Jan 15, 2021
d88bb0b
Set year from execution date
hugodahl Jan 15, 2021
8094435
Merge branch 'main' of https://github.com/adafruit/circuitpython into…
hugodahl Jan 15, 2021
a98df72
Update to 1.7.1
jepler Jan 15, 2021
4bc664f
Merge remote-tracking branch 'upstream/main' into esp-tcpserver
hierophect Jan 15, 2021
c843122
fix doc build
jepler Jan 15, 2021
03e9415
Merge pull request #4005 from jepler/update-ulab-1.7.0
tannewt Jan 15, 2021
05cc67f
Translated using Weblate (Indonesian)
oonid Jan 15, 2021
a9a7768
Merge branch 'origin/main' into Weblate.
weblate Jan 15, 2021
cab9139
Update translation files
weblate Jan 15, 2021
fac4d9c
Merge pull request #4006 from hugodahl/Update-documentation-copyright…
tannewt Jan 15, 2021
fe5acae
Merge branch 'origin/main' into Weblate.
weblate Jan 15, 2021
816cbe4
Merge pull request #3992 from anecdata/reason4
tannewt Jan 15, 2021
239f73f
Merge branch 'origin/main' into Weblate.
weblate Jan 15, 2021
0e3da9b
Update translation files
weblate Jan 15, 2021
ea0e2f8
Changing to duck-typing
gamblor21 Jan 5, 2021
b609bc0
Removed unused include
gamblor21 Jan 5, 2021
d3995ea
Fixes from draft PR
gamblor21 Jan 9, 2021
f50c9f4
Reenabling busdevice in core
gamblor21 Jan 16, 2021
49e059c
Removing frozen libraries
gamblor21 Jan 16, 2021
d43eb7e
prevents going into safe mode for watchdog resets
dheera Jan 17, 2021
41b9196
Disabling in more small boards
gamblor21 Jan 17, 2021
a938934
Revert "UMFEATHERS2 - implement use of DotStar for status led"
jerryneedell Jan 17, 2021
6a76b60
Merge pull request #4013 from adafruit/revert-3930-jerryn_feathers2_led
dhalbert Jan 17, 2021
377cb51
Translated using Weblate (French)
hugodahl Jan 16, 2021
4b23a78
Translated using Weblate (Portuguese (Brazil))
wtuemura Jan 15, 2021
a2a3290
Translated using Weblate (Swedish)
bergdahl Jan 15, 2021
6710d73
Merge branch 'origin/main' into Weblate.
weblate Jan 17, 2021
c524900
check connected before connecting
anecdata Jan 18, 2021
e867d19
make translate
ha-rvc Jan 18, 2021
07a9593
add flow control info to busio_uart_obj_t
ha-rvc Jan 18, 2021
dea2bcd
Fixed comment in mpconfigboard.h
mrangen Jan 18, 2021
ee48e4b
ESP32-S2: Initialize touch in proper order
dhalbert Jan 18, 2021
41459d1
handle exttype & chunk long reads
ha-rvc Jan 18, 2021
1e88b94
rebase (main) & make translate
ha-rvc Jan 18, 2021
e27dd26
make translate, BEWARE adds the 'world'
ha-rvc Jan 18, 2021
a01ff65
fix case of connecting when wifi is stopped
anecdata Jan 19, 2021
672d0e2
make translate
anecdata Jan 19, 2021
7076da3
Merge branch 'main' of https://github.com/adafruit/circuitpython into…
hugodahl Jan 19, 2021
ebb4df8
Add support for a 'haxpress' external SPI flash build for the stm32f4…
djix123 Jan 19, 2021
368751b
Add support for a 'haxpress' external SPI flash build for the stm32f4…
djix123 Jan 19, 2021
9143268
Merge pull request #4021 from dhalbert/esp32-s2-touch-init-order
jepler Jan 19, 2021
0240ab9
Merge branch 'origin/main' into Weblate.
weblate Jan 19, 2021
35c836f
Update .github/workflows/build.yml
djix123 Jan 19, 2021
c8046af
Update ports/stm/boards/stm32f411ce_blackpill_haxpress/mpconfigboard.h
djix123 Jan 19, 2021
4804032
Update ports/stm/boards/stm32f411ce_blackpill_haxpress/mpconfigboard.mk
djix123 Jan 19, 2021
b4bdf55
Update ports/stm/boards/stm32f411ce_blackpill_haxpress/mpconfigboard.mk
djix123 Jan 19, 2021
55c6d3e
1. Rename 'stm32f411ce_blackpill_haxpress' to 'stm32f411ce_blackpill_…
djix123 Jan 19, 2021
409b5ff
Merge pull request #4028 from djix123/stm32411ce_blackpill_haxpress
dhalbert Jan 19, 2021
47be90f
Merge branch 'origin/main' into Weblate.
weblate Jan 19, 2021
54e2f85
Merge pull request #4022 from iot49/cp-msgpack
tannewt Jan 20, 2021
a805ff4
Translated using Weblate (Polish)
tawez Jan 19, 2021
15a6e8c
Merge branch 'origin/main' into Weblate.
weblate Jan 20, 2021
f1e4960
Merge pull request #4019 from mrangen/QSPI-comment-fix
tannewt Jan 20, 2021
328d1ee
Merge branch 'origin/main' into Weblate.
weblate Jan 20, 2021
333c932
Merge pull request #4008 from weblate/weblate-circuitpython-main
tannewt Jan 20, 2021
eff68b0
Merge pull request #4011 from dheera/main
tannewt Jan 20, 2021
733094a
Add initial RP2040 support
tannewt Jan 21, 2021
2b4ad1e
Fix warnings that come from -O3 (I think)
tannewt Jan 21, 2021
4872158
Temporarily turn off string op overflow check
tannewt Jan 21, 2021
fb1e010
Fix press any key message
tannewt Jan 21, 2021
6a6f22b
pre-commit
tannewt Jan 21, 2021
b0f7fd9
type fix
tannewt Jan 21, 2021
dbd5b7d
Change xtensa cache key
dhalbert Jan 21, 2021
b47fd08
copy editing
tannewt Jan 21, 2021
b7a63dc
Alphabetical
tannewt Jan 21, 2021
af8cc93
Fix ESP build
tannewt Jan 21, 2021
b73b30f
Switch to upstream TinyUSB
tannewt Jan 21, 2021
1f6cd49
1. check enabled before scan; 2. make start-station() the single cont…
anecdata Jan 21, 2021
9b8246f
shrink sparkfun_samd21_dev de_DE build
dhalbert Jan 21, 2021
2249a33
Merge pull request #4031 from tannewt/rp2040
dhalbert Jan 21, 2021
6043fdf
Merge pull request #39 from adafruit/main
DavePutz Jan 21, 2021
f88a896
Merge pull request #3854 from hierophect/esp-tcpserver
hierophect Jan 21, 2021
7263302
Translated using Weblate (Chinese (Pinyin))
hexthat Jan 21, 2021
e30bd35
Merge branch 'origin/main' into Weblate.
weblate Jan 21, 2021
2c086d6
Update translation files
weblate Jan 21, 2021
3aab17c
Adding longint support on RP2040
siehputz Jan 21, 2021
f39ca0a
Adding longing support on RP2040
siehputz Jan 21, 2021
ea9fe24
shrink arduino_mkrzero build
dhalbert Jan 21, 2021
10a44af
Merge pull request #3980 from anecdata/reasons2
tannewt Jan 21, 2021
4ae122f
Merge branch 'origin/main' into Weblate.
weblate Jan 21, 2021
e8e8c59
move longint choice to mpconfigport.mk
dhalbert Jan 22, 2021
63b5e56
shrink feather_m0_adalogger and gemma_m0
dhalbert Jan 22, 2021
e3275be
Merge pull request #3911 from hugodahl/add-translation-for-builtin-ob…
dhalbert Jan 22, 2021
500512f
Translated using Weblate (Portuguese (Brazil))
wtuemura Jan 22, 2021
380338f
Merge branch 'origin/main' into Weblate.
weblate Jan 22, 2021
9dbf203
Update translation files
weblate Jan 22, 2021
d74097c
update github actions cache key for xtensa build
dhalbert Jan 22, 2021
f72c147
Merge branch 'main' into connect
dhalbert Jan 22, 2021
ec8a42d
Merge pull request #4017 from anecdata/connect
dhalbert Jan 22, 2021
64e06cc
Merge branch 'origin/main' into Weblate.
weblate Jan 22, 2021
19da28d
Update translation files
weblate Jan 22, 2021
f50edc2
Merge pull request #4044 from DavePutz/rp2040_longint
dhalbert Jan 22, 2021
4e11e2d
Translated using Weblate (Portuguese (Brazil))
wtuemura Jan 22, 2021
d08f991
Merge branch 'origin/main' into Weblate.
weblate Jan 22, 2021
8c49c8d
shrink arduino_mkr1300
dhalbert Jan 22, 2021
0dfa9fb
Merge pull request #4043 from weblate/weblate-circuitpython-main
dhalbert Jan 22, 2021
811a34f
Add initial ParallelBus support for ESP32-S2
kmatch98 Jan 22, 2021
dff3423
Change from fixed-point integer arguments to floating point in EVE AP…
jamesbowman Jan 22, 2021
de6b05a
Fix DigitalInOut.pull on RP2040
tannewt Jan 23, 2021
34aa01c
Remove redundant clear_write, add make translate
kmatch98 Jan 23, 2021
dc421a6
squeeze some builds
dhalbert Jan 23, 2021
97f5d21
Merge pull request #4052 from tannewt/get_pull
dhalbert Jan 23, 2021
10965e5
Delete unnecessary comments
kmatch98 Jan 23, 2021
abd9f78
Permit Gameduino 3X Dazzler support on that board.
dglaude Jan 24, 2021
69869e1
CIRCUITPY_* switches for JSON, RE, etc. Doc cleanup
dhalbert Jan 25, 2021
34d63de
Remove obsolete esp.rst, network.rst
dhalbert Jan 25, 2021
1e97d38
add GP15
dhalbert Jan 25, 2021
69c71bd
fix some build errors
dhalbert Jan 25, 2021
c5992a3
spresense: update Spresense SDK to 2.0.2
kamtom480 Jan 25, 2021
30a1c52
Update TinyUSB
kamtom480 Jan 25, 2021
d6c04e8
Translated using Weblate (Swedish)
bergdahl Jan 24, 2021
2a55ff7
Translated using Weblate (Chinese (Pinyin))
hexthat Jan 23, 2021
0fa5aa3
Stop treating pin 15 specially.
dhalbert Jan 25, 2021
ba84cff
Merge pull request #4065 from weblate/weblate-circuitpython-main
tannewt Jan 25, 2021
6370e9d
Merge pull request #4064 from kamtom480/spresense-sdk-2.0.2
tannewt Jan 25, 2021
4140012
Allow pins >= 32, allow write pin on different register than data pins
kmatch98 Jan 25, 2021
c075e89
Merge pull request #4054 from dglaude/patch-1
tannewt Jan 25, 2021
a2ac2da
Merge pull request #3936 from gamblor21/busdevice_fixes
tannewt Jan 25, 2021
4241fd4
Merge pull request #4051 from jamesbowman/main
tannewt Jan 25, 2021
61850ac
Fixed bug in pin error handling, deleted debug prints
kmatch98 Jan 25, 2021
be4cfdd
Use TOTAL_GPIO_COUNT instead of magic number 30
dhalbert Jan 25, 2021
a9f339b
typo in circuitpy_mpconfig.h; forgot cxd56 port
dhalbert Jan 26, 2021
5b4249e
fix doc typos
dhalbert Jan 26, 2021
0ba49d7
typo; thanks @Neradoc
dhalbert Jan 26, 2021
da6869d
Set MICROPY_PY_UERRNO_ERRORCODE correctly
dhalbert Jan 26, 2021
51f0544
protmatter: Update to version that supports tiling
jepler Jan 26, 2021
f154ee8
shrink simmel
dhalbert Jan 26, 2021
ccdc97d
Update documentation for microprossors with multiple cpus
siehputz Jan 26, 2021
365fafb
Update design_guide.rst
rpavlik Jan 26, 2021
b42e94e
Raise an error on UART use
tannewt Jan 26, 2021
345c2ae
make translate
jepler Jan 26, 2021
13812a7
Merge pull request #4060 from dhalbert/regularize-extmod-modules
dhalbert Jan 26, 2021
a9227e1
Merge pull request #4063 from dhalbert/rp2040-gp15
dhalbert Jan 26, 2021
29e672f
Merge pull request #4071 from tannewt/rp2040_uart_error
dhalbert Jan 26, 2021
d116ad0
Merge pull request #4070 from rpavlik/patch-1
dhalbert Jan 26, 2021
368977f
RGBMatrix: Additional tile tweaks
jepler Jan 26, 2021
20c9f25
rgbmatrix: Eliminate some duplicated height-calculating code
jepler Jan 26, 2021
1c10ec9
make translate
jepler Jan 26, 2021
351a0e7
Merge pull request #4047 from kmatch98/esp32s2_ParallelBus
tannewt Jan 26, 2021
85508d7
Update translation files
weblate Jan 26, 2021
189ec2f
Disallow tile=0
jepler Jan 26, 2021
45b3c9a
Merge pull request #4068 from jepler/update-protomatter-tiling
tannewt Jan 27, 2021
2918b73
Translated using Weblate (Polish)
tawez Jan 26, 2021
83a99cb
Merge remote-tracking branch 'origin/main' into main
weblate Jan 27, 2021
c1b1ddd
Update translation files
weblate Jan 27, 2021
16d5458
remove long read error message
ha-rvc Jan 27, 2021
e285b5b
Merge remote-tracking branch 'adafruit/main' into cp-flow
ha-rvc Jan 27, 2021
0d3771e
make translate
ha-rvc Jan 27, 2021
c1c1a5d
Merge pull request #4072 from weblate/weblate-circuitpython-main
tannewt Jan 27, 2021
9325509
Fix blinka release PR language list
tannewt Jan 27, 2021
a54b57e
watchdog implementation for rp2040
microdev1 Jan 28, 2021
7625682
add translations for raspberrypi port
microdev1 Jan 28, 2021
0098909
RGBMatrix: change default to serpentine=True
jepler Jan 28, 2021
65a883a
bump esp-idf cache tag
jepler Jan 28, 2021
67f128c
Fixing microcontroller.cpu on muti-core cpus and adding microcontroll…
siehputz Jan 28, 2021
f6f007a
Merge pull request #4084 from jepler/default-serpentine
dhalbert Jan 28, 2021
cfd6ffc
Adding files for cpu temperature fix
siehputz Jan 28, 2021
689fba7
ulab: update to 1.7.2
jepler Jan 29, 2021
66e0f2d
workflows: use actions/cache@v2
jepler Jan 29, 2021
5b2e29d
Merge pull request #4089 from jepler/update-ulab-issue4086
jepler Jan 29, 2021
d4780a5
Merge pull request #4080 from tannewt/fix_release_pr_description
dhalbert Jan 29, 2021
e1838ff
Fix typo in documentation.
siehputz Jan 29, 2021
70a5f46
Merge pull request #4090 from jepler/update-actions-v2
dhalbert Jan 29, 2021
067f42b
Add Gameduino 3X Dazzler support on raspberry_pi_pico
jamesbowman Jan 29, 2021
acbf66d
Make sys.platform "RP2040" on raspberrypi
jamesbowman Jan 29, 2021
5345128
Translated using Weblate (French)
hugodahl Jan 29, 2021
65da2bb
Translated using Weblate (French)
Anton-2 Jan 28, 2021
5975dee
Translated using Weblate (Portuguese (Brazil))
wtuemura Jan 27, 2021
75f7753
Translated using Weblate (Chinese (Pinyin))
hexthat Jan 27, 2021
34fe152
extend include path
microdev1 Jan 30, 2021
ddd516a
Fix default timeout
hierophect Jan 29, 2021
9bceb32
Merge pull request #4092 from jamesbowman/main
dhalbert Jan 30, 2021
06c58b0
Merge remote-tracking branch 'origin/main' into main
weblate Jan 30, 2021
0dbd329
Add board Silicognition LLC M4-Shim
xorbit Jan 31, 2021
414db71
Add board to github workflow
xorbit Jan 31, 2021
6dba7a1
Add support for Lilygo TTGO T8 ESP32-S2
netroy Jan 6, 2021
a52395a
Merge pull request #4095 from hierophect/socket-timeout
tannewt Feb 1, 2021
d51176d
Merge remote-tracking branch 'origin/main' into main
weblate Feb 1, 2021
17cf03c
Merge pull request #4083 from microDev1/watchdog-rp
tannewt Feb 1, 2021
ee3eff9
Merge remote-tracking branch 'origin/main' into main
weblate Feb 1, 2021
9e16098
Update translation files
weblate Feb 1, 2021
529114c
Merge pull request #4077 from netroy/lilygo-ttgo-t8-esp32-s2
tannewt Feb 1, 2021
6d03394
Merge remote-tracking branch 'origin/main' into main
weblate Feb 1, 2021
86fbf5c
Update translation files
weblate Feb 1, 2021
0c0b517
Merge pull request #4105 from xorbit/main
tannewt Feb 1, 2021
47fe999
Merge remote-tracking branch 'origin/main' into main
weblate Feb 1, 2021
745ba01
shrink simmel
dhalbert Feb 1, 2021
459f323
Merge pull request #4087 from DavePutz/cpu_temp_doc
dhalbert Feb 1, 2021
c3aa1ec
Translated using Weblate (Portuguese (Brazil))
wtuemura Feb 1, 2021
4db7772
Merge remote-tracking branch 'origin/main' into main
weblate Feb 1, 2021
ec03267
rtc implementation for rp2040
microdev1 Feb 1, 2021
0cf2df4
Fixed for boards without longint
gamblor21 Feb 1, 2021
5414363
Merge pull request #4096 from weblate/weblate-circuitpython-main
tannewt Feb 2, 2021
db7a962
Merge pull request #4112 from gamblor21/longint_busdevice_fix
tannewt Feb 2, 2021
ced3dc7
Merge pull request #4018 from iot49/cp-flow
tannewt Feb 2, 2021
8789a2c
Merge pull request #4110 from microDev1/rtc-rp
tannewt Feb 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
101 changes: 62 additions & 39 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Dump GitHub context
env:
Expand All @@ -35,13 +35,40 @@ jobs:
python-version: 3.8
- name: Install deps
run: |
sudo apt-get update
sudo apt-get install -y eatmydata
sudo eatmydata apt-get install -y gettext librsvg2-bin mingw-w64 latexmk texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
pip install requests sh click setuptools cpp-coveralls "Sphinx<4" sphinx-rtd-theme recommonmark sphinx-autoapi sphinxcontrib-svg2pdfconverter polib pyyaml astroid isort black awscli
pip install requests sh click setuptools cpp-coveralls "Sphinx<4" sphinx-rtd-theme recommonmark sphinx-autoapi sphinxcontrib-svg2pdfconverter polib pyyaml astroid isort black awscli mypy
- name: Versions
run: |
gcc --version
python3 --version
- name: Translations
run: make check-translate
- name: New boards check
run: python3 -u ci_new_boards_check.py
working-directory: tools
- name: Duplicate USB VID/PID Check
run: python3 -u -m tools.ci_check_duplicate_usb_vid_pid
- name: Build and Validate Stubs
run: make check-stubs -j2
- uses: actions/upload-artifact@v2
with:
name: stubs
path: circuitpython-stubs*
- name: Test Documentation Build (HTML)
run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
- uses: actions/upload-artifact@v2
with:
name: docs
path: _build/html
- name: Test Documentation Build (LaTeX/PDF)
run: |
make latexpdf
- uses: actions/upload-artifact@v2
with:
name: docs
path: _build/latex
- name: Build mpy-cross
run: make -C mpy-cross -j2
- name: Build unix port
Expand All @@ -67,32 +94,6 @@ jobs:
- name: mpy Tests
run: MICROPY_CPYTHON3=python3.8 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float
working-directory: tests
- name: Stubs
run: make stubs -j2
- uses: actions/upload-artifact@v2
with:
name: stubs
path: circuitpython-stubs*
- name: Test Documentation Build (HTML)
run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
- uses: actions/upload-artifact@v2
with:
name: docs
path: _build/html
- name: Test Documentation Build (LaTeX/PDF)
run: |
make latexpdf
- uses: actions/upload-artifact@v2
with:
name: docs
path: _build/latex
- name: Translations
run: make check-translate
- name: New boards check
run: python3 -u ci_new_boards_check.py
working-directory: tools
- name: Duplicate USB VID/PID Check
run: python3 -u -m tools.ci_check_duplicate_usb_vid_pid
- name: Build mpy-cross.static-raspbian
run: make -C mpy-cross -j2 -f Makefile.static-raspbian
- uses: actions/upload-artifact@v2
Expand All @@ -111,12 +112,15 @@ jobs:
with:
name: mpy-cross.static-x64-windows
path: mpy-cross/mpy-cross.static.exe
- name: Upload mpy-cross builds to S3
- name: Upload stubs and mpy-cross builds to S3
run: |
[ -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
[ -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
[ -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
zip -9r circuitpython-stubs.zip circuitpython-stubs
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp circuitpython-stubs.zip s3://adafruit-circuit-python/bin/stubs/circuitpython-stubs-${{ env.CP_VERSION }}.zip --no-progress --region us-east-1
env:
AWS_PAGER: ''
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
Expand All @@ -131,7 +135,7 @@ jobs:
run: echo "$GITHUB_CONTEXT"
- name: Install dependencies
run: |
brew install gettext awscli
brew install gettext
echo >>$GITHUB_PATH /usr/local/opt/gettext/bin
- name: Versions
run: |
Expand All @@ -157,20 +161,23 @@ jobs:
run: |
[ -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
env:
AWS_PAGER: ''
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))


build-arm:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: test
strategy:
fail-fast: false
matrix:
board:
- "8086_commander"
- "TG-Watch02A"
- "ADM_B_NRF52840_1"
- "TG-Watch"
- "adafruit_feather_rp2040"
- "aloriumtech_evo_m51"
- "aramcon_badge_2019"
- "arduino_mkr1300"
Expand All @@ -179,6 +186,7 @@ jobs:
- "arduino_nano_33_iot"
- "arduino_zero"
- "bast_pro_mini_m0"
- "bastble"
- "bdmicro_vina_d21"
- "bdmicro_vina_d51"
- "bless_dev_board_multi_sensor"
Expand All @@ -193,6 +201,8 @@ jobs:
- "circuitplayground_express_displayio"
- "clue_nrf52840_express"
- "cp32-m4"
- "cp_sapling_m0"
- "cp_sapling_m0_spiflash"
- "datalore_ip_m4"
- "datum_distance"
- "datum_imu"
Expand Down Expand Up @@ -252,6 +262,7 @@ jobs:
- "monster_m4sk"
- "ndgarage_ndbit6"
- "ndgarage_ndbit6_v2"
- "neopixel_trinkey_m0"
- "nfc_copy_cat"
- "nice_nano"
- "nucleo_f746zg"
Expand Down Expand Up @@ -284,6 +295,7 @@ jobs:
- "pyruler"
- "qtpy_m0"
- "qtpy_m0_haxpress"
- "raspberry_pi_pico"
- "raytac_mdbt50q-db-40"
- "robohatmm1_m4"
- "sam32"
Expand All @@ -292,6 +304,7 @@ jobs:
- "seeeduino_xiao"
- "serpente"
- "shirtty"
- "silicognition-m4-shim"
- "simmel"
- "snekboard"
- "sparkfun_lumidrive"
Expand All @@ -303,7 +316,9 @@ jobs:
- "sparkfun_samd21_mini"
- "sparkfun_samd51_thing_plus"
- "spresense"
- "stackrduino_m0_pro"
- "stm32f411ce_blackpill"
- "stm32f411ce_blackpill_with_flash"
- "stm32f411ve_discovery"
- "stm32f412zg_discovery"
- "stm32f4_discovery"
Expand All @@ -312,7 +327,8 @@ jobs:
- "teensy40"
- "teensy41"
- "teknikio_bluebird"
- "thunderpack"
- "thunderpack_v11"
- "thunderpack_v12"
- "tinkeringtech_scoutmakes_azul"
- "trellis_m4_express"
- "trinket_m0"
Expand All @@ -334,8 +350,8 @@ jobs:
run: |
sudo apt-get install -y gettext
pip install requests sh click setuptools awscli
wget https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
- name: Versions
run: |
gcc --version
Expand All @@ -360,12 +376,13 @@ jobs:
- name: Upload to S3
run: "[ -z \"$AWS_ACCESS_KEY_ID\" ] || aws s3 cp bin/ s3://adafruit-circuit-python/bin/ --recursive --no-progress --region us-east-1"
env:
AWS_PAGER: ''
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))

build-riscv:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: test
strategy:
fail-fast: false
Expand Down Expand Up @@ -408,21 +425,26 @@ jobs:
- name: Upload to S3
run: "[ -z \"$AWS_ACCESS_KEY_ID\" ] || aws s3 cp bin/ s3://adafruit-circuit-python/bin/ --recursive --no-progress --region us-east-1"
env:
AWS_PAGER: ''
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
build-xtensa:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
needs: test
strategy:
fail-fast: false
matrix:
board:
- "adafruit_feather_esp32s2_nopsram"
- "adafruit_feather_esp32s2_tftback_nopsram"
- "adafruit_magtag_2.9_grayscale"
- "adafruit_metro_esp32s2"
- "electroniccats_bastwifi"
- "espressif_kaluga_1"
- "espressif_saola_1_wroom"
- "espressif_saola_1_wrover"
- "lilygo_ttgo_t8_s2_st7789"
- "microdev_micro_s2"
- "muselab_nanoesp32_s2"
- "targett_module_clip_wroom"
Expand All @@ -442,12 +464,12 @@ jobs:
- run: git fetch --recurse-submodules=no https://github.com/adafruit/circuitpython refs/tags/*:refs/tags/*
- name: CircuitPython version
run: git describe --dirty --tags
- uses: actions/cache@v1
- uses: actions/cache@v2
name: Fetch IDF tool cache
id: idf-cache
with:
path: ${{ github.workspace }}/.idf_tools
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20200801
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20210128
- name: Clone IDF submodules
run: |
(cd $IDF_PATH && git submodule update --init)
Expand Down Expand Up @@ -501,6 +523,7 @@ jobs:
- name: Upload to S3
run: "[ -z \"$AWS_ACCESS_KEY_ID\" ] || aws s3 cp bin/ s3://adafruit-circuit-python/bin/ --recursive --no-progress --region us-east-1"
env:
AWS_PAGER: ''
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
2 changes: 1 addition & 1 deletion .github/workflows/create_website_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
website:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Dump GitHub context
env:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ on:

jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- name: Install deps
run: sudo apt-get update && sudo apt-get install -y gettext
- name: Populate selected submodules
run: git submodule update --init extmod/ulab
- name: set PY
run: echo >>$GITHUB_ENV PY="$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
- uses: actions/cache@v1
- uses: actions/cache@v2
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down
23 changes: 22 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,25 @@
url = https://github.com/adafruit/Adafruit_CircuitPython_RFM69.git
[submodule "ports/esp32s2/esp-idf"]
path = ports/esp32s2/esp-idf
url = https://github.com/espressif/esp-idf.git
url = https://github.com/adafruit/esp-idf.git
[submodule "ports/esp32s2/certificates/nina-fw"]
path = ports/esp32s2/certificates/nina-fw
url = https://github.com/adafruit/nina-fw.git
[submodule "frozen/Adafruit_CircuitPython_ST7789"]
path = frozen/Adafruit_CircuitPython_ST7789
url = https://github.com/adafruit/Adafruit_CircuitPython_ST7789
[submodule "frozen/Adafruit_CircuitPython_Display_Shapes"]
path = frozen/Adafruit_CircuitPython_Display_Shapes
url = https://github.com/adafruit/Adafruit_CircuitPython_Display_Shapes
[submodule "frozen/Adafruit_CircuitPython_Display_Text"]
path = frozen/Adafruit_CircuitPython_Display_Text
url = https://github.com/adafruit/Adafruit_CircuitPython_Display_Text
[submodule "frozen/Adafruit_CircuitPython_ProgressBar"]
path = frozen/Adafruit_CircuitPython_ProgressBar
url = https://github.com/adafruit/Adafruit_CircuitPython_ProgressBar
[submodule "frozen/Adafruit_CircuitPython_LC709203F"]
path = frozen/Adafruit_CircuitPython_LC709203F
url = https://github.com/adafruit/Adafruit_CircuitPython_LC709203F
[submodule "ports/raspberrypi/sdk"]
path = ports/raspberrypi/sdk
url = https://github.com/raspberrypi/pico-sdk.git
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SPDX-License-Identifier: MIT

# Contributing
Please note that this project is released with a
[Contributor Code of Conduct](https://github.com/adafruit/circuitpython/blob/main/CODE_OF_CONDUCT.md).
[Contributor Code of Conduct](CODE_OF_CONDUCT.md).
By participating in this project you agree to abide by its terms. Participation
covers any forum used to converse about CircuitPython including unofficial and official spaces. Failure to do
so will result in corrective actions such as time out or ban from the project.
Expand Down
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,18 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(BASEOPTS)
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(BASEOPTS)

TRANSLATE_SOURCES = extmod lib main.c ports/atmel-samd ports/cxd56 ports/esp32s2 ports/mimxrt10xx ports/nrf ports/stm py shared-bindings shared-module supervisor
TRANSLATE_SOURCES = extmod lib main.c ports/atmel-samd ports/cxd56 ports/esp32s2 ports/mimxrt10xx ports/nrf ports/raspberrypi ports/stm py shared-bindings shared-module supervisor
# Paths to exclude from TRANSLATE_SOURCES
# Each must be preceded by "-path"; if any wildcards, enclose in quotes.
# Separate by "-o" (Find's "or" operand)
TRANSLATE_SOURCES_EXC = -path "ports/*/build-*" \
-o -path "ports/*/build" \
-o -path ports/esp32s2/esp-idf \
-o -path ports/cxd56/spresense-exported-sdk \
-o -path ports/stm/st_driver \
-o -path ports/atmel-samd/asf4 \
-o -path ports/cxd56/spresense-exported-sdk \
-o -path ports/esp32s2/esp-idf \
-o -path ports/mimxrt10xx/sdk \
-o -path ports/raspberrypi/sdk \
-o -path ports/stm/st_driver \
-o -path lib/tinyusb \
-o -path lib/lwip \

Expand Down Expand Up @@ -222,7 +223,7 @@ pseudoxml:
all-source:

locale/circuitpython.pot: all-source
find $(TRANSLATE_SOURCES) -type d \( $(TRANSLATE_SOURCES_EXC) \) -prune -o -type f \( -iname "*.c" -o -iname "*.h" \) -print | (LC_ALL=C sort) | xgettext -f- -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
find $(TRANSLATE_SOURCES) -type d \( $(TRANSLATE_SOURCES_EXC) \) -prune -o -type f \( -iname "*.c" -o -iname "*.h" \) -print | (LC_ALL=C sort) | xgettext -f- -L C -s --add-location=file --keyword=translate -o - | sed -e '/"POT-Creation-Date: /d' > $@

# Historically, `make translate` updated the .pot file and ran msgmerge.
# However, this was a frequent source of merge conflicts. Weblate can perform
Expand Down Expand Up @@ -255,6 +256,7 @@ stubs:
@$(PYTHON) tools/extract_pyi.py shared-bindings/ $(STUBDIR)
@$(PYTHON) tools/extract_pyi.py extmod/ulab/code/ $(STUBDIR)/ulab
@$(PYTHON) tools/extract_pyi.py ports/atmel-samd/bindings $(STUBDIR)
@$(PYTHON) tools/extract_pyi.py ports/raspberrypi/bindings $(STUBDIR)
@$(PYTHON) setup.py -q sdist

.PHONY: check-stubs
Expand All @@ -265,7 +267,7 @@ update-frozen-libraries:
@echo "Updating all frozen libraries to latest tagged version."
cd frozen; for library in *; do cd $$library; ../../tools/git-checkout-latest-tag.sh; cd ..; done

one-of-each: samd21 samd51 esp32s2 litex mimxrt10xx nrf stm
one-of-each: samd21 litex mimxrt10xx nrf stm

samd21:
$(MAKE) -C ports/atmel-samd BOARD=trinket_m0
Expand Down
Loading