Commit graph

37053 commits

Author SHA1 Message Date
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
b6dc9f0444 Disable _EVE for metro_m4_airlift_lite because of flash overflow 2024-09-04 13:51:37 -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
5f6640003b
Merge pull request #9589 from jamesbowman/main
Add support for ulab.numpy float vectors in Vertex2f()
2024-09-03 16:19:02 -04:00
Dan Halbert
c302c234a8
Merge pull request #9590 from tannewt/s3_usb_disabled
Fix ESP resume from sleep
2024-09-03 16:17:47 -04:00
Scott Shawcroft
9bb9f9b96a
Merge pull request #9591 from adafruit/tannewt-patch-2
Unpin autoapi
2024-09-03 13:15:14 -07:00
Scott Shawcroft
d794464a6c
Omit pins not used by board on BDMicro Vina D21 2024-09-03 11:47:18 -07:00
Scott Shawcroft
8df49424d0
Merge pull request #9530 from djairjr/seeed_xiao_esp32s3
Config that works on Seeed Xiao ESP32S3
2024-09-03 11:32:00 -07:00
Scott Shawcroft
9fbe402940
Unpin autoapi
The bug impacting us was fixed
2024-09-03 11:20:40 -07:00
Scott Shawcroft
7cfd0fe41b
Merge pull request #9582 from bill88t/tws3-axp-fixes
Init AXP2101 from C code for T-Watch-S3
2024-09-03 11:12:45 -07:00
Scott Shawcroft
683c646af9
Fix ESP resume from sleep
TinyUSB didn't turn on the interrupt it needed.

Fixes #9454
2024-09-03 10:04:22 -07: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
Djair Guilherme
7076db094b
Merge branch 'adafruit:main' into seeed_xiao_esp32s3 2024-09-02 12:15:32 -03:00
Bill Sideris
65121d5835
25mA termination charging current limit 2024-08-31 23:47:10 +03:00
Bill Sideris
7ec7bedefc
Update comments 2024-08-31 16:49:27 +03:00
Bill Sideris
8498804286
Set a lot more things 2024-08-31 16:42:23 +03:00
Bill Sideris
b7d405bcc1
Enable dldo1 2024-08-31 00:38:12 +03:00
Bill Sideris
3ca0e08666
Enable all the needed ldo's 2024-08-31 00:12:23 +03:00
Bill Sideris
c504bc2990
Init AXP2101 from board.c 2024-08-30 23:54:52 +03:00
d8b9f64e3e
Merge pull request #9580 from dhalbert/9.1.x-to-main-2024-08-29
Merge latest 9.1.x fixes to main
2024-08-30 07:13:31 -05:00
Dan Halbert
03011ef46b Merge remote-tracking branch 'adafruit/9.1.x' into 9.1.x-to-main-2024-08-29 2024-08-29 17:33:15 -04:00
Dan Halbert
e680f66d75
Merge pull request #9579 from dhalbert/9.1.x-esp32-c6-uart-fix
ESP32-C6: don't use LP (low-power) UART
2024-08-29 17:08:57 -04:00
Dan Halbert
e2523ffcae ESP32-C6: don't use LP UART; clean up if constructor failure 2024-08-29 16:48:20 -04:00
Dan Halbert
4e9641793d
Merge pull request #9578 from tannewt/fix_rtd_autoapi
Fix RTD build
2024-08-29 16:35:19 -04:00
Scott Shawcroft
f3fccaad93
Fix RTD build
AutoAPI 3.3.0 release broke our build. So, pin at a lower version
for now.
2024-08-29 13:19:34 -07:00
Dan Halbert
99a30bdabd
Merge pull request #9532 from tannewt/seeed_rp2350
Add Seeed XIAO RP2350
2024-08-29 14:41:25 -04:00
Scott Shawcroft
4cadde0133
Merge pull request #9575 from bablokb/pimoroni_tinyfx
New board: Pimoroni Tiny FX
2024-08-29 10:18:22 -07:00
Scott Shawcroft
d029680473
Update USB PID 2024-08-29 09:57:04 -07:00
Djair Guilherme
66920801a2
Merge branch 'adafruit:main' into seeed_xiao_esp32s3 2024-08-29 10:25:08 -03:00
Bernhard Bablok
74dcf530ea Merge branch 'main' into pimoroni_tinyfx 2024-08-29 15:04:29 +02:00
Dan Halbert
0720dd5f35
Merge pull request #9572 from jepler/no-debug-print-adapter
espressif: Remove the debug printf adapter
2024-08-28 20:46:05 -04:00
Dan Halbert
37f2f1679b
Merge pull request #9571 from tannewt/update_pio_usb
Update PIO USB
2024-08-28 19:52:07 -04:00
Scott Shawcroft
2e710be9ab
Merge pull request #9568 from jepler/issue9426
Avoid crashing when display components are deinitialized
2024-08-28 14:16:31 -07:00
Scott Shawcroft
503f1e2a1e
Merge pull request #9570 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2024-08-28 14:15:06 -07:00
4267179b67 espressif: Remove the debug printf adapter
this caused problems.

Closes #9406
2024-08-28 16:10:32 -05:00
Scott Shawcroft
cb6439c31d
Update PIO USB
0.6.0 had a buffer issue that is fixed in 0.6.1. Now we can use
upstream.
2024-08-28 14:00:46 -07:00
0c84b12fc9 stackrduino_m0_pro: disable some features on this constrained build 2024-08-28 14:05:11 -05:00
Andi Chandler
e840c0f69f
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (999 of 999 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2024-08-28 20:09:14 +02:00
Scott Shawcroft
e8515c1a2c
Merge pull request #9548 from elpekenin/fix/_bleio-stubs
Typing improvements
2024-08-28 10:56:20 -07:00
Scott Shawcroft
0ba89fc03d
Merge pull request #9566 from dhalbert/9.1.x-qualia_glitches
9.1.x Backport of qualia speed fix #9564
2024-08-28 10:35:02 -07:00
19e5cf3d8f Avoid crashing when display components are deinitialized
Now, try_lock (SPI & I2C) & begin_transaction (display bus core) will check
that the related objects are still valid first; if they are not,
the lock/begin transaction will fail by returning false, rather than
"other things" such as raising a Python exception where it is not
permitted, accessing invalid memory, etc.

Closes #8278 and Closes #9426
2024-08-28 09:44:02 -05:00
Scott Shawcroft
a763343e10 Bump Qualia to 120 MHz flash and PSRAM speed
This allows us to push more pixels and reduce tearing.

Fixes #9477
2024-08-27 22:34:47 -04:00
14c86ef7d0
Merge pull request #9564 from tannewt/qualia_glitches
Bump Qualia to 120 MHz flash and PSRAM speed
2024-08-27 19:24:01 -05:00
Scott Shawcroft
f4a6460eeb
Bump Qualia to 120 MHz flash and PSRAM speed
This allows us to push more pixels and reduce tearing.

Fixes #9477
2024-08-27 16:20:26 -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