Neradoc
b14b294516
add board.ID
2021-08-26 23:11:55 +02:00
Dan Halbert
a608934f31
restrict WaveFile buffer size to 8-1024
2021-08-26 09:34:02 -04:00
Rob Capellini
ad103ac6f1
Convert more modules to use MP_REGISTER_MODULE
...
Convert adafruit_bus_device, adafruit_pixelbuf, analogio, atexit, audiobusio, audiocore, audioio, audiomixer, and audiomp3 modules to use MP_REGISTER_MODULE.
Related to #5183 .
2021-08-25 20:48:55 -04:00
James Carr
86d8d9f6a7
Minor docs fix in FourWire.c
2021-08-25 11:23:33 +01:00
Rob Capellini
17af5cd492
Use MP_REGISTER_MODULE with displayio, terminalio, and fontio
...
Convert from using MICROPY_PORT_BUILTIN_MODULES_STRONG_LINKS to using MP_REGISTER_MODULE for displayio, terminalio, and fontio modules.
Related to #5183 .
2021-08-24 20:07:10 -04:00
microDev
da320c30f0
Merge pull request #5214 from dhalbert/usb-hid-device-args-fix
...
Fix incorrect subscription in `usb_hid.Device` constructor
2021-08-24 23:30:41 +05:30
Dan Halbert
1685e1a996
../../shared-bindings/usb_hid/Device.c
2021-08-24 12:36:06 -04:00
Dan Halbert
ce5e267143
shrink thunderpack_v11; fix PulseOut doc
2021-08-23 21:57:29 -04:00
Dan Halbert
7587a521cb
Merge pull request #5145 from FoamyGuy/bitmaptools_paint_fill
...
Bitmaptools boundary_fill
2021-08-23 16:20:38 -04:00
Scott Shawcroft
6d49a9f0c5
Merge pull request #5205 from jepler/deprecate-vertical-scroll
...
Deprecate Display's constructor arg set_vertical_scroll
2021-08-23 12:52:12 -07:00
microDev
57b4d0176f
Merge pull request #5077 from microDev1/atexit
...
Add atexit module
2021-08-23 19:49:46 +05:30
Jeff Epler
379461df7d
Deprecate Display's constructor arg set_vertical_scroll
2021-08-23 09:17:59 -05:00
James Carr
e35bcd348a
Use the modified args to sort in displayio.Group
2021-08-23 12:34:13 +01:00
foamyguy
aeeba3904b
changed argument names and make replaced_color_value argument optional
2021-08-21 11:08:25 -05:00
microDev
f6d1caabc9
Merge pull request #5182 from tannewt/fix_imx
...
Check background pending before sleep
2021-08-21 08:00:10 +05:30
Christian Walther
d79a9e0e69
Fix linker error when ONEWIREIO = 0
...
This addendum to #5139 allows actually turning off onewireio. (Not
currently used by any board.)
2021-08-20 18:11:04 +02:00
microDev
25437dcb33
Merge branch 'main' into atexit
2021-08-20 09:45:54 +05:30
microDev
60c0271e72
Merge pull request #5173 from jepler/issue3447
...
Update all implementations of spi read to honor write_value
2021-08-20 09:31:20 +05:30
Mark
f9f106b58d
Merge pull request #5123 from gamblor21/keypad_dup_pin_check
...
Check for duplicate pins in rows and columns
2021-08-19 22:20:04 -05:00
gamblor21
47db00f0af
Made error message clear and reduce calls
2021-08-19 20:03:49 -05:00
Scott Shawcroft
d2860b58b0
Check background pending before sleep
...
There is a race between when we run background tasks and when we
sleep. If an interrupt happens between the two, then we may delay
executing the background task. On some ports we checked this for
TinyUSB already. On iMX RT, we didn't which caused USB issues.
This PR makes it more generic for all background tasks including
USB.
Fixes #5086 and maybe others.
2021-08-19 12:18:13 -07:00
Jeff Epler
2b64318a57
Update all implementations of common_hal_busio_spi_read to honor write_value
...
(nrf, rp2040, and cxd56)
.. as well as a misleading comment that said that read always output
zeros.
Closes : #3447
2021-08-18 10:20:40 -05:00
gamblor21
e5dc722176
Fix for int type and pin validation
2021-08-17 19:16:26 -05:00
gamblor21
168ed355b1
Made check function generic
2021-08-17 17:55:26 -05:00
microDev
1c4a6c3667
atexit module refinements
...
- add test for atexit module
- add callback to gc collection
- fix callback memory allocation
- execute callback on both code and repl exit
2021-08-16 21:37:32 +05:30
foamyguy
6bd8a1d669
ensure bitmap type in argument
2021-08-16 09:10:29 -05:00
foamyguy
029150ac3b
validate initial point is in-bounds
2021-08-15 19:46:20 -05:00
Dan Halbert
3dc2b4c2d3
at least original functionality with new API
2021-08-14 12:36:40 -04:00
Dan Halbert
4f8ff12afa
wip
2021-08-14 12:36:40 -04:00
Dan Halbert
ffb9ecfeca
Merge pull request #5139 from tannewt/onewireio
...
Move OneWire to `onewireio`
2021-08-13 18:10:04 -04:00
foamyguy
4d8494f1cd
fix stubs
2021-08-13 10:42:21 -05:00
foamyguy
c1e164e1ff
rename to boundary_fill and clean up comments
2021-08-13 09:52:51 -05:00
foamyguy
0bbb0f1d06
Merge branch 'adafruit_main' into bitmaptools_paint_fill
2021-08-13 09:49:24 -05:00
microDev
78f073c457
Merge pull request #5138 from jepler/refresh-defaults
...
Displayio: change refresh minimum_frames_per_second default to 0
2021-08-13 09:35:50 +05:30
Scott Shawcroft
7e55905d95
Fix up onewireio docs and other notes
...
Not all of the notes were marked correctly.
2021-08-12 11:15:04 -07:00
Jeff Epler
a89f1c806f
Update Display.c
2021-08-12 12:50:38 -05:00
Scott Shawcroft
de796e2304
Move OneWire to onewireio
from busio
...
This will allow finer grained inclusion in 8.0.0
Fixes #5135
2021-08-12 10:47:14 -07:00
Jeff Epler
e8df829714
Displayio: change refresh minimum_frames_per_second default to 0
...
Closes : #5133
2021-08-12 12:00:07 -05:00
Scott Shawcroft
d294692c4e
Merge pull request #5100 from tannewt/fix_cp_irremote
...
Switch SAMD21 ticks to PER event
2021-08-12 09:52:29 -07:00
James Carr
670d295db5
Update the __init__ documentation for EPaperDisplay.
...
The unknown parameter `single_byte_bounds` was removed.
The missing parameters `set_current_column_command` and `set_current_row_command` were added.
2021-08-12 14:05:17 +01:00
Scott Shawcroft
0c1d6cef75
Merge remote-tracking branch 'adafruit/main' into fix_cp_irremote
2021-08-11 13:43:59 -07:00
Scott Shawcroft
083960ce90
Fix SAMD51 builds and Prox Trinkey
...
Adds CIRCUITPY_BUSIO_UART to disable UART by raising ValueError
that no pins work.
2021-08-11 11:53:26 -07:00
gamblor21
e18ceea9ba
Check for duplicate pins in rows and columns
2021-08-10 18:18:21 -05:00
microDev
93c9d59960
Merge branch 'main' into getpass
2021-08-10 01:00:10 +05:30
microDev
3495cc1ff6
Merge pull request #5110 from jepler/format-exception
...
Implement `traceback.format_exception`
2021-08-10 00:47:18 +05:30
Kattni
c87d90ec4b
Merge pull request #5090 from WarriorOfWire/draw_protocol
...
Draw protocol
2021-08-09 15:04:36 -04:00
microDev
32ee06b293
fix crash when traceback object is supplied
2021-08-09 22:53:23 +05:30
Jeff Epler
9a932a5a48
traceback: Implement format_exception
2021-08-09 08:27:28 -05:00
microDev
51f8603783
add getpass module
2021-08-09 17:50:28 +05:30
foamyguy
158048e56b
trying to make lists
2021-08-08 14:33:07 -05:00