Commit Graph

31427 Commits

Author SHA1 Message Date
Dan Halbert 74eb360922
Merge pull request #8143 from kolkmvd/ShiftRegister-multi-data-pin
Extended ShiftRegisterKeys to support multiple data pins with shared clock and latch
2023-07-18 23:30:13 -04:00
Qyriad 3f3ec1c835 samx5x: support external clock sources
Adds two board config define's, which can be added in a board's
mpconfigboard.h: BOARD_XOSC_FREQ_HZ, and BOARD_XOSC_IS_CRYSTAL, which
are passed to clock_init(). External clock sources are currently only
implemented for SAM_D5X_E5X series chips, so defining BOARD_XOSC_FREQ_HZ
for a SAMD21 board will emit an error.

Signed-off-by: Qyriad <qyriad@qyriad.me>
2023-07-18 17:12:58 -06:00
Jeff Epler 3ec9f8a118
Merge pull request #8136 from FoamyGuy/blit_skip_self_index
adding skip_self_index argument to bitmap.blit()
2023-07-18 15:17:28 -05:00
Scott Shawcroft 1629faf8b3
Make usb_host.Port a singleton
This allows you to initialize usb_host.Port once successfully and
then returns the same object as long as you pass the same arguments
in. It does allow you to fix incorrect pins but not switching from
one valid set to another. (It needs a reset for that.)

This also moves hcd cache operations to RAM so that they don't
access the cache when doing maintenance.
2023-07-18 10:40:54 -07:00
ladyada dd266f2622 renamed since we are now s3 2023-07-18 01:02:38 -04:00
Scott Shawcroft a2002e364c
Merge pull request #8165 from anecdata/wifi_docs
Networking docs updates: Access Point, MDNS
2023-07-17 14:58:28 -07:00
Scott Shawcroft 2a83657b6f
Merge pull request #8161 from jepler/usb_host_keyboard
usb host: add keyboard map control in usb workflow
2023-07-17 14:57:13 -07:00
Scott Shawcroft e2e8b162b6
Merge pull request #8175 from kbsriram/fromkeys-fix
py/objdict: Fix fromkeys to return the right type.
2023-07-17 14:56:14 -07:00
Dan Halbert bb81b2ecf5
Merge pull request #8181 from jepler/update-metro-rp2040-flash
update metro rp2040 to work with 16MB flash
2023-07-17 14:19:07 -04:00
Jeff Epler 4f09078293
update metro rp2040 to work with 16MB flash 2023-07-17 12:56:55 -05:00
Jeff Epler fd1fdee312
move set_user_keymap to usb_host module 2023-07-17 09:08:13 -05:00
Dan Halbert fddb582390
Merge pull request #8180 from anecdata/ipv4_address_ap-read-only
docs:  wifi.radio.ipv4_address_ap is read-only
2023-07-16 23:54:42 -04:00
anecdata 8289722679
docs: wifi.radio.ipv4_address_ap is read-only 2023-07-16 20:35:49 -05:00
Dan Halbert 4b4fb47088
Merge pull request #8177 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-07-16 09:35:52 -04:00
hexthat 2295b1f1ea
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2023-07-16 06:32:18 +02:00
Jose David M 1e2b25be56
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-16 06:32:17 +02:00
KB Sriram 03e93f8e6c py/objdict: Fix fromkeys to return the right type.
Fixes https://github.com/adafruit/circuitpython/issues/8173

It looks like a small fix, and mostly independent of upstream
plans around https://github.com/micropython/micropython/pull/6173

I also filed an issue upstream
https://github.com/micropython/micropython/issues/12011
2023-07-14 22:03:06 -07:00
Seon Rozenblum 9642e38783 Added second I2C B\bus IO and stuff for FeatherS3 2023-07-15 08:52:57 +10:00
Scott Shawcroft 8de9d5a522
Merge pull request #8169 from jepler/os-getenv-exception
throw an exception if os.getenv is used on a board without settings.t…
2023-07-13 10:49:42 -07:00
anecdata 73af1b8a30
Update docs/workflows.md
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-07-13 12:41:07 -05:00
Scott Shawcroft f4d1e680bc
Merge pull request #8166 from DatanoiseTV/picoadk-fixup
Add NeoPixel Library for Datanoise PicoADK.
2023-07-13 10:39:15 -07:00
Jeff Epler 235983652f
throw an exception if os.getenv is used on a board without settings.toml support 2023-07-13 09:47:38 -05:00
Sylwester 3ac84281bf Add NeoPixel Library for Datanoise PicoADK. 2023-07-13 12:04:27 +02:00
anecdata 69d2f5ec2a
formatting fix 2023-07-12 23:53:52 -05:00
anecdata d4ac8e75e8
raspberrypi: start AP before set IPv4 2023-07-12 23:41:14 -05:00
anecdata cf5028e85b
mdns: can't use web workflow port 2023-07-12 23:32:44 -05:00
anecdata bd2072123a
web workflow: uses an mdns port service slot 2023-07-12 23:24:33 -05:00
madcitygeek a7bbb05e25
Update mpconfigboard.mk
Use unique CIRCUITPY_CREATION_ID
2023-07-12 22:59:43 -05:00
anecdata efd4fffea6
start_ap max_connections ignored 2023-07-12 22:49:39 -05:00
madcitygeek 2742466709
Merge branch 'adafruit:main' into add_luatos_core_esp32c3_ch343 2023-07-12 22:29:47 -05:00
Dan Halbert 8715121edb
Merge pull request #8162 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-07-12 22:38:17 -04:00
Wellington Terumi Uemura 31c3d7ca42
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-07-13 02:51:47 +02:00
Jeff Epler 6b5cf5537a
Merge pull request #8035 from dhalbert/metro-rp2040
Add Adafruit Metro RP2040
2023-07-12 10:40:37 -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
madcitygeek 5e97ff80f2 Added a varient of the luatos board with on-board ch343 2023-07-11 14:56:10 -05: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
Marco van der Kolk bdf9336b80 Improved help text
Signed-off-by: Marco van der Kolk <marco.git@vdkolk.nl>
2023-07-11 12:09:51 +02:00
Marco van der Kolk 0c606c534c Documentation: Sequences are supported, not just Lists
Signed-off-by: Marco van der Kolk <marco.git@vdkolk.nl>
2023-07-11 11:18:29 +02: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