125faaec18
Avoid crashing when printing DeepSleepRequest objects
2024-10-07 08:43:42 -05:00
068d4919bf
fix doc markup problem
2024-09-24 12:11:15 -05:00
RetiredWizard
32537edb09
esp32s3: Implement sdioio
2024-09-18 17:37:59 -04:00
2d30b672fa
fix a problem with the addressrange example
...
The old offset was for "atomic bitmask clear on write" not "atomic XOR on write".
2024-09-17 13:40:36 -05:00
Scott Shawcroft
fae2507267
Merge pull request #9633 from dhalbert/rp2350-gpio-doc
...
Document consequences of RP2350-E9 erratum for CircuitPython
2024-09-16 14:16:10 -07:00
Dan Halbert
8b740373ed
add warnings to keypad and rp2pio as well
2024-09-16 15:07:37 -04:00
Dan Halbert
2a690754e5
document RP2350-E9 limitations
2024-09-13 17:54:24 -04:00
Dan Halbert
d777cd7d78
Merge remote-tracking branch 'adafruit/main' into merge-micropython-v1.23.0
2024-09-13 15:54:55 -04:00
Scott Shawcroft
799044c868
Merge remote-tracking branch 'adafruit/9.1.x' into merge_in_9.1.x
2024-09-12 15:14:53 -07:00
Scott Shawcroft
03b077dd91
Add deinit() to _bleio.Characteristic
...
Espressif's Characteristics allocate memory that may be on the
supervisor heap. We need to free it when stopping BLE workflow.
Otherwise, we leak the memory and eventually safe mode.
Fixes #9599
2024-09-12 13:35:25 -07:00
Dan Halbert
1f68fffa13
merge from main
2024-09-10 16:36:32 -04:00
Dan Halbert
02e11a9413
fix compilation issues; remove more uctypes mentions
2024-09-10 16:04:47 -04:00
Dan Halbert
bc6f065447
working on compilation errors
2024-09-06 23:10:41 -04:00
James Bowman
47017861cb
Correct method name in docstring
2024-09-06 12:59:40 -07:00
James Bowman
73eb5944bf
Extend EVE hardware opcodes for future-compatibility
...
Extend the bitfields of these instructions: BitmapHandle, ClearTag, Tag, BitmapSource, PaletteSource
Add instructions: BitmapSourceH PaletteSourceH
All the new bits and opcodes are ignored by earlier hardware, so this change is backwards-compatible.
Passes tests on all EVE hardware.
2024-09-06 10:53:05 -07:00
James Bowman
811d6ab877
Use common error messages on incorrect argument count
2024-09-04 12:19:01 -07:00
James Bowman
862ad62901
Make BitmapTransform* methods backwards-compatible
...
The setmodel() method controls the behavior
So existing code will continue to work unchanged
Subsequent releases of the ``eve`` library will call setmodel() to enable the new behavior
Confirmed all code paths on EVE hardware
2024-09-04 11:20:48 -07:00
James Bowman
a6708d12a7
Change BitmapTransformA-F() methods to accept a single float, converting to the appropriate fixed-point internally.
...
No more fiddly 8.8 / 1.15 fixed-point math in user code.
2024-09-03 15:34:11 -07:00
Dan Halbert
1e1a8000a8
change remaining STATIC to static
2024-09-03 17:40:07 -04:00
James Bowman
6b82e5cec6
Conditionalize the ulab.numpy code on CIRCUITPY_ULAB
...
This allows _eve to build without ulab.
2024-09-02 20:21:19 -07:00
James Bowman
61154d81e9
Fix pre-commit formatting failures
2024-09-02 19:40:14 -07:00
James Bowman
5ebd67d714
Add support for ulab.numpy float vectors in Vertex2f()
...
Using numpy greatly increases graphics drawing for complex geometry.
2024-09-02 19:10:29 -07:00
Scott Shawcroft
e8515c1a2c
Merge pull request #9548 from elpekenin/fix/_bleio-stubs
...
Typing improvements
2024-08-28 10:56:20 -07:00
elpekenin
4b10b912e9
remove useless comments
2024-08-27 23:43:24 +02:00
elpekenin
839bbd30d1
Update USBFramebuffer: __new__ -> __init__
2024-08-27 23:11:13 +02:00
Pablo Martínez
0f94cc5f92
Update shared-bindings/_bleio/CharacteristicBuffer.c
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2024-08-27 22:59:41 +02:00
Scott Shawcroft
1039743356
Merge pull request #9560 from FoamyGuy/math_dist
...
Implement math.dist
2024-08-27 13:40:53 -07:00
elpekenin
9b950a4035
use types.CodeType, as per jepler finding
2024-08-25 14:28:39 +02:00
elpekenin
0a37155f6e
fix "code" hint
2024-08-24 03:59:46 +02:00
elpekenin
bc7a052cbb
fix some doc-comments
2024-08-23 23:00:56 +02:00
elpekenin
1cfedcb79c
fix CharacteristicBuffer.readinto
2024-08-22 23:22:15 +02:00
elpekenin
71ef507c18
fix ScanEntry.matches
2024-08-22 16:43:45 +02:00
Dan Halbert
88e8a3c755
Merge pull request #9540 from elpekenin/fix/_bleio-stubs
...
Fix `_bleio` doc comments
2024-08-22 10:32:27 -04:00
Dan Halbert
e5e9c5ca84
Merge pull request #9469 from dhalbert/merge-from-micropython-v1.22.2
...
Merge from micropython v1.22.2
2024-08-21 18:11:19 -04:00
Dan Halbert
450cb4963e
address review comments
2024-08-21 16:50:19 -04:00
elpekenin
0ebbb39460
fix CharacteristicBuffer.timeout
2024-08-20 22:40:42 +02:00
elpekenin
95d776211a
fix Characteristic.add_to_service
2024-08-20 20:24:40 +02:00
foamyguy
e682663ef3
implement math.dist
2024-08-11 09:45:33 -05:00
wyrdsec
5861363028
Pre-commit fixes, again
2024-08-09 11:38:35 -04:00
wyrdsec
8472ae7021
Docs formatting
2024-08-09 11:35:21 -04:00
wyrdsec
5d024a0d65
Docs formatting
2024-08-09 11:32:14 -04:00
wyrdsec
2a98af336c
More pre-commit formating
2024-08-08 21:26:17 -04:00
wyrdsec
33864badb8
More whitespace changes for doc generation
2024-08-08 21:15:00 -04:00
wyrdsec
db188d5c6b
whitespace issue
2024-08-08 21:10:34 -04:00
wyrdsec
0b13367dd3
Fixed missing tab for docs generation
2024-08-08 20:48:55 -04:00
wyrdsec
e416ac0570
pre-commit fixes
2024-08-08 20:37:49 -04:00
wyrdsec
0ce385bf5d
shared-bindings/aurora_epaper/aurora_framebuffer.c: Another typo
2024-08-07 21:11:44 -04:00
wyrdsec
bcc93590bc
shared-bindings/aurora_epaper/aurora_framebuffer.c: Typos
2024-08-07 20:39:33 -04:00
wyrdsec
6208124bd1
Merge branch 'adafruit:main' into main
2024-08-07 18:01:23 -04:00
Daniel Dunn
fc6a34459c
Manually fix white space formatting
2024-08-05 18:14:50 -06:00