Commit Graph

31274 Commits

Author SHA1 Message Date
Jeff Epler
fd1fdee312
move set_user_keymap to usb_host module 2023-07-17 09:08:13 -05:00
Jeff Epler
6174e585af
usb.core.Device: fix trailing NUL on e.g., product string
.. and simplify the code to use vstr_add_char.
2023-07-12 08:47:33 -05:00
Jeff Epler
843ea86978
fix repeating cursor keys 2023-07-12 07:04:58 -05:00
Jeff Epler
1a06169e18
Implement key-repeat 2023-07-12 07:04:58 -05:00
Jeff Epler
910fcf1c93
usb host keyboard: add keymap support
This is confined to pure ASCII, but does support Alt Gr. This is enough
to make a French keyboard layout work:
 * home row is "qsdfghjklm"
 * numerals are all shifted
 * keys like {} require Alt Gr

While not tested, this should also support layouts like Colemak with
the necssary keymap file.

Layouts can be produced from Neradoc's keyboard layout modules on the
device & loaded at runtime. Code to do so is at
    https://gist.github.com/jepler/597c0a00e0eb014a433e03c0ae363a08
as well as a sketch of how an extended format could support dead keys &
the full Unicode BMP instead of just ASCII.
2023-07-12 07:04:56 -05:00
Scott Shawcroft
79d18c5022
Merge pull request #8159 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-07-11 14:36:31 -07:00
Hosted Weblate
0e458c4d31
Merge remote-tracking branch 'origin/main' 2023-07-11 20:01:32 +02:00
Scott Shawcroft
346ec8d4a8
Merge pull request #8156 from DatanoiseTV/datanoise_picoadk
Add Datanoise PicoADK Board
2023-07-11 11:01:28 -07:00
Hosted Weblate
2d545a9f81
Merge remote-tracking branch 'origin/main' 2023-07-11 19:05:25 +02:00
Jonny Bergdahl
22424ab545
Translated using Weblate (Swedish)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-07-11 19:05:25 +02:00
Dan Halbert
5a7a7e221d
Merge pull request #8130 from dhalbert/adafruit_qtpy_esp32s3_4mbflash_2mbpsram
Add adafruit_qtpy_esp32s3_4mbflash_2mbpsram; remove frozen libs from qtpy_esp32s3_nopsram
2023-07-11 13:05:19 -04:00
Hosted Weblate
96aced8c37
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2023-07-11 18:50:18 +02:00
Scott Shawcroft
7764cde6c2
Merge pull request #8155 from tannewt/imx_usb_host
Basic USB host support and keyboard workflow
2023-07-11 09:50:09 -07:00
Sylwester
9b80943885 Add Datanoise PicoADK 2023-07-11 10:01:46 +02:00
Sylwester
449416f5e1 Add Datanoise PicoADK 2023-07-11 09:52:47 +02:00
Jeff Epler
4a3b5df1da
Merge pull request #8154 from piit79/frood-rev7
Update 42. Keebs Frood support for Rev7
2023-07-10 20:30:43 -05:00
Scott Shawcroft
52ca0504d9
Comment out debug UART on RP2040 USB host feather 2023-07-10 15:37:57 -07:00
Petr Sedlacek
ae84441575 Update 42. Keebs Frood support for Rev7 2023-07-10 23:32:02 +02:00
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
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
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
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
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
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
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
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
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
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