Commit Graph

572 Commits

Author SHA1 Message Date
Dan Halbert
9f1d52601e merge from 8.2.x 2023-09-12 20:14:30 -04:00
Dan Halbert
722d64b0e7 Add root cert DST Root CA X3 for Let's Encrypt 2023-09-11 12:07:45 -04:00
Dan Halbert
4dd45b6dc6
Merge pull request #8374 from dhalbert/new-certificates-submodule
Update TLS certificates and use new certificates submodule
2023-09-07 10:19:05 -04:00
Dan Halbert
c5bc59e692 update protomatter to 1.6.1 (used for RGBMatrix) 2023-09-07 08:32:21 -04:00
Dan Halbert
58a21326b2 Update to new certificates submodule. 2023-09-06 19:36:48 -04:00
Dan Halbert
d871bc37c5 remove lib/certificates/nina-fw submodule 2023-09-06 15:56:26 -04:00
Scott Shawcroft
f4dba86f1c
Merge remote-tracking branch 'adafruit/main' into update_tinyusb_abort 2023-08-29 11:11:36 -07:00
Jeff Epler
c029d6a165
Merge remote-tracking branch 'origin/8.2.x' into merge-82x 2023-08-22 08:49:16 -05:00
Scott Shawcroft
df19aa1646
Update TinyUSB to improve abort handling 2023-08-17 11:42:16 -07:00
Dan Halbert
2171e67c1b merge latest adafruit/main 2023-08-13 19:43:54 -04:00
Dan Halbert
8260f816f8
Merge pull request #8220 from jepler/update-protomatter-in-8.2.x
bump protomatter to 1.5.10
2023-08-10 06:35:30 -04:00
Jeff Epler
a34d9b70e2
update protomatter to 1.5.10 2023-08-04 20:54:11 -05:00
Dan Halbert
0d4bc8c163 initial v1.19.1 merge; not compiled yet 2023-08-01 13:50:05 -04:00
Jeff Epler
76d69283a4
update certificates to nina-fw 1.7.5 2023-07-28 10:44:38 -05:00
Scott Shawcroft
e45a61f57e
Align fatfs window buffer for tinyusb
Also, update tinyusb.
2023-07-27 09:15:58 -07:00
Jeff Epler
197a7f31ab
bump protomatter to 1.5.9 2023-07-26 15:02:05 -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
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
Jeff Epler
50951d8019 bump protomatter once more 2023-06-08 17:46:35 -05:00
Jeff Epler
d4913b04e0 rgbmatrix: update protomatter
and re-organize so that esp32 s2/s3 don't do as much at reset

.. it's not necessary (because most data is in esp-idf managed memory)
and doing this saves me from having to debug why reconstruct isn't working
properly on that platform.

This needs to be tested on other platforms again before being merged!
2023-06-08 10:43:32 -05:00
Scott Shawcroft
a9dc31a881
Add additional iMX RT support
This adds a script to generate the peripherals files (except clock).

It adds support for the 1015, 1020, 1040, and 1050 EVKs.

Some work was started on 1176 but it isn't working. So, the board
def is in a separate branch.

Fixes #3521. Fixes #2477.
2023-04-28 11:01:13 -07:00
Dan Halbert
98bff96d3c update tinyusb: fixes + no more submodules 2023-03-21 11:01:58 -04:00
Dan Halbert
2497b3ea7a update tinyusb 2023-03-13 22:11:02 -04:00
Dan Halbert
d85970b7a2 update TinyUSB again for latest changes 2023-03-13 17:53:32 -04:00
Dan Halbert
a651696c5c pick up latest tinyusb changes 2023-03-10 23:07:29 -05:00
Dan Halbert
ec2101f4aa update tinyusb to latest 2023-03-09 14:05:46 -05:00
Scott Shawcroft
144aed40e3
Rename flag. Turn on UTF-8 and flag on unix
Also added label portion to the test.
2023-02-24 12:23:59 -08:00
Scott Shawcroft
1a3358d036
Limit FatFs' ability to upper case paths
Only uppercase ASCII letters a-z. This saves ~900 bytes. Previously
written files with other unicode letters will only be accessible
from their upper cased path.
2023-02-23 14:28:58 -08:00
gamblor21
953c989177 Fixign alignment issue on ESP and SAMD boards 2023-02-12 09:39:08 -06:00
gamblor21
da9b6fb0e2 Moving library to /lib 2023-02-10 18:31:59 -06:00
Jeff Epler
3d66ed27ce
oofatfs: enable use of random volume IDs
This may help address #7409 if the underlying cause is the deterministic
volume ID. However, not all boards have working urandom (samd21
at least does not) so a couple of fallbacks are attempted when it fails.

I verified that on a pico_w, each `storage.erase_filesystem()` gives
a distinct 32-bit volume ID (pico_w's urandom can never fail)
2023-01-03 17:18:29 -06:00
Jeff Epler
1139fc1be9
Revert "update protomatter to latest commit"
This reverts commit 5d974c35ee.
2022-12-16 11:52:48 -06:00
MicroDev
5d974c35ee
update protomatter to latest commit 2022-11-10 08:31:27 +05:30
Dan Halbert
6ee45dde57 f_rename return value; add a test for rename dir inside itself 2022-10-12 16:52:22 -04:00
Dan Halbert
12085496f0 Merge remote-tracking branch 'adafruit/main' into HEAD 2022-10-12 12:05:46 -04:00
Jeff Epler
a64c1a11c5
move nina-fw certificates so it can be shared with other ports 2022-10-05 14:56:25 -05:00
Jeff Epler
1d25049a7a
add mbedtls matching micropython @ v1.19.1-451-gbdbc44474 2022-10-05 10:03:44 -05:00
Melissa LeBlanc-Williams
9e13e8e991 Moved folder moving inside itself checks into f_rename 2022-09-13 08:42:35 -07:00
Andrew Leech
cb436e357f lib/wiznet5k: Add submodule for Wiznet Ethernet drivers.
Signed-off-by: Andrew Leech <andrew@alelec.net>
2022-06-03 14:29:11 +10:00
robert-hh
dbe8b0c0ca lib/nxp_driver: Update nxp_driver to v2.10. 2022-06-03 10:48:04 +10:00
Damien George
9269835226 lib/littlefs: Remove assignment of variables to themselves.
To prevent compiler warnings (eg on clang).

Signed-off-by: Damien George <damien@micropython.org>
2022-05-24 12:51:49 +10:00
Damien George
3a544b832b lib/littlefs: Guard lfs2_file_rawopen with LFS2_NO_MALLOC.
To prevent warnings about this function being unused when malloc is
disabled.

Signed-off-by: Damien George <damien@micropython.org>
2022-05-24 12:51:17 +10:00
Damien George
115a23da24 lib/littlefs: Update littlefs2 to v2.5.0.
At commit 40dba4a556e0d81dfbe64301a6aa4e18ceca896c

Signed-off-by: Damien George <damien@micropython.org>
2022-05-24 12:51:17 +10:00
TakeoTakahashi2020
4c9b00b425 lib/fsp: Add renesas fsp git repository as submodule.
Signed-off-by: Takeo Takahashi <takeo.takahashi.xv@renesas.com>
2022-04-29 10:55:58 +09:00
Damien George
7f445e3d39 lib/stm32lib: Update library for G0 v1.5.1.
Changes in this new library version are:
- Add G0 HAL at v1.5.1.

Signed-off-by: Damien George <damien@micropython.org>
2022-04-28 11:56:15 +10:00
Dan Halbert
3a8fb4e956
Merge pull request #5852 from jepler/floppy
Add floppyio
2022-04-26 11:40:19 -04:00
Jeff Epler
f7be4345d9
Merge remote-tracking branch 'origin/main' into floppy 2022-04-07 08:37:46 -05:00
Mark
8ed7b114cd
Merge branch 'main' into uzlib-module 2022-04-03 11:48:37 -05:00
Damien George
adfd57c5fe lib/re1.5: Distinguish between subject start-of-line and start-of-srch.
Otherwise a repeated sub/split will continue to match ^ to the start of
that search.

Signed-off-by: Damien George <damien@micropython.org>
2022-03-16 12:21:00 +11:00
Scott Shawcroft
83593a1558
Start of USB host API
This allows you to list and explore connected USB devices. It
only stubs out the methods to communicate to endpoints. That will
come in a follow up once TinyUSB has it. (It's in progress.)

Related to #5986
2022-03-07 18:07:25 -08:00