Jeff Epler
1d1ff5f308
Merge remote-tracking branch 'origin/main' into update-protomatter-rp2
2021-02-26 09:56:35 -06:00
Dan Halbert
67406488d1
merge from upstream; re-alphabetize
2021-02-19 14:22:50 -05:00
Dan Halbert
9d4442e298
handle reads/writes larger than buffers; add .write_timeout
2021-02-19 14:15:31 -05:00
Jeff Epler
5c758523c0
requested changes
2021-02-18 17:19:34 -06:00
Jeff Epler
ffae89b191
bitops: fix argument parsing
2021-02-18 16:10:57 -06:00
Jeff Epler
d56fe7691d
bitops: doc correction
2021-02-18 15:44:51 -06:00
Jeff Epler
7fd4567893
bitops: rename from _bit_transpose, describe the algorithm
2021-02-18 15:41:23 -06:00
Jeff Epler
ac0ffc5656
_bit_transpose: fix docs
2021-02-18 11:45:48 -06:00
Jeff Epler
c284728621
bit_transpose: Support from 2 to 7 strands, not just 8
2021-02-18 11:33:13 -06:00
Jeff Epler
9cf7d73c6c
core: add bit_transpose function
...
.. this version can only handle exactly 8 bits "across". The restriction
may be relaxed in a future revision.
2021-02-18 11:32:47 -06:00
Dan Halbert
ed49c02feb
add timeout; finish up for PR
2021-02-17 23:24:11 -05:00
Dan Halbert
c26de0136a
works! no timeouts
2021-02-16 17:39:36 -05:00
Dan Halbert
0b8f1b9a90
wip: usb_cdc.serials
2021-02-15 20:06:18 -05:00
Dan Halbert
93d788543c
Merge remote-tracking branch 'adafruit/main' into secondary-cdc
2021-02-15 20:03:53 -05:00
Dan Halbert
d54b5861a3
wip
2021-02-12 19:01:14 -05:00
Dan Halbert
3e4328140c
fix off-by-one PWM top issue
2021-02-12 15:53:31 -05:00
Jeff Epler
ff1942cff6
Enable protomatter on RP2040 builds
...
Also found a race condition between timer_disable and redraw, which
would happen if I debugger-paused inside common_hal_rgbmatrix_timer_disable
or put a delay or print inside it. That's what pausing inside reconstruct
fixes.
So that the "right timer" can be chosen, `timer_allocate` now gets the `self`
pointer. It's guaranteed at this point that the pin information is accurate,
so you can e.g., find a PWM unit related to the pins themselves.
This required touching each port to add the parameter even though it's
unused everywhere but raspberrypi.
2021-02-12 08:25:15 -06:00
Dan Halbert
f0564b4986
merge from upstream; complicated webusb merge
2021-02-11 18:50:02 -05:00
Dan Halbert
d7305182f0
Remove adafruit_bus_device.SPIDevice.spi
2021-02-11 10:33:57 -05:00
Jeff Epler
ba2b65586f
sdcardio: add a note about sharing the SPI bus with SD cards and other devices
...
Similar to https://github.com/adafruit/Adafruit_CircuitPython_SD/pull/44
2021-02-09 10:07:21 -06:00
Dan Halbert
3a68ac8abb
Merge pull request #3536 from pewpew-game/pew-get-ticks
...
Fix #3504 : Don't use time module in pew.tick()
2021-02-08 17:50:44 -05:00
Dan Halbert
be500fd15c
Merge pull request #4136 from hierophect/socket-portmax
...
Socket: fix inconsistencies in argument types
2021-02-08 16:23:20 -05:00
Dan Halbert
f66caa29b9
Merge pull request #4146 from gamblor21/busdevice_write_read_fix
...
Fix write_then_readinto in adafruit_bus_device I2CDevice
2021-02-08 11:33:06 -05:00
Dan Halbert
1b7f3d11e7
wip
2021-02-08 10:57:41 -05:00
gamblor21
ea4a12005a
Fix write_then_readinto
2021-02-06 10:33:38 -06:00
Lucian Copeland
4d26ffb447
Make timeout core types consistent
2021-02-05 12:32:41 -05:00
Scott Shawcroft
9140bfb5b2
Merge pull request #4049 from hierophect/sslsocket
...
Separate SSLSocket from Socket
2021-02-02 10:35:07 -08:00
Scott Shawcroft
a861498404
Merge pull request #4114 from tannewt/spidevice_spi
...
Add .spi accessor to SPIDevice
2021-02-02 09:53:10 -08:00
Scott Shawcroft
8fd6bff727
Add .spi accessor to SPIDevice
...
Fixes #4108
2021-02-01 20:03:23 -08:00
Scott Shawcroft
8789a2c8a9
Merge pull request #4110 from microDev1/rtc-rp
...
RP2040: Support for RTC
2021-02-01 19:47:44 -08:00
Scott Shawcroft
db7a962802
Merge pull request #4112 from gamblor21/longint_busdevice_fix
...
Fixed for boards without longint
2021-02-01 19:24:57 -08:00
gamblor21
0cf2df48c4
Fixed for boards without longint
2021-02-01 17:58:34 -06:00
microDev
ec03267035
rtc implementation for rp2040
2021-02-02 00:00:00 +05:30
Dan Halbert
459f323247
Merge pull request #4087 from DavePutz/cpu_temp_doc
...
Fixing microcontroller.cpu on multi-core cpus and adding microcontroller.cpus
2021-02-01 12:50:37 -05:00
Lucian Copeland
66639b237f
Merge remote-tracking branch 'upstream/main' into sslsocket
2021-02-01 11:43:01 -05:00
Lucian Copeland
8277ffca86
Fix hash, close, error bugs
2021-02-01 11:04:12 -05:00
root
e1838ff335
Fix typo in documentation.
2021-01-29 11:57:36 -06:00
Lucian Copeland
a724f6f954
Fix documentation builds
2021-01-29 11:58:02 -05:00
root
cfd6ffc649
Adding files for cpu temperature fix
2021-01-28 16:06:30 -06:00
Jeff Epler
0098909757
RGBMatrix: change default to serpentine=True
...
The "serpentine" display order leads to much better wiring (shorter
ribbon cables) and is preferred. Change the default accordingly.
2021-01-28 11:42:19 -06:00
Scott Shawcroft
45b3c9ae42
Merge pull request #4068 from jepler/update-protomatter-tiling
...
protomatter: Update to version that supports tiling
2021-01-26 17:31:26 -08:00
Jeff Epler
189ec2fc60
Disallow tile=0
2021-01-26 16:51:31 -06:00
Jeff Epler
20c9f25a65
rgbmatrix: Eliminate some duplicated height-calculating code
...
This was hard to write, so let's have it written in 2 places instead
of 4.
2021-01-26 14:35:26 -06:00
Jeff Epler
368977fb90
RGBMatrix: Additional tile tweaks
...
* Introduce explicit serpentine: bool argument instead of using negative
numbers (thanks, ghost of @tannewt sitting on one shoulder)
* Fix several calculations of height
Testing performed (matrixportal):
* set up a serpentine 64x64 virtual display with 2 64x32 tiles
* tried all 4 rotations
* looked at output of REPL
2021-01-26 14:33:48 -06:00
Lucian Copeland
815ab5277b
Fix stubs error, out of sockets error, invalid TLS leak
2021-01-26 14:13:12 -05:00
Dan Halbert
13812a788f
Merge pull request #4060 from dhalbert/regularize-extmod-modules
...
CIRCUITPY_* switches for JSON, RE, etc. Doc cleanup
2021-01-26 12:54:21 -05:00
root
ccdc97d23e
Update documentation for microprossors with multiple cpus
2021-01-26 09:47:21 -06:00
Jeff Epler
51f0544405
protmatter: Update to version that supports tiling
2021-01-26 09:19:44 -06:00
Scott Shawcroft
4241fd4b18
Merge pull request #4051 from jamesbowman/main
...
EVE: change fixed-point integer arguments to floating point
2021-01-25 14:44:48 -08:00
Scott Shawcroft
a2ac2da7cc
Merge pull request #3936 from gamblor21/busdevice_fixes
...
Changing adafruit_bus_device to duck typing
2021-01-25 14:41:53 -08:00