Commit Graph

31374 Commits

Author SHA1 Message Date
Scott Shawcroft
2686beab36
Basic USB host support and keyboard workflow
Connects up read, write and ctrl_transfer to TinyUSB. USB Host
support is available on iMX RT and RP2040.

Fixes #6527 (imx) and fixes #5986 (rp2).
2023-07-10 14:22:21 -07:00
Marco van der Kolk
f8edecf473 corrected formatting 2023-07-10 22:16:22 +02:00
Scott Shawcroft
9f3f2aabff
Merge pull request #8152 from splitkb/liatris
Add new board: splitkb.com's Liatris
2023-07-10 12:07:27 -07:00
Jeff Epler
164fcb22c2
Enable "from __future__ import annotations" on unix build 2023-07-10 13:53:26 -05:00
Dan Halbert
7dc1f48b4b
Merge pull request #8153 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-07-10 11:09:28 -04:00
Jose David M
293f1e32c4
Translated using Weblate (Spanish)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-07-10 16:50:48 +02:00
Luc
cf67cfa707
Translated using Weblate (German)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2023-07-10 16:50:47 +02:00
Leah Post
036eca8123 Add new board: splitkb.com's Liatris 2023-07-10 14:45:08 +02:00
kolkmvd
2860593425
fixed missing comma 2023-07-10 12:28:36 +02:00
Marco van der Kolk
21d08646e1 updated documentation 2023-07-10 12:04:26 +02:00
Dan Halbert
6798460b4b
Merge pull request #8150 from microdev1/patch
Fix set hostname
2023-07-09 12:36:23 -04:00
MicroDev
8704ba158b
fix set hostname 2023-07-09 21:25:37 +05:30
Marco van der Kolk
6dab35e076 Assign key_count to MP_ROM_NONE on deinit (for gc)
Signed-off-by: Marco van der Kolk <marco.git@vdkolk.nl>
2023-07-08 15:21:58 +02:00
Scott Shawcroft
95535a8cd0
Merge pull request #8144 from jepler/test-empty-settings.toml
Test empty settings.toml
2023-07-07 15:42:43 -07:00
Scott Shawcroft
69e6b62807
Merge pull request #8142 from makerdiary/main
Added Makerdiary nRF52840 Connect Kit
2023-07-07 10:01:07 -07:00
Jeff Epler
e8c7b4a9f4
test a zero-byte environment file 2023-07-07 11:28:42 -05:00
Zelin Cai
5fedf02806 Added Makerdiary nRF52840 Connect Kit.
Signed-off-by: Zelin Cai <zelin@makerdiary.com>
2023-07-07 15:11:12 +08:00
Marco van der Kolk
4ba4c2a942 Renamed 'datas' to 'data_pins' to keep codespell happy
Signed-off-by: Marco van der Kolk <marco.git@vdkolk.nl>
2023-07-07 00:28:07 +02:00
Marco van der Kolk
5fcd90d8fb Extended to support multiple data pins
Signed-off-by: Marco van der Kolk <marco.git@vdkolk.nl>
2023-07-06 23:40:47 +02:00
foamyguy
72857994f2 change skip_index to skip_source_index 2023-07-05 17:27:41 -05:00
Scott Shawcroft
fad86bfb27
Merge pull request #8129 from Neradoc/fix-psram-on-esp32s3-box
Fix PSRAM on espressif ESP32S3 box and box lite
2023-07-05 14:16:17 -07:00
Jeff Epler
65f41064c9
Merge pull request #8137 from makermelissa/matrixportal-s3
Swapped address pins for MatrixPortal S3 Rev C
2023-07-03 20:02:17 -05:00
Melissa LeBlanc-Williams
5dc7e9472b Swapped address pins for Rev C 2023-07-03 12:08:10 -07:00
foamyguy
16d92ddd34 docs fix 2023-07-02 14:57:44 -05:00
foamyguy
a2ff9527dc format 2023-07-02 14:40:56 -05:00
foamyguy
96d3e662b3 refactor bitmap.blit into bitmaptools 2023-07-02 14:35:40 -05:00
foamyguy
abf15125ff adding skip_self_index argument to bitmap.blit() 2023-07-01 11:50:24 -05:00
Dan Halbert
2a8d6d655c adafruit_qtpy_esp32s3_4mbflash_2mbpsram 2023-06-28 22:59:00 -04:00
Neradoc
f1d9ee0de3 Fix PSRAM on espressif ESP32S3 box and box lite 2023-06-28 19:26:08 +02:00
Scott Shawcroft
ce3df829e1
Merge pull request #8118 from n0xa/M5StickCPlus
Adding support for M5Stack Stick C Plus
2023-06-28 09:08:02 -07:00
MicroDev
25bacc3042
Merge pull request #8125 from jimmo/zlib-docs
shared-bindings/zlib: Fix docs for zlib.decompress.
2023-06-28 08:30:58 +05:30
MicroDev
ff18535c54
Merge pull request #8127 from dhalbert/metro-m7-1011-sd
add Adafruit Metro M7 1011 SD
2023-06-28 08:30:24 +05:30
Dan Halbert
77b3a0570e add Adafruit Metro M7 1011 SD 2023-06-27 19:11:25 -04:00
Jim Mussared
d3aea0e15a shared-bindings/zlib: Fix docs for zlib.decompress.
The docs say the method is called `zlib_decompress` but should be
just `decompress`.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-06-28 07:59:45 +10:00
Jeff Epler
0f241c9415
bump ulab to fix rp2040 build error 2023-06-27 11:50:12 -05:00
Jeff Epler
b5ad7f91a3
update expected data for test
skip all the byecode hex data, it's adequately checked
by the disassembly just below

This was tripped up because in exactly the right conditions some qstr
could be of the form 'xx 63' and make the expression `\.\+63` match
something other than what was intended.

This test was re-worked upstream for mpy version 6 so it'll be a conflict
to resolve when we get to that. :-/
2023-06-27 11:16:12 -05:00
Scott Shawcroft
5dc2b168d7
Merge pull request #8123 from jepler/issue8121-workaround
rp2040: Avoid screeches due to audio underflow during flash writes
2023-06-27 09:09:03 -07:00
Jeff Epler
a9c987d3ce
Add expected-output file for this test
.. because the first test is actually accepted on python 3.10 and newer.
2023-06-27 10:43:14 -05:00
Jeff Epler
bfcb967edd
Add expected-output file for this test
.. because the first test is actually accepted on python 3.10 and newer.
2023-06-27 10:41:02 -05:00
Jeff Epler
9a3fadc072
run pre-commit 2023-06-27 10:23:26 -05:00
Jeff Epler
3795de03b6
update ulab to 6.3.2 2023-06-27 10:05:14 -05:00
Jeff Epler
385366128f
Don't use "cookie" variable/function name 2023-06-27 09:59:02 -05:00
Jeff Epler
324ecc2611
Merge pull request #8114 from FoamyGuy/displayio_shape_fix
fix shape.set_boundary()
2023-06-27 06:27:10 -05:00
Scott Shawcroft
c116aa004c
Merge pull request #8112 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-06-26 10:36:30 -07:00
Hosted Weblate
4bc18f8133
Merge remote-tracking branch 'origin/main' 2023-06-26 19:20:40 +02:00
Scott Shawcroft
f7efc9c980
Merge pull request #8116 from Neradoc/fix-button-espressif_esp32c3_devkitm_1_n4
fix board.BUTTON on espressif_esp32c3_devkitm_1_n4
2023-06-26 10:20:33 -07:00
Jeff Epler
b4be2317cb
rp2040: Avoid screeches due to audio underflow during flash writes
By pausing audio during flash writes, the worst screeching of #8121
is avoided. I don't consider this a full fix, but it greatly improves
the by far most common scenario in which the problem occurs.

Tested on rp2040 prop feather with a midi synth playing arpeggios. When
writing to the flash e.g., with
```
dd bs=512 count=32 if=/dev/zero of=/media/jepler/CIRCUITPY/boop
```
the audio goes "tap tap tap tap" during the flash write instead of the
squawking.

This isn't a 100% fix; it will still glitch out, including during USB
enumeration which must be taking a long time without servicing background
tasks. Add a delay if not usb-connected at startup ameliorates this
greatly.
2023-06-26 10:34:29 -05:00
Neradoc
232e096f93 fix board.BUTTON on espressif_esp32c3_devkitm_1_n4 2023-06-25 17:05:49 +02:00
Noah Axon
75dbb7d102 Added a new creation ID for this board 2023-06-25 07:29:18 -05:00
Noah Axon
6bdfed2bb0 Adding support for M5Stack Stick C Plus 2023-06-25 07:08:59 -05:00