Dan Halbert
0f66832829
Merge branch 'main' into hid_devices-gc
2021-05-24 18:17:52 -04:00
Scott Shawcroft
0d92558012
Merge pull request #4800 from dhalbert/too-many-hid-devices
...
Handle too many HID devices properly
2021-05-24 14:26:41 -07:00
Dan Halbert
5a9b95e611
unlock board.I2C() on reset
2021-05-21 17:49:50 -04:00
Dan Halbert
c6eb0283dc
Don't set num_hid_devices before it's validated
2021-05-21 17:34:30 -04:00
Dan Halbert
5a81f275cf
Don't change number of HID devices until it's vetted
2021-05-21 17:29:21 -04:00
Dan Halbert
7d0cda2614
gc all pointers in hid_devices properly
2021-05-21 16:32:55 -04:00
Scott Shawcroft
5643355e90
Merge remote-tracking branch 'adafruit/main' into simplify_status_led
2021-05-20 08:35:15 -07:00
Dan Halbert
aebee2de73
Handle USB_HIGHSPEED for MIDI also
2021-05-19 07:43:47 -04:00
Kamil Tomaszewski
da248d1594
spresense: Fix USB CDC and MSC
2021-05-18 17:02:16 +02:00
Dan Halbert
fa6c06fb38
count in/out endpoints; allow more usb modules on low-endpoint boards
2021-05-13 21:59:02 -04:00
Scott Shawcroft
1a0b4193b7
Simplify the status LED to save power
...
This also removes the need to pin share because we don't use the
status LED while user code is running.
The status flashes fallback to the HW_STATUS LED if no RGB LED is
present. Each status has a unique blink pattern as well.
One caveat is the REPL state. In order to not pin share, we set the
RGB color once. PWM and single color will be shutoff immediately but
DotStars and NeoPixels will hold the color until the user overrides
it.
Fixes #4133
2021-05-13 14:41:20 -07:00
Scott Shawcroft
a70fc0caee
Merge pull request #4744 from tannewt/merge_1.14
...
Merge MicroPython 1.14
2021-05-11 16:11:58 -07:00
Scott Shawcroft
e02a26453c
Merge MicroPython 1.14 into CircuitPython
2021-05-11 15:07:40 -07:00
ajs256
3c8b8cdba7
`make translate`
2021-05-10 16:57:38 -07:00
ajs256
7cd8e98962
Make two error messages sentence case
2021-05-10 16:51:13 -07:00
Dan Halbert
f504af3127
fix HID; fix interface name table creation
2021-05-09 00:42:45 -04:00
Jeff Epler
5e06c91244
Merge pull request #4716 from tyomitch/main
...
s/Circuit Python/CircuitPython/g
2021-05-08 08:47:29 -05:00
Scott Shawcroft
42f4065c8a
Merge remote-tracking branch 'adafruit/main' into merge_1.13
2021-05-06 11:17:53 -07:00
Artyom Skrobov
908d83d1f2
s/Circuit Python/CircuitPython/g
...
Some comments and messages used the non-standard spelling
2021-05-06 16:22:35 +03:00
Scott Shawcroft
3fda0c0a1b
Fix board builds and use MP_ERROR_TEXT in py and extmod
2021-05-05 17:51:52 -07:00
Dan Halbert
adc3d7d55e
update Python API according to review comments
2021-05-03 22:29:02 -04:00
Dan Halbert
d2b558993e
merge from main, including MicroPython 1.12 merge
2021-05-03 20:56:04 -04:00
Dan Halbert
5b5de4b92e
fix sHID report doc and API
2021-05-03 20:53:31 -04:00
Scott Shawcroft
b35fa44c8a
Merge MicroPython 1.12 into CircuitPython
2021-05-03 14:01:18 -07:00
Dan Halbert
be7b2b00a8
uncrustify with newer version of uncrustify
2021-04-30 10:40:12 -04:00
Dan Halbert
71a8cadb09
working!
2021-04-29 22:26:38 -04:00
Dan Halbert
abfb020d41
MSC, CDC, HID keyboard definitely working
2021-04-29 17:41:43 -04:00
Dan Halbert
f06d54524d
merge from adafruit
2021-04-28 23:48:26 -04:00
Dan Halbert
587aedd14f
rework storage allocation
2021-04-28 13:00:44 -04:00
Dan Halbert
8500e846c6
partially working
2021-04-27 23:53:23 -04:00
Dan Halbert
f98a54628b
wip: compiles
2021-04-27 14:37:36 -04:00
Scott Shawcroft
17fcd499b2
Merge pull request #4649 from tannewt/merge_1.11_2
...
Merge MicroPython v1.11 into CircuitPython
2021-04-27 11:02:02 -07:00
Dan Halbert
7a40b4daec
very much WIP
2021-04-26 23:54:01 -04:00
Scott Shawcroft
76033d5115
Merge MicroPython v1.11 into CircuitPython
2021-04-26 15:47:41 -07:00
Dan Halbert
c26e49c2e6
wip: starting to try to compile
2021-04-25 23:17:41 -04:00
Dan Halbert
9d1fcc3b14
merge from main
2021-04-25 10:27:52 -04:00
Dan Halbert
aea3c4d3ab
wip
2021-04-25 10:23:59 -04:00
Dan Halbert
2ba2574ebf
Merge pull request #4619 from tyomitch/microbit
...
[build] Allow USB to be set to 0
2021-04-24 10:31:29 -04:00
Dan Halbert
556a126917
wip: getting closer
2021-04-23 21:44:13 -04:00
Scott Shawcroft
80e8b4ac14
Merge pull request #4635 from jepler/pcc
...
WIP: Implement 'ParallelImageCapture' for samd51
2021-04-23 13:31:53 -07:00
Artyom Skrobov
4e3c1d4a4c
[build] Allow USB to be set to 0
...
Unify USB-related makefile var and C def as CIRCUITPY_USB.
Always define it as 0 or 1, same as all other settings.
USB_AVAILABLE was conditionally defined in supervisor.mk,
but never actually used to #ifdef USB-related code.
Loosely related to #4546
2021-04-23 11:13:34 -04:00
Dan Halbert
2b4c88d633
wip: partial HID, still needs rework
2021-04-23 00:18:05 -04:00
Dan Halbert
64e0958916
wip: descriptor building
2021-04-21 23:25:36 -04:00
Dan Halbert
6b18a51d57
wip: working on descriptor templates
2021-04-20 22:20:34 -04:00
Dan Halbert
51ccf8dc30
wip: revert usb_descriptor changes; use raw descriptors instead
2021-04-19 23:24:18 -04:00
Jeff Epler
76d68f21ac
displayio: Add RGB555/565/_SWAPPED format support
...
This is helpful when displaying frames from an OV7670 camera, which
uses the RGB565_SWAPPED format internally.
2021-04-19 10:23:47 -05:00
Scott Shawcroft
5ccd5dc08b
Fix struct.pack with padding bytes
...
It used to validate the following arg could fit in a single byte.
Now, it always uses zero to pad.
2021-04-16 12:39:23 -07:00
Dan Halbert
6cb751ab06
wip: revamp API names
2021-04-14 22:10:09 -04:00
Scott Shawcroft
3978b50b8d
Merge pull request #4489 from gamblor21/audiomixer_rp2040
...
Add non M4 audiomixer support
2021-04-14 12:19:17 -07:00
Dan Halbert
4a7e129287
wip: latent usb device enabling/disabling
2021-04-13 23:33:44 -04:00