Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4050 commits
Select commit Hold shift + click to select a range
1a2f0ec
Pre-commit formatting
hierophect May 31, 2025
5a30fe8
Update pins.c
Timeline8 May 31, 2025
cd9ff8b
Merge pull request #10391 from weblate/weblate-circuitpython-main
dhalbert May 31, 2025
e13d0af
Merge pull request #10393 from Timeline8/patch-1
dhalbert May 31, 2025
85db016
espressif: use dma for pulseio
Sola85 Jun 2, 2025
dde4a40
fix whitespaces
Sola85 Jun 2, 2025
6108958
Translated using Weblate (English (United Kingdom))
andibing Jun 3, 2025
d40fe25
Merge pull request #10401 from weblate/weblate-circuitpython-main
dhalbert Jun 4, 2025
161c376
Translations
hierophect Jun 4, 2025
0697ffc
fixed URL (has 14.2 twice in the url)
bablokb Jun 5, 2025
4889165
Merge pull request #10403 from bablokb/fix_devcontainer_toolchain
eightycc Jun 5, 2025
35431bc
Fix missed pre-commit formatting
hierophect Jun 5, 2025
5924719
register board aliases with VID/PID checker
hierophect Jun 5, 2025
6e0c24f
Support for REGION instruction of new bt820
jamesbowman Jun 6, 2025
75440c8
Restore accidental change
jamesbowman Jun 6, 2025
5903b67
Fix typo in doc signature of REGION
jamesbowman Jun 6, 2025
b9e7cbd
Translated using Weblate (German)
CrackXT Jun 6, 2025
be76a49
Translated using Weblate (French)
CrackXT Jun 6, 2025
f6c700e
Add Orpheus Pico
samdev-7 Jun 8, 2025
1381e17
wip: initial merge; no compilation yet
dhalbert Jun 8, 2025
3870699
Translated using Weblate (Spanish)
CrackXT Jun 8, 2025
bf6ada5
Translated using Weblate (French)
CrackXT Jun 8, 2025
099578e
Translated using Weblate (Polish)
CrackXT Jun 9, 2025
1666085
Translated using Weblate (Portuguese (Brazil))
CrackXT Jun 8, 2025
77213b7
Translated using Weblate (Dutch)
CrackXT Jun 8, 2025
e02d221
change to GPIO36 to enable OLED and I2C correctly
baldengineer Jun 9, 2025
635c8b1
Requested fixes to exceptions, docs, config
hierophect Jun 9, 2025
347a453
Merge pull request #10410 from baldengineer/fix_heltec_v3_no_boot
dhalbert Jun 10, 2025
069d747
Merge remote-tracking branch 'origin/main'
weblate Jun 10, 2025
742304a
Merge pull request #10404 from weblate/weblate-circuitpython-main
dhalbert Jun 10, 2025
71173fa
Merge pull request #10406 from samdev-7/9.2.x
dhalbert Jun 10, 2025
321c251
Merge remote-tracking branch 'adafruit/9.2.x' into merge-from-9.2.x-2…
dhalbert Jun 10, 2025
a45873a
Merge pull request #10405 from jamesbowman/main
dhalbert Jun 10, 2025
b86fd45
SleepMemory is supported on RP2040
wersimmon Jun 10, 2025
cea53ff
Merge pull request #10412 from wersimmon/patch-1
dhalbert Jun 10, 2025
5dd6010
Merge pull request #10411 from dhalbert/merge-from-9.2.x-2025-06-10
eightycc Jun 10, 2025
a2ad339
Apply suggestions from code review
Sola85 Jun 10, 2025
2dd33e3
wip: ports compile and pass smoke tests
dhalbert Jun 11, 2025
7276e2a
Fix module config
hierophect Jun 11, 2025
f999afd
espressif: port_malloc() shoud not use SPIRAM when dma_capable=true
dhalbert Jun 11, 2025
03c682a
Merge remote-tracking branch 'upstream/main' into esp-microros
hierophect Jun 11, 2025
a46d8de
manual zephyr changes
hierophect Jun 11, 2025
dae4962
Merge pull request #10397 from Sola85/espressif-rmt-use-dma
dhalbert Jun 11, 2025
71463fa
Minor fixes
hierophect Jun 11, 2025
e1a6d0b
Merge pull request #9955 from hierophect/esp-microros
dhalbert Jun 11, 2025
284aca9
Update translation files
weblate Jun 11, 2025
0f9ea5e
Merge pull request #10416 from weblate/weblate-circuitpython-main
dhalbert Jun 12, 2025
3566438
wip: fix some tests
dhalbert Jun 12, 2025
7298abe
wip: all tests pass
dhalbert Jun 12, 2025
c7660b6
tests/cpydiff/core_fstring_parser.py: prevent ruff complaints
dhalbert Jun 12, 2025
ce750ba
Translated using Weblate (German)
CrackXT Jun 11, 2025
f62e1b0
Translated using Weblate (French)
CrackXT Jun 11, 2025
dd33eac
Merge pull request #10418 from weblate/weblate-circuitpython-main
dhalbert Jun 13, 2025
8c7b592
fix compilation issues
dhalbert Jun 13, 2025
34af8c3
shrink boards and remove non-circuitpython attributes in micropython …
dhalbert Jun 13, 2025
775fa23
remove CIRCUITPY_LEGACY_4MB_FLASH_LAYOUT = 1 on ESP32, ESP32-C3, ESP3…
dhalbert Jun 13, 2025
34e3f54
Translated using Weblate (Swedish)
jonnybergdahl Jun 13, 2025
db9aa78
Merge pull request #10421 from weblate/weblate-circuitpython-main
dhalbert Jun 14, 2025
9c10fce
leave non-CIRCUITPY_LEGACY_4MB_FLASH_LAYOUT boards as is
dhalbert Jun 15, 2025
72c6b4d
Translated using Weblate (Swedish)
jonnybergdahl Jun 15, 2025
c98ed05
Translated using Weblate (English (United Kingdom))
andibing Jun 14, 2025
325d49c
Merge pull request #10425 from weblate/weblate-circuitpython-main
dhalbert Jun 15, 2025
a634a47
Merge pull request #10424 from dhalbert/expand-non-usb-partitions
eightycc Jun 16, 2025
ce450dc
merge from adafruit/main
dhalbert Jun 16, 2025
15cc202
Merge pull request #10417 from dhalbert/micropython-v1.24.1-merge
eightycc Jun 16, 2025
e1a35d5
Translated using Weblate (French)
FK-sauve Jun 16, 2025
e171e21
Merge remote-tracking branch 'origin/main'
weblate Jun 16, 2025
a07fc83
Update translation files
weblate Jun 16, 2025
9a05e64
Merge pull request #10427 from weblate/weblate-circuitpython-main
dhalbert Jun 16, 2025
9dd53eb
update fruit jam to rev D
dhalbert Jun 17, 2025
00c443e
Merge pull request #10429 from dhalbert/fruit-jam-rev-d
dhalbert Jun 17, 2025
55e7e1b
update frozen modules
dhalbert Jun 17, 2025
c5128a9
Merge pull request #10430 from dhalbert/update-frozen-modules-2025-06-17
FoamyGuy Jun 17, 2025
c4562e1
expose picodvi.framebuffer.color_depth to python
FoamyGuy Jun 17, 2025
41720da
fix docstring
FoamyGuy Jun 17, 2025
2513277
Merge pull request #10431 from FoamyGuy/picodvi_color_depth
eightycc Jun 18, 2025
e546253
Translated using Weblate (Indonesian)
dhalbert Jun 17, 2025
cb3c634
Translated using Weblate (Italian)
dhalbert Jun 17, 2025
4161fe7
Translated using Weblate (Turkish)
dhalbert Jun 17, 2025
c78f843
revert latex docs build workaround
FoamyGuy Jun 18, 2025
ec2a55a
Merge pull request #10433 from weblate/weblate-circuitpython-main
dhalbert Jun 19, 2025
773d72f
Merge pull request #10435 from FoamyGuy/revert_latex_build_fix
dhalbert Jun 19, 2025
5fb3f96
MicroPython v1.25.0 merge
dhalbert Jun 19, 2025
1263d11
Merge remote-tracking branch 'adafruit/main' into merge-micropython-v…
dhalbert Jun 20, 2025
b874e04
micropython v1.25.0 merge: fix tests, fix typos, fix includes
dhalbert Jun 21, 2025
2d9f304
shrink wiznet boards
dhalbert Jun 21, 2025
751c766
Merge pull request #10437 from dhalbert/merge-micropython-v1.25.0
eightycc Jun 21, 2025
a659a62
Update translation files
weblate Jun 21, 2025
203c999
Merge pull request #10439 from weblate/weblate-circuitpython-main
dhalbert Jun 23, 2025
b2a3eef
cursor_x and cursor_y props on Terminal
FoamyGuy Jun 25, 2025
e3c5548
Merge pull request #10442 from FoamyGuy/terminal_expose_cursor_position
dhalbert Jun 25, 2025
30239b5
Translated using Weblate (Indonesian)
CrackXT Jun 28, 2025
b903f83
Translated using Weblate (German)
CrackXT Jun 28, 2025
49d8e81
Translated using Weblate (Filipino)
CrackXT Jun 28, 2025
6f74475
Translated using Weblate (Italian)
CrackXT Jun 28, 2025
cc718e7
Translated using Weblate (Korean)
CrackXT Jun 28, 2025
ca7d142
Translated using Weblate (Polish)
CrackXT Jun 28, 2025
462d9dc
Translated using Weblate (Czech)
CrackXT Jun 28, 2025
cee0143
Translated using Weblate (Dutch)
CrackXT Jun 28, 2025
cbeccc6
Translated using Weblate (Hindi)
CrackXT Jun 28, 2025
f932402
Translated using Weblate (Japanese)
CrackXT Jun 28, 2025
466e0d6
Translated using Weblate (Greek)
CrackXT Jun 28, 2025
27af975
Translated using Weblate (Turkish)
CrackXT Jun 28, 2025
28dbf29
Translated using Weblate (Indonesian)
CrackXT Jun 29, 2025
3b54a9e
Translated using Weblate (Filipino)
CrackXT Jun 29, 2025
3a3b341
Translated using Weblate (French)
CrackXT Jun 29, 2025
31f7815
Translated using Weblate (Italian)
CrackXT Jun 29, 2025
68a3404
Translated using Weblate (Korean)
CrackXT Jun 29, 2025
9a911df
Translated using Weblate (Polish)
CrackXT Jun 29, 2025
4a95164
Translated using Weblate (Czech)
CrackXT Jun 29, 2025
162fc0a
Translated using Weblate (Dutch)
CrackXT Jun 29, 2025
548e7fa
Translated using Weblate (Japanese)
CrackXT Jun 29, 2025
729e7a5
Translated using Weblate (Russian)
CrackXT Jun 29, 2025
f0b441b
Translated using Weblate (Turkish)
CrackXT Jun 29, 2025
c0559b8
add more info to lvfontio docs
FoamyGuy Jul 1, 2025
363be5f
Merge pull request #10452 from FoamyGuy/lvfont_docs
dhalbert Jul 1, 2025
e3c7300
Merge remote-tracking branch 'origin/main'
weblate Jul 1, 2025
782e25c
shared/supervisor/usb_msc_flash.c: check for valid vfs from get_vfs()
dhalbert Jul 6, 2025
16d21c6
Make ESP32-S3 4MB boards use no-ota partition table
dhalbert Jul 7, 2025
f75b8a3
Turn off _eve on 2MB boards and 4MB ESP32-S2 boards; shirnk one board…
dhalbert Jul 7, 2025
caac9ad
lilygo_tdongle_s3 does not have PSRAM
dhalbert Jul 8, 2025
b1599e2
Merge pull request #10447 from weblate/weblate-circuitpython-main
dhalbert Jul 8, 2025
f8f94e2
Merge pull request #10462 from dhalbert/lilygo-t-dongle-no-psram
dhalbert Jul 8, 2025
a424e50
Merge pull request #10457 from dhalbert/check-for-vfs-null
dhalbert Jul 8, 2025
ce71e9e
Merge pull request #10458 from dhalbert/s3-4mb-no-ota
dhalbert Jul 8, 2025
d808eff
py/parsenum: Fix parsing complex literals with negative real part.
jepler May 28, 2025
e0e7c82
Merge pull request #10463 from dhalbert/complex-parsing-fix
dhalbert Jul 8, 2025
729ef68
shared-bindings/sdioio/SDCard.c: fix example
dhalbert Jul 8, 2025
afbfa32
Merge pull request #10464 from dhalbert/fix-sdioio-data-doc
dhalbert Jul 8, 2025
23a1c9a
Merge pull request #10056 from OmarEMbed/main
dhalbert Jul 9, 2025
ac0a553
Merge pull request #9883 from ddrown/elecrow-crowpanel-3.5
dhalbert Jul 9, 2025
00a258e
enable ble
bborncr Jul 9, 2025
7809b8d
Merge pull request #10467 from bborncr/crcibernetica-ideaboard-enable…
dhalbert Jul 9, 2025
fefb461
use larger partition for ESP32-S2
dhalbert Jul 9, 2025
47a5692
Clean up espressif mpconfigboard.mk files: remove redundant settings,…
dhalbert Jul 9, 2025
e80c92c
Merge pull request #10369 from wee-noise-makers/noise-nugget-support
dhalbert Jul 10, 2025
8af7f37
Revert "espressif: port_malloc() shoud not use SPIRAM when dma_capabl…
bill88t Jul 11, 2025
1d3e6e3
Revert "Apply suggestions from code review"
bill88t Jul 11, 2025
25edea8
Revert "fix whitespaces"
bill88t Jul 11, 2025
1e77ad2
Revert "espressif: use dma for pulseio"
bill88t Jul 11, 2025
8f54e33
Reapply "espressif: port_malloc() shoud not use SPIRAM when dma_capab…
bill88t Jul 11, 2025
914d6b2
Added support for Unexpected Maker EdgeS3D
UnexpectedMaker Jul 12, 2025
a0feec2
fixed path of extracted directory
bablokb Jul 12, 2025
e76d2e4
Merge branch 'adafruit:main' into main
mariopesch Jul 12, 2025
e4ccd1c
Translated using Weblate (Dutch)
rnirthe Jul 12, 2025
4d4079b
Translated using Weblate (Dutch)
rnirthe Jul 12, 2025
d3afc2d
Translated using Weblate (Dutch)
rnirthe Jul 12, 2025
97940da
Merge pull request #10479 from weblate/weblate-circuitpython-main
tannewt Jul 14, 2025
fb8af31
Merge pull request #10477 from bablokb/fix-tool-path
tannewt Jul 14, 2025
f004816
Merge pull request #10476 from UnexpectedCircuitPython/new_um_boards
tannewt Jul 14, 2025
47259d7
Merge branch 'main' into esp32-s2-no-ota
dhalbert Jul 14, 2025
ee87ac0
Merge pull request #10470 from bill88t/revert-10397
dhalbert Jul 14, 2025
710eaa7
Merge pull request #10468 from dhalbert/esp32-s2-no-ota
dhalbert Jul 14, 2025
1cf8327
Translated using Weblate (Chinese (Hanyu Pinyin))
hexthat Jul 13, 2025
473557c
Merge pull request #10480 from weblate/weblate-circuitpython-main
dhalbert Jul 15, 2025
34a4fd0
Merge remote-tracking branch 'adafruit/main' into espressif-full-cert…
dhalbert Jul 15, 2025
2b77a6f
Add a static stubs directory
dunkmann00 Jul 16, 2025
146da64
shrink ESP32-C3 2MB flash
dhalbert Jul 16, 2025
8f72cbf
add ir pin
BlitzCityDIY Jul 16, 2025
a9a5b67
Merge pull request #10486 from BlitzCityDIY/fruitjam_ir
tannewt Jul 16, 2025
4674d2e
Merge pull request #10354 from dhalbert/espressif-full-certificate-bu…
tannewt Jul 16, 2025
559a72b
Use stub for micropython module doc generation
dunkmann00 Jul 16, 2025
5a7ec34
espressif/common-hal/frequencyio/FrequencyIn.c: fix heap_caps_malloc …
dhalbert Jul 16, 2025
73fec79
Tweak Terminal formatting so lists render correctly.
tannewt Jul 16, 2025
804e444
Merge pull request #10490 from dhalbert/frequencyio-heap-caps-malloc
tannewt Jul 16, 2025
7ec01bb
Add restart/reload note about env variables
tannewt Jul 16, 2025
4a6750f
espressif: restore settable cpu frequency
dhalbert Jul 16, 2025
6844108
Merge pull request #10495 from dhalbert/espressif-settable-frequency-fix
tannewt Jul 16, 2025
cc0f806
Merge pull request #10492 from tannewt/terminalio_doc_formatting
dhalbert Jul 16, 2025
b4a8d45
Add redirect from old micropython doc page
dunkmann00 Jul 17, 2025
3a46216
Translated using Weblate (Spanish)
ourpxi Jul 16, 2025
e815e40
Merge pull request #10496 from weblate/weblate-circuitpython-main
dhalbert Jul 17, 2025
a7ebe3b
restart -> reset
tannewt Jul 17, 2025
3512e66
Merge pull request #10493 from tannewt/env_restart_reload
dhalbert Jul 18, 2025
d3c0482
Merge branch 'adafruit:main' into main
mariopesch Jul 22, 2025
f4316cb
Autodetect new MagTag displays
tannewt Jul 22, 2025
857c625
Merge pull request #10505 from tannewt/magtag2025
dhalbert Jul 22, 2025
8e86626
Translated using Weblate (Polish)
MuskoM Jul 22, 2025
d60ee97
Translated using Weblate (Polish)
Jul 22, 2025
4cd2e83
Translated using Weblate (Polish)
MuskoM Jul 22, 2025
5202246
Merge pull request #10506 from weblate/weblate-circuitpython-main
tannewt Jul 23, 2025
03acfe8
Update lib/certificates
dhalbert Jul 23, 2025
3d980e8
raspberrypi, zephyr-cp: use lib/certificates/roots-full.pem
dhalbert Jul 23, 2025
dffd734
feat: add board waveshare_esp32_s3_lcd_1_47
Jul 23, 2025
b74c50e
waveshare_esp32_s3_lcd_1_47/mpconfigboard.mk: remove explicit CIRCUIT…
dhalbert Jul 24, 2025
70c324e
Merge pull request #10509 from liduanjun/esp32s3_lcd_1.47
dhalbert Jul 24, 2025
edddfff
raspberrypi: use -O2, not default -O3, for a few boards
dhalbert Jul 23, 2025
707e621
Merge pull request #10508 from dhalbert/rp2-full-cert-bundle
tannewt Jul 24, 2025
1c19926
Merge pull request #10485 from dunkmann00/static-stubs
FoamyGuy Jul 25, 2025
b16d18e
espressif/common-hal/alarm/PinAlarm.c: return correct wakeup pin for …
dhalbert Jul 25, 2025
2e183f4
Add support for quad color epaper
tannewt Jul 23, 2025
55714ba
Merge branch 'adafruit:main' into main
mariopesch Jul 29, 2025
69534be
update pins
mariopesch Jul 29, 2025
7ea1ecf
include neopixel library
mariopesch Jul 29, 2025
704f4d3
run pre-commit
mariopesch Jul 29, 2025
38d7bec
fix end of file
mariopesch Jul 29, 2025
3f95c01
Merge pull request #10513 from dhalbert/esp32-correct-wakeup-pin
tannewt Jul 29, 2025
27f34cb
Fix other boards by adding new param
tannewt Jul 29, 2025
af67261
Tweak computation of new heap area size
tannewt Jul 29, 2025
6e28ac3
Translated using Weblate (French)
Jul 28, 2025
16f4f65
Translated using Weblate (French)
supcik Jul 28, 2025
6f87f10
Merge pull request #10525 from tannewt/fj_memory
dhalbert Jul 30, 2025
ebd4542
Merge pull request #10519 from tannewt/quad_epd
dhalbert Jul 30, 2025
48d945f
Merge pull request #10526 from weblate/weblate-circuitpython-main
dhalbert Jul 30, 2025
0e26ab4
update USB_MANUFACTURER for senseBox boards
mariopesch Jul 30, 2025
fd2627c
Support mono to stereo conversion in `audiomixer.Mixer`
relic-se Jul 30, 2025
62551fc
Merge pull request #10523 from sensebox/main
tannewt Jul 30, 2025
c92efd6
Add `MixerVoice.panning`
relic-se Jul 30, 2025
fb84062
Fix bitshift operation on atmel-samd
relic-se Jul 30, 2025
f94f564
Fix docstring reference
relic-se Jul 30, 2025
f1d20b2
.github/actions/deps/ports/nordic/action.yml: Change URL for nrfutil
dhalbert Jul 30, 2025
234ebf4
Merge pull request #10530 from dhalbert/wget-nrfutil-elsewhere
dhalbert Jul 30, 2025
e48abf1
Merge branch 'adafruit:main' into audiomixer-mono
relic-se Jul 30, 2025
58b13f7
fix picodvi refresh rates (use 60Hz)
samblenny Aug 1, 2025
173a946
correct board.UART() pins on Feather ESP32-S2/S3
dhalbert Aug 1, 2025
efc45de
Translated using Weblate (Spanish)
CrackXT Aug 2, 2025
e3f6154
Translated using Weblate (French)
CrackXT Aug 2, 2025
23bf5a5
Translated using Weblate (Polish)
CrackXT Aug 2, 2025
4d67ab6
Merge pull request #10537 from dhalbert/reverse-tft-default-uart
dhalbert Aug 4, 2025
0e5741e
Merge remote-tracking branch 'origin/main'
weblate Aug 4, 2025
81a896e
Merge pull request #10542 from weblate/weblate-circuitpython-main
dhalbert Aug 4, 2025
f86bf4c
Merge pull request #10534 from samblenny/picodvi-60Hz-fix
dhalbert Aug 4, 2025
3aa680c
Add os.urandom module to ports/analog for MAX32690_apard
PaggieZ Aug 4, 2025
06f1ac3
update licenses
PaggieZ Aug 5, 2025
c694f64
Merge pull request #10549 from PaggieZ/ports/analog/add-urandom
dhalbert Aug 6, 2025
2c83897
Translated using Weblate (Polish)
CrackXT Aug 5, 2025
65cfcb8
Merge pull request #10550 from weblate/weblate-circuitpython-main
tannewt Aug 6, 2025
7dc07f5
update tinyusb submodule commit
samblenny Aug 8, 2025
d7b467f
Update Pico-PIO-USB to latest (0.7.2)
samblenny Aug 12, 2025
592d3f7
Turn off SAMD21 options to reduce image size
samblenny Aug 12, 2025
57c9797
Add tempo property
relic-se Aug 12, 2025
712550c
Merge pull request #10567 from relic-se/miditrack-tempo
tannewt Aug 12, 2025
117b5d1
Merge pull request #10559 from samblenny/update-TinyUSB
tannewt Aug 12, 2025
d2867b4
update frozen libraries
FoamyGuy Aug 19, 2025
323264c
Merge pull request #10575 from FoamyGuy/update_frozen_modules_main
dhalbert Aug 20, 2025
e0f5135
allow HID usage of zero; at least one device does this
dhalbert Aug 20, 2025
9a8f06b
Merge pull request #10577 from dhalbert/allow-hid-usage-zero
dhalbert Aug 20, 2025
525d185
espressif/mpconfigport.mk: make more readable; restore audio on espre…
dhalbert Aug 21, 2025
56bff43
Merge pull request #10578 from dhalbert/restore-audioio-on-espressif-…
dhalbert Aug 22, 2025
a483332
Scale current duration when tempo is adjusted
relic-se Aug 22, 2025
c202140
Merge pull request #10579 from relic-se/miditrack-tempo-dur
dhalbert Aug 22, 2025
7b5587c
shrink some boards and for some boards make the turned-off modules co…
dhalbert Aug 22, 2025
6ed41a0
Merge pull request #10529 from relic-se/audiomixer-mono
dhalbert Aug 22, 2025
687d0cb
shrink overflowing boards after #10529
dhalbert Aug 23, 2025
055034f
fix busio.UART.Parity documentation indentation
dhalbert Aug 23, 2025
4ee1a3e
Merge pull request #10581 from dhalbert/shrink-m4-boards
dhalbert Aug 23, 2025
9238ee7
Merge pull request #10582 from dhalbert/doc-fixes
dhalbert Aug 23, 2025
987f393
Merge remote-tracking branch 'upstream/main' into chris/merge-latest-…
christopherwun Aug 25, 2025
757854c
migration to of cionic libs to 9.2.8 syntax
christopherwun Aug 25, 2025
9b7f728
pre-commit formatting, vid/pidupdate
christopherwun Aug 25, 2025
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
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .codespell/exclude-file.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ USB_PRODUCT = "BLOK"
print(binascii.b2a_base64(b"fo"))
# again, neither will "there" or "wither", since they have "the"
i1Qb$TE"rl
ZEN = "the zen of python beautiful is better than ugly explicit is better than implicit simple is better than complex complex is better than complicated flat is better than nested sparse is better than dense readability counts special cases arent special enough to break the rules although practicality beats purity errors should never pass silently unless explicitly silenced in the face of ambiguity refuse the temptation to guess there should be one and preferably only one obvious way to do it although that way may not be obvious at first unless youre dutch now is better than never although never is often better than right now if the implementation is hard to explain its a bad idea if the implementation is easy to explain it may be a good idea namespaces are one honking great idea lets do more of those"
"arent",
"youre",
USB_MANUFACTURER = "Wee Noise Makers"
1 change: 1 addition & 0 deletions .codespell/ignore-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ ftbfs
straightaway
ftbs
ftb
curren
107 changes: 107 additions & 0 deletions .devcontainer/add_kitware_archive.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
#!/bin/sh
# -----------------------------------------------------------------------------
# This script is from: https://apt.kitware.com/kitware-archive.sh
#
# It installs key and repo for the kitware CMAKE-archive.
#
# Author: Bernhard Bablok
#
# -----------------------------------------------------------------------------

set -eu

help() {
echo "Usage: $0 [--release <ubuntu-release>] [--rc]" > /dev/stderr
}

doing=
rc=
release=
help=
for opt in "$@"
do
case "${doing}" in
release)
release="${opt}"
doing=
;;
"")
case "${opt}" in
--rc)
rc=1
;;
--release)
doing=release
;;
--help)
help=1
;;
esac
;;
esac
done

if [ -n "${doing}" ]
then
echo "--${doing} option given no argument." > /dev/stderr
echo > /dev/stderr
help
exit 1
fi

if [ -n "${help}" ]
then
help
exit
fi

if [ -z "${release}" ]
then
unset UBUNTU_CODENAME
. /etc/os-release

if [ -z "${UBUNTU_CODENAME+x}" ]
then
echo "This is not an Ubuntu system. Aborting." > /dev/stderr
exit 1
fi

release="${UBUNTU_CODENAME}"
fi

case "${release}" in
noble|jammy|focal)
packages=
keyring_packages="ca-certificates gpg wget"
;;
*)
echo "Only Ubuntu Noble (24.04), Jammy (22.04), and Focal (20.04) are supported. Aborting." > /dev/stderr
exit 1
;;
esac

get_keyring=
if [ ! -f /usr/share/doc/kitware-archive-keyring/copyright ]
then
packages="${packages} ${keyring_packages}"
get_keyring=1
fi

# Start the real work
set -x

apt-get update
# shellcheck disable=SC2086
apt-get install -y ${packages}

test -n "${get_keyring}" && (wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - > /usr/share/keyrings/kitware-archive-keyring.gpg)

echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ ${release} main" > /etc/apt/sources.list.d/kitware.list
if [ -n "${rc}" ]
then
echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ ${release}-rc main" >> /etc/apt/sources.list.d/kitware.list
fi

apt-get update
test -n "${get_keyring}" && rm /usr/share/keyrings/kitware-archive-keyring.gpg
apt-get install -y kitware-archive-keyring
5 changes: 5 additions & 0 deletions .devcontainer/common_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ cd "$REPO_ROOT"

# --- repositories and tools ------------------------------------------------

echo -e "[common_tools.sh] adding kitware-archive (for current CMAKE)"
sudo .devcontainer/add_kitware_archive.sh
echo -e "[common_tools.sh] installing current version of CMAKE"
sudo apt-get -y install cmake

echo -e "[common_tools.sh] adding pybricks/ppa"
sudo add-apt-repository -y ppa:pybricks/ppa
echo -e "[common_tools.sh] installing uncrustify and mtools"
Expand Down
4 changes: 2 additions & 2 deletions .devcontainer/cortex-m-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ echo -e "[cortex-m-toolchain.sh] downloading and installing gcc-arm-non-eabi too
cd /workspaces

wget -qO gcc-arm-none-eabi.tar.xz \
https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz
https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz

tar -xJf gcc-arm-none-eabi.tar.xz
ln -s arm-gnu-toolchain-13.2.Rel1-x86_64-arm-none-eabi gcc-arm-none-eabi
ln -s arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi gcc-arm-none-eabi
rm -f gcc-arm-none-eabi.tar.xz

echo -e "[cortex-m-toolchain.sh] update PATH in environment"
Expand Down
12 changes: 12 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# all: Prune trailing whitespace.
dda9b9c6da5d3c31fa8769e581a753e95a270803

# all: Remove the "STATIC" macro and just use "static" instead.
decf8e6a8bb940d5829ca3296790631fcece7b21

# renesas-ra: Fix spelling mistakes found by codespell.
b3f2f18f927fa2fad10daf63d8c391331f5edf58

# all: Update Python formatting to ruff-format.
bbd8760bd9a2302e5abee29db279102bb11d7732

# all: Fix various spelling mistakes found by codespell 2.2.6.
cf490a70917a1b2d38ba9b58e763e0837d0f7ca7

Expand Down
12 changes: 4 additions & 8 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@
*.props text eol=crlf
*.bat text eol=crlf

# CIRCUITPY-CHANGE: add some more binary types.
# These are binary so should never be modified by git.
*.a binary
*.ico binary
*.png binary
*.jpg binary
*.dxf binary
*.mpy binary
*.der binary
*.deb binary
*.zip binary
*.pdf binary
Expand All @@ -24,11 +27,4 @@
# These should also not be modified by git.
tests/basics/string_cr_conversion.py -text
tests/basics/string_crlf_conversion.py -text
ports/stm32/pybcdc.inf_template -text
ports/stm32/usbhost/** -text
ports/cc3200/hal/aes.c -text
ports/cc3200/hal/aes.h -text
ports/cc3200/hal/des.c -text
ports/cc3200/hal/i2s.c -text
ports/cc3200/hal/i2s.h -text
ports/cc3200/version.h -text
# CIRCUITPY-CHANGE: remove non-CircuitPython tests
12 changes: 6 additions & 6 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: 🐞 Bug Report
description: Create a bug report to help us improve
description: Create a bug report to help us improve CircuitPython
labels:
- bug
body:
- type: markdown
attributes:
value: >-
Thanks for testing out CircuitPython! Now that you have encountered a
bug... you can file a report for it.
bug, you can file a report for it.
- type: textarea
id: firmware
attributes:
label: CircuitPython version
label: CircuitPython version and board name
description: >-
Include the version of CircuitPython you're running. You can see it in
the `boot_out.txt` file, as well as in the `REPL`.
Include the version of CircuitPython you're running and the name of the board you're using.
You can find this information in the `boot_out.txt` file, as well as in the REPL.
placeholder: Adafruit CircuitPython 6.2.0 on 2021-03-01; Raspberry Pi Pico with rp2040
render: python
validations:
Expand All @@ -23,7 +23,7 @@ body:
id: code
attributes:
label: Code/REPL
description: This is automatically rendered as Python, so no need for backticks.
description: Code here is automatically rendered as Python, so you don't need to include backticks.
placeholder: |
import busio, bitbangio
i2c = bitbangio.I2C(board.GP1, board.GP0)
Expand Down
7 changes: 4 additions & 3 deletions .github/actions/deps/external/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ runs:
if: >-
inputs.port != 'none' &&
inputs.port != 'litex' &&
inputs.port != 'espressif'
inputs.port != 'espressif' &&
inputs.port != 'zephyr-cp'
uses: carlosperate/arm-none-eabi-gcc-action@v1
with:
# When changing this update what Windows grabs too!
release: '13.2.Rel1'
release: '14.2.Rel1'

# espressif
- name: Get espressif toolchain
Expand All @@ -51,7 +52,7 @@ runs:

# common
- name: Cache python dependencies
if: inputs.port != 'espressif'
if: inputs.port != 'espressif' && inputs.port != 'zephyr-cp'
uses: ./.github/actions/deps/python
with:
action: ${{ inputs.action }}
Expand Down
24 changes: 10 additions & 14 deletions .github/actions/deps/ports/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,29 @@ inputs:
board:
required: true
type: string

outputs:
port:
value: ${{ steps.board-to-port.outputs.port }}
required: true
type: string

runs:
using: composite
steps:
- name: Board to port
id: board-to-port
run: |
PORT=$(find ports/*/boards/ -type d -name ${{ inputs.board }} | sed 's/^ports\///g;s/\/boards.*//g')
if [ -z $PORT ]; then (exit 1); else echo >> $GITHUB_OUTPUT "port=$PORT"; fi
shell: bash

- name: Set up broadcom
if: steps.board-to-port.outputs.port == 'broadcom'
if: inputs.port == 'broadcom'
uses: ./.github/actions/deps/ports/broadcom

- name: Set up espressif
if: steps.board-to-port.outputs.port == 'espressif'
if: inputs.port == 'espressif'
uses: ./.github/actions/deps/ports/espressif

- name: Set up litex
if: steps.board-to-port.outputs.port == 'litex'
if: inputs.port == 'litex'
uses: ./.github/actions/deps/ports/litex

- name: Set up nordic
if: steps.board-to-port.outputs.port == 'nordic'
if: inputs.port == 'nordic'
uses: ./.github/actions/deps/ports/nordic

- name: Set up Zephyr
if: inputs.port == 'zephyr-cp'
uses: ./.github/actions/deps/ports/zephyr-cp
4 changes: 2 additions & 2 deletions .github/actions/deps/ports/broadcom/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ runs:
steps:
- name: Get broadcom toolchain
run: |
wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-elf.tar.xz
sudo tar -C /usr --strip-components=1 -xaf arm-gnu-toolchain-14.2.rel1-x86_64-aarch64-none-elf.tar.xz
sudo apt-get update
sudo apt-get install -y mtools
shell: bash
Expand Down
1 change: 1 addition & 0 deletions .github/actions/deps/ports/espressif/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ runs:
run: |
echo >> $GITHUB_ENV "IDF_PATH=$GITHUB_WORKSPACE/ports/espressif/esp-idf"
echo >> $GITHUB_ENV "IDF_TOOLS_PATH=$GITHUB_WORKSPACE/.idf_tools"
echo >> $GITHUB_ENV "ESP_ROM_ELF_DIR=$GITHUB_WORKSPACE/.idf_tools"
shell: bash

- name: Get IDF commit
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/deps/ports/nordic/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ runs:
steps:
- name: Get nrfutil 7+
run: |
wget https://developer.nordicsemi.com/.pc-tools/nrfutil/x64-linux/nrfutil
wget https://files.nordicsemi.com/artifactory/swtools/external/nrfutil/executables/x86_64-unknown-linux-gnu/nrfutil
chmod +x nrfutil
./nrfutil install nrf5sdk-tools
mkdir -p $HOME/.local/bin
Expand Down
15 changes: 15 additions & 0 deletions .github/actions/deps/ports/zephyr-cp/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Fetch Zephyr port deps

runs:
using: composite
steps:
- name: Setup Zephyr project
uses: zephyrproject-rtos/action-zephyr-setup@v1
with:
app-path: zephyr-config
base-path: ports/zephyr-cp
toolchains: arm-zephyr-eabi
- name: Export cmake info
run: west zephyr-export
shell: bash
working-directory: ports/zephyr-cp
4 changes: 2 additions & 2 deletions .github/actions/deps/submodules/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ inputs:
- restore

version:
description: 'Whether to generate CP version'
description: 'Whether to fetch tags to identify CP version'
required: false
default: false
type: boolean
Expand Down Expand Up @@ -80,7 +80,7 @@ runs:
git fetch --no-recurse-submodules --shallow-since="2021-07-01" origin $GITHUB_SHA
git repack -d
echo "::endgroup::"
CP_VERSION=$(tools/describe)
CP_VERSION=$(python py/version.py)
echo "$CP_VERSION"
echo "CP_VERSION=$CP_VERSION" >> $GITHUB_ENV
echo "cp-version=$CP_VERSION" >> $GITHUB_OUTPUT
Expand Down
7 changes: 5 additions & 2 deletions .github/actions/upload_aws/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ runs:
steps:
- name: Upload to S3
if: >-
(github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') ||
(github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
(github.event_name == 'push' && github.repository_owner == 'adafruit') &&
(github.ref == 'refs/heads/main' ||
(startswith(github.ref, 'refs/heads/') && endswith(github.ref, '.x'))) ||
(github.event_name == 'release' &&
(github.event.action == 'published' || github.event.action == 'rerequested'))
run: >-
[ -z "$AWS_ACCESS_KEY_ID" ] ||
aws s3 cp ${{ inputs.source }} s3://adafruit-circuit-python/bin/${{ inputs.destination }}
Expand Down
10 changes: 10 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Thanks for submitting a pull request to CircuitPython! Remove these instructions before submitting.

See https://learn.adafruit.com/contribute-to-circuitpython-with-git-and-github for detailed instructions.

- Consider whether to submit this PR against `main` or against (if it exists) the branch for the current stable release or an upcoming minor release. The branch will be named `i.j.x`, for example, `9.2.x`. Bug fixes and minor enhancements can be submitted against the stable release branch, and will be merged to `main` regularly.
- Create your own fork of `circuitpython` and create a branch for your changes.
- Use `pre-commit` to check your commits before submitting. See https://learn.adafruit.com/contribute-to-circuitpython-with-git-and-github/check-your-code.
- Test your changes and tell us how you tested.

---
Loading
Loading