Skip to content

Commit 9b98039

Browse files
committed
Merge remote-tracking branch 'adafruit/main' into tws3
2 parents e51d167 + 5f7c42e commit 9b98039

File tree

114 files changed

+3401
-457
lines changed

Some content is hidden

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

114 files changed

+3401
-457
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,10 +255,13 @@ jobs:
255255
wget --no-verbose -O gcc-arm.zip https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi.zip
256256
unzip -q -d /tmp gcc-arm.zip
257257
tar -C /tmp/arm-gnu-toolchain* -cf - . | tar -C /usr/local -xf -
258-
pip install wheel
259-
# requirements_dev.txt doesn't install on windows. (with msys2 python)
258+
# We could use a venv instead, but that requires entering the venv on each run step
259+
# that runs in its own shell. There are some actions that help with that, but not for msys2
260+
# that I can find. (dhalbert)
261+
pip install --break-system-packages wheel
262+
# requirements-dev.txt doesn't install on windows. (with msys2 python)
260263
# instead, pick a subset for what we want to do
261-
pip install cascadetoml jinja2 typer click intelhex
264+
pip install --break-system-packages cascadetoml jinja2 typer click intelhex
262265
# check that installed packages work....?
263266
which python; python --version; python -c "import cascadetoml"
264267
which python3; python3 --version; python3 -c "import cascadetoml"

.gitmodules

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,8 @@
344344
url = https://github.com/adafruit/Adafruit_CircuitPython_Wave.git
345345
[submodule "ports/raspberrypi/lib/Pico-PIO-USB"]
346346
path = ports/raspberrypi/lib/Pico-PIO-USB
347-
url = https://github.com/sekigon-gonnoc/Pico-PIO-USB.git
348-
branch = main
347+
url = https://github.com/adafruit/Pico-PIO-USB.git
348+
branch = sdk2_fix
349349
[submodule "lib/micropython-lib"]
350350
path = lib/micropython-lib
351351
url = https://github.com/micropython/micropython-lib.git
@@ -404,3 +404,6 @@
404404
[submodule "frozen/Adafruit_CircuitPython_PCF8563"]
405405
path = frozen/Adafruit_CircuitPython_PCF8563
406406
url = https://github.com/adafruit/Adafruit_CircuitPython_PCF8563
407+
[submodule "frozen/Adafruit_CircuitPython_Wiznet5k"]
408+
path = frozen/Adafruit_CircuitPython_Wiznet5k
409+
url = https://github.com/adafruit/Adafruit_CircuitPython_Wiznet5k

.pre-commit-config.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ repos:
88
hooks:
99
- id: check-yaml
1010
- id: end-of-file-fixer
11-
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*)'
11+
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*|ports/raspberrypi/sdk|lib/tinyusb)'
1212
- id: trailing-whitespace
13-
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*|lib/mbedtls_errors/generate_errors.diff)'
13+
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*|lib/mbedtls_errors/generate_errors.diff|ports/raspberrypi/sdk|lib/tinyusb)'
1414
- repo: https://github.com/codespell-project/codespell
1515
rev: v2.2.4
1616
hooks:
@@ -22,7 +22,8 @@ repos:
2222
lib/|
2323
tests/unicode/data/utf-8_invalid.txt|
2424
tests/extmod/data/qr.pgm|
25-
tests/basics/bytearray_byte_operations.py
25+
tests/basics/bytearray_byte_operations.py|
26+
ports/raspberrypi/sdk
2627
)
2728
- repo: local
2829
hooks:
@@ -37,3 +38,8 @@ repos:
3738
entry: python3 tools/codeformat.py
3839
types_or: [c, python]
3940
language: system
41+
exclude: |
42+
(?x)^(
43+
lib/tinyusb|
44+
ports/raspberrypi/sdk
45+
)

lib/tinyusb

Submodule tinyusb updated 219 files

lib/tlsf

Submodule tlsf updated 1 file

locale/ID.po

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ msgstr ""
112112
#: ports/espressif/common-hal/espulp/ULP.c
113113
#: ports/mimxrt10xx/common-hal/audiobusio/__init__.c
114114
#: ports/mimxrt10xx/common-hal/usb_host/Port.c
115-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
115+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
116+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
116117
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
117118
#: ports/raspberrypi/common-hal/usb_host/Port.c
118119
#: shared-bindings/digitalio/DigitalInOut.c
@@ -156,7 +157,7 @@ msgstr ""
156157
msgid "%q length must be >= %d"
157158
msgstr ""
158159

159-
#: py/objmodule.c py/runtime.c
160+
#: py/modsys.c py/objmodule.c py/runtime.c
160161
msgid "%q moved from %q to %q"
161162
msgstr ""
162163

@@ -512,7 +513,7 @@ msgid "All event channels in use"
512513
msgstr "Semua channel event sedang digunakan"
513514

514515
#: ports/raspberrypi/common-hal/floppyio/__init__.c
515-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
516+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
516517
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
517518
#: ports/raspberrypi/common-hal/usb_host/Port.c
518519
msgid "All state machines in use"
@@ -522,7 +523,7 @@ msgstr ""
522523
msgid "All sync event channels in use"
523524
msgstr "Semua channel event yang disinkronisasi sedang digunakan"
524525

525-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
526+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
526527
msgid "All timers for this pin are in use"
527528
msgstr "Semua timer untuk pin ini sedang digunakan"
528529

@@ -1168,7 +1169,9 @@ msgstr "Kesalahan internal #%d"
11681169
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
11691170
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
11701171
#: ports/atmel-samd/common-hal/rotaryio/IncrementalEncoder.c
1171-
#: ports/cxd56/common-hal/pulseio/PulseIn.c shared-bindings/pwmio/PWMOut.c
1172+
#: ports/cxd56/common-hal/pulseio/PulseIn.c
1173+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
1174+
#: shared-bindings/pwmio/PWMOut.c
11721175
msgid "Internal resource(s) in use"
11731176
msgstr ""
11741177

@@ -1189,12 +1192,16 @@ msgstr ""
11891192
#: ports/mimxrt10xx/common-hal/audiobusio/__init__.c
11901193
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
11911194
#: ports/raspberrypi/bindings/picodvi/Framebuffer.c
1192-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c py/argcheck.c
1195+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c py/argcheck.c
11931196
#: shared-bindings/digitalio/DigitalInOut.c
11941197
#: shared-bindings/epaperdisplay/EPaperDisplay.c shared-bindings/pwmio/PWMOut.c
11951198
msgid "Invalid %q"
11961199
msgstr ""
11971200

1201+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
1202+
msgid "Invalid %q and %q"
1203+
msgstr ""
1204+
11981205
#: ports/atmel-samd/common-hal/microcontroller/Pin.c
11991206
#: ports/espressif/common-hal/dotclockframebuffer/DotClockFramebuffer.c
12001207
#: ports/mimxrt10xx/common-hal/microcontroller/Pin.c
@@ -2351,6 +2358,7 @@ msgid "You pressed the SW38 button at start up."
23512358
msgstr ""
23522359

23532360
#: ports/espressif/boards/hardkernel_odroid_go/mpconfigboard.h
2361+
#: ports/espressif/boards/vidi_x/mpconfigboard.h
23542362
msgid "You pressed the VOLUME button at start up."
23552363
msgstr ""
23562364

locale/circuitpython.pot

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ msgstr ""
109109
#: ports/espressif/common-hal/espulp/ULP.c
110110
#: ports/mimxrt10xx/common-hal/audiobusio/__init__.c
111111
#: ports/mimxrt10xx/common-hal/usb_host/Port.c
112-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
112+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
113+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
113114
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
114115
#: ports/raspberrypi/common-hal/usb_host/Port.c
115116
#: shared-bindings/digitalio/DigitalInOut.c
@@ -153,7 +154,7 @@ msgstr ""
153154
msgid "%q length must be >= %d"
154155
msgstr ""
155156

156-
#: py/objmodule.c py/runtime.c
157+
#: py/modsys.c py/objmodule.c py/runtime.c
157158
msgid "%q moved from %q to %q"
158159
msgstr ""
159160

@@ -509,7 +510,7 @@ msgid "All event channels in use"
509510
msgstr ""
510511

511512
#: ports/raspberrypi/common-hal/floppyio/__init__.c
512-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
513+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
513514
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
514515
#: ports/raspberrypi/common-hal/usb_host/Port.c
515516
msgid "All state machines in use"
@@ -519,7 +520,7 @@ msgstr ""
519520
msgid "All sync event channels in use"
520521
msgstr ""
521522

522-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
523+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
523524
msgid "All timers for this pin are in use"
524525
msgstr ""
525526

@@ -1160,7 +1161,9 @@ msgstr ""
11601161
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
11611162
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
11621163
#: ports/atmel-samd/common-hal/rotaryio/IncrementalEncoder.c
1163-
#: ports/cxd56/common-hal/pulseio/PulseIn.c shared-bindings/pwmio/PWMOut.c
1164+
#: ports/cxd56/common-hal/pulseio/PulseIn.c
1165+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
1166+
#: shared-bindings/pwmio/PWMOut.c
11641167
msgid "Internal resource(s) in use"
11651168
msgstr ""
11661169

@@ -1181,12 +1184,16 @@ msgstr ""
11811184
#: ports/mimxrt10xx/common-hal/audiobusio/__init__.c
11821185
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
11831186
#: ports/raspberrypi/bindings/picodvi/Framebuffer.c
1184-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c py/argcheck.c
1187+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c py/argcheck.c
11851188
#: shared-bindings/digitalio/DigitalInOut.c
11861189
#: shared-bindings/epaperdisplay/EPaperDisplay.c shared-bindings/pwmio/PWMOut.c
11871190
msgid "Invalid %q"
11881191
msgstr ""
11891192

1193+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
1194+
msgid "Invalid %q and %q"
1195+
msgstr ""
1196+
11901197
#: ports/atmel-samd/common-hal/microcontroller/Pin.c
11911198
#: ports/espressif/common-hal/dotclockframebuffer/DotClockFramebuffer.c
11921199
#: ports/mimxrt10xx/common-hal/microcontroller/Pin.c
@@ -2329,6 +2336,7 @@ msgid "You pressed the SW38 button at start up."
23292336
msgstr ""
23302337

23312338
#: ports/espressif/boards/hardkernel_odroid_go/mpconfigboard.h
2339+
#: ports/espressif/boards/vidi_x/mpconfigboard.h
23322340
msgid "You pressed the VOLUME button at start up."
23332341
msgstr ""
23342342

locale/cs.po

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ msgstr "%q v %q musí být typu %q, ne %q"
120120
#: ports/espressif/common-hal/espulp/ULP.c
121121
#: ports/mimxrt10xx/common-hal/audiobusio/__init__.c
122122
#: ports/mimxrt10xx/common-hal/usb_host/Port.c
123-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
123+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
124+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
124125
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
125126
#: ports/raspberrypi/common-hal/usb_host/Port.c
126127
#: shared-bindings/digitalio/DigitalInOut.c
@@ -164,7 +165,7 @@ msgstr "Délka %q musí být <= %d"
164165
msgid "%q length must be >= %d"
165166
msgstr "Délka %q musí být >= %d"
166167

167-
#: py/objmodule.c py/runtime.c
168+
#: py/modsys.c py/objmodule.c py/runtime.c
168169
msgid "%q moved from %q to %q"
169170
msgstr ""
170171

@@ -520,7 +521,7 @@ msgid "All event channels in use"
520521
msgstr "Všechny kanály událostí jsou již používány"
521522

522523
#: ports/raspberrypi/common-hal/floppyio/__init__.c
523-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
524+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
524525
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
525526
#: ports/raspberrypi/common-hal/usb_host/Port.c
526527
msgid "All state machines in use"
@@ -530,7 +531,7 @@ msgstr "Všechny stavové automaty jsou používány"
530531
msgid "All sync event channels in use"
531532
msgstr ""
532533

533-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
534+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
534535
msgid "All timers for this pin are in use"
535536
msgstr "Všechny časovače pro tento pin jsou používány"
536537

@@ -1180,7 +1181,9 @@ msgstr "Vnitřní chyba #%d"
11801181
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
11811182
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
11821183
#: ports/atmel-samd/common-hal/rotaryio/IncrementalEncoder.c
1183-
#: ports/cxd56/common-hal/pulseio/PulseIn.c shared-bindings/pwmio/PWMOut.c
1184+
#: ports/cxd56/common-hal/pulseio/PulseIn.c
1185+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
1186+
#: shared-bindings/pwmio/PWMOut.c
11841187
msgid "Internal resource(s) in use"
11851188
msgstr ""
11861189

@@ -1201,12 +1204,16 @@ msgstr ""
12011204
#: ports/mimxrt10xx/common-hal/audiobusio/__init__.c
12021205
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
12031206
#: ports/raspberrypi/bindings/picodvi/Framebuffer.c
1204-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c py/argcheck.c
1207+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c py/argcheck.c
12051208
#: shared-bindings/digitalio/DigitalInOut.c
12061209
#: shared-bindings/epaperdisplay/EPaperDisplay.c shared-bindings/pwmio/PWMOut.c
12071210
msgid "Invalid %q"
12081211
msgstr "Špatný %s"
12091212

1213+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
1214+
msgid "Invalid %q and %q"
1215+
msgstr ""
1216+
12101217
#: ports/atmel-samd/common-hal/microcontroller/Pin.c
12111218
#: ports/espressif/common-hal/dotclockframebuffer/DotClockFramebuffer.c
12121219
#: ports/mimxrt10xx/common-hal/microcontroller/Pin.c
@@ -2360,6 +2367,7 @@ msgid "You pressed the SW38 button at start up."
23602367
msgstr "Při spuštění jsi stiskl tlačítko SW38."
23612368

23622369
#: ports/espressif/boards/hardkernel_odroid_go/mpconfigboard.h
2370+
#: ports/espressif/boards/vidi_x/mpconfigboard.h
23632371
msgid "You pressed the VOLUME button at start up."
23642372
msgstr "Při spuštění jsi stiskl tlačítko VOLUME."
23652373

locale/de_DE.po

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ msgstr "%q in %q muss von Typ %q sein, nicht %q"
122122
#: ports/espressif/common-hal/espulp/ULP.c
123123
#: ports/mimxrt10xx/common-hal/audiobusio/__init__.c
124124
#: ports/mimxrt10xx/common-hal/usb_host/Port.c
125-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
125+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
126+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
126127
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
127128
#: ports/raspberrypi/common-hal/usb_host/Port.c
128129
#: shared-bindings/digitalio/DigitalInOut.c
@@ -166,7 +167,7 @@ msgstr "%q länge muss kleiner oder gleich %d sein"
166167
msgid "%q length must be >= %d"
167168
msgstr "%q länge muss größer oder gleich %d sein"
168169

169-
#: py/objmodule.c py/runtime.c
170+
#: py/modsys.c py/objmodule.c py/runtime.c
170171
msgid "%q moved from %q to %q"
171172
msgstr "%q von %q nach %q versetzt"
172173

@@ -524,7 +525,7 @@ msgid "All event channels in use"
524525
msgstr "Alle Event-Kanäle werden benutzt"
525526

526527
#: ports/raspberrypi/common-hal/floppyio/__init__.c
527-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
528+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
528529
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
529530
#: ports/raspberrypi/common-hal/usb_host/Port.c
530531
msgid "All state machines in use"
@@ -534,7 +535,7 @@ msgstr "Alle State-Maschinen in Verwendung"
534535
msgid "All sync event channels in use"
535536
msgstr "Alle Sync Event-Kanäle werden benutzt"
536537

537-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c
538+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c
538539
msgid "All timers for this pin are in use"
539540
msgstr "Alle Timer für diesen Pin werden bereits benutzt"
540541

@@ -1191,7 +1192,9 @@ msgstr "Interner Fehler #%d"
11911192
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
11921193
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
11931194
#: ports/atmel-samd/common-hal/rotaryio/IncrementalEncoder.c
1194-
#: ports/cxd56/common-hal/pulseio/PulseIn.c shared-bindings/pwmio/PWMOut.c
1195+
#: ports/cxd56/common-hal/pulseio/PulseIn.c
1196+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
1197+
#: shared-bindings/pwmio/PWMOut.c
11951198
msgid "Internal resource(s) in use"
11961199
msgstr "Interne Ressource(n) in Benutzung"
11971200

@@ -1212,12 +1215,16 @@ msgstr "Unterbrochen durch Ausgabefunktion"
12121215
#: ports/mimxrt10xx/common-hal/audiobusio/__init__.c
12131216
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
12141217
#: ports/raspberrypi/bindings/picodvi/Framebuffer.c
1215-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c py/argcheck.c
1218+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2040.c py/argcheck.c
12161219
#: shared-bindings/digitalio/DigitalInOut.c
12171220
#: shared-bindings/epaperdisplay/EPaperDisplay.c shared-bindings/pwmio/PWMOut.c
12181221
msgid "Invalid %q"
12191222
msgstr "Ungültiger %q"
12201223

1224+
#: ports/raspberrypi/common-hal/picodvi/Framebuffer_RP2350.c
1225+
msgid "Invalid %q and %q"
1226+
msgstr ""
1227+
12211228
#: ports/atmel-samd/common-hal/microcontroller/Pin.c
12221229
#: ports/espressif/common-hal/dotclockframebuffer/DotClockFramebuffer.c
12231230
#: ports/mimxrt10xx/common-hal/microcontroller/Pin.c
@@ -2393,6 +2400,7 @@ msgid "You pressed the SW38 button at start up."
23932400
msgstr "Der SW38-Knopf wurde beim Starten gedrückt."
23942401

23952402
#: ports/espressif/boards/hardkernel_odroid_go/mpconfigboard.h
2403+
#: ports/espressif/boards/vidi_x/mpconfigboard.h
23962404
msgid "You pressed the VOLUME button at start up."
23972405
msgstr "Der VOLUME-Knopf wurde beim Starten gedrückt."
23982406

0 commit comments

Comments
 (0)