foamyguy
8bf94d03e4
try to fix multi-display reset
2023-04-04 20:31:42 -05:00
foamyguy
60e12c5c1d
only add circuitpython_splash to display if it's not already in another group
2023-04-03 15:43:29 -05:00
jposada202020
1931b6c042
fixing algorithm and MAX
2023-03-30 18:08:17 -04:00
jposada202020
4986ad6d6b
Update shared-module/bitmaptools/__init__.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2023-03-30 15:43:57 -04:00
jposada202020
f6a0fb20f2
Update shared-module/bitmaptools/__init__.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2023-03-30 15:29:39 -04:00
jposada202020
533f532ff2
Update shared-module/bitmaptools/__init__.c
...
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2023-03-30 15:29:18 -04:00
jposada202020
6ad053e403
correcting feedback
2023-03-30 08:51:52 -04:00
jposada202020
f3d85d6932
Merge branch 'main' into adding_circle_bitmaptools
2023-03-30 07:44:07 -04:00
Dan Halbert
5909ceacc6
Merge pull request #7806 from dhalbert/no-report-id-out-reports
...
Handle HID OUT reports with no report ID
2023-03-29 15:33:36 -04:00
Dan Halbert
81482a6f66
Merge remote-tracking branch 'adafruit/8.0.x' into merge-8.0.x-to-main
2023-03-29 14:52:49 -04:00
Jeff Epler
a8bbb21eeb
Use short-circuiting or (also may save some code size)
...
Co-authored-by: Dan Halbert <halbert@adafruit.com>
2023-03-29 10:09:01 -05:00
Jeff Epler
cc3d0f6fa1
getenv: treat a read error like eof
...
Otherwise, the following would occur:
* settings.toml is in the process of being written by host computer
* soft-reset begins
* web workflow tries to grab CIRCUITPY_WIFI_SSID, but loops forever
because FAT filesystem is in inconsistent state and file reads error
* settings.toml write by host computer never completes and the filesystem
remains corrupt
* restarting yields a soft-bricked device, because startup reads
CIRCUITPY_WIFI_SSID again
2023-03-29 10:04:06 -05:00
Dan Halbert
d289329344
Handle HID OUT reports with no report ID
2023-03-28 11:38:38 -04:00
Neradoc
1fad969389
add unsigned ints and 64 bit types to msgpack
...
change msgpack error message when format invalid
2023-03-27 19:37:23 +02:00
Dan Halbert
0639c0850f
Merge pull request #7751 from hathach/add-codespell
...
Add codespell to pre-commit to scan and fix typo
2023-03-23 13:26:24 -04:00
Dan Halbert
db76fbd55f
Merge pull request #7712 from gamblor21/ondiskgif_freemem_fix
...
Add deinit to OnDiskGif
2023-03-23 09:03:07 -04:00
hathach
8c1095b268
Merge branch 'main' into add-codespell
2023-03-23 14:09:57 +07:00
gamblor21
e993d0f3c3
Missing brace
2023-03-22 20:19:09 -05:00
gamblor21
3020893ba2
Tweak to try to reduce low space builds
2023-03-22 19:20:20 -05:00
gamblor21
2c1e2061db
Change free function
2023-03-22 19:20:20 -05:00
gamblor21
aa423cc1c6
Free memory allocated by bitmap obj
2023-03-22 19:20:20 -05:00
gamblor21
07e83674c9
Add deinit to displayio.Bitmap
2023-03-22 19:20:20 -05:00
gamblor21
8b9f5e7f53
Remove del obj and add deinited
2023-03-22 19:20:20 -05:00
Dan Halbert
2492fb0b0a
Merge pull request #7780 from jepler/fix-struct-pack
...
use `values` in this error message ...
2023-03-22 20:19:08 -04:00
Dan Halbert
05e783cbbd
Merge pull request #7775 from tannewt/fix_pyportal
...
Add more checks for read-only Bitmaps
2023-03-22 20:16:43 -04:00
Dan Halbert
3ef2b7f81f
Merge pull request #7777 from tannewt/fix_epd_grayscale
...
Fix tricolor epd and add EPD feather
2023-03-22 20:13:23 -04:00
jposada202020
29613c73e1
pre-commit
2023-03-22 19:05:18 -04:00
jposada202020
0b3099a9ff
adding bitmaptools circle
2023-03-22 18:44:45 -04:00
Jeff Epler
127a7092bf
use values
in this error message ...
...
matching the documentation of struct.pack, which has `def pack(fmt: str,
*values: Any)` as the signature.
2023-03-22 16:11:22 -05:00
Scott Shawcroft
16c8dad078
Fix Pallete cache for grayscale and tricolor epd
2023-03-22 11:54:43 -07:00
Scott Shawcroft
a280c010c2
Fix tricolor epd and add EPD feather
2023-03-22 11:14:38 -07:00
Scott Shawcroft
36dbaf4ccc
Add more checks for read-only Bitmaps
...
Fixes #7768
2023-03-22 10:14:42 -07:00
Jeff Epler
98c546bf57
call common validation function
...
Co-authored-by: MicroDev <70126934+microdev1@users.noreply.github.com>
2023-03-22 10:16:48 -05:00
Jeff Epler
349dedca54
struct: Check that argument counts match, similar to cpython3
...
.. and test our struct module during the build-time tests
Closes #7771
2023-03-22 09:35:09 -05:00
Dan Halbert
c93560144b
Merge pull request #7678 from FoamyGuy/boundary_fill_background_tasks
...
do background tasks and handle interrupt during boundary fill
2023-03-21 23:38:05 -04:00
Scott Shawcroft
67e0a49a1f
Merge pull request #7724 from tannewt/get_perfbench_running
...
Improve iMX RT performance
2023-03-21 09:00:48 -07:00
jposada202020
ace25e83ce
correcting vectorshape location property
2023-03-20 15:44:49 -04:00
hathach
fecc1bdedb
fix typos (partial) detected by codepell
2023-03-18 22:17:02 +07:00
foamyguy
d30b89d8d1
Merge branch 'main' into boundary_fill_background_tasks
2023-03-14 18:24:01 -05:00
Scott Shawcroft
5bb8a7a7c6
Improve iMX RT performance
...
* Enable dcache for OCRAM where the VM heap lives.
* Add CIRCUITPY_SWO_TRACE for pushing program counters out over the
SWO pin via the ITM module in the CPU. Exempt some functions from
instrumentation to reduce traffic and allow inlining.
* Place more functions in ITCM to handle errors using code in RAM-only
and speed up CP.
* Use SET and CLEAR registers for digitalio. The SDK does read, mask
and write.
* Switch to 2MiB reserved for CircuitPython code. Up from 1MiB.
* Run USB interrupts during flash erase and write.
* Allow storage writes from CP if the USB drive is disabled.
* Get perf bench tests running on CircuitPython and increase timeouts
so it works when instrumentation is active.
2023-03-14 12:30:58 -07:00
Dan Halbert
5cb21539f2
use revised USB host API on mimxrt10xx
2023-03-10 13:12:37 -05:00
MicroDev
b9e478af39
Merge pull request #7471 from matemaciek/main
...
Add function for drawing polygons to bitmaptools
2023-03-07 08:28:07 +05:30
foamyguy
7740cbac97
do background tasks and handle interrupt during boundary fill
2023-03-04 13:13:59 -06:00
Dan Halbert
bac1a9625a
OnDiskGif delay was being chopped to 8 bits
2023-03-02 16:47:07 -05:00
Dan Halbert
859a48723f
Merge pull request #7633 from tannewt/fix_imx_pwm
...
Fix `pwmio` on iMX RT.
2023-02-28 14:11:06 -05:00
Dan Halbert
f9831b3bbc
Merge pull request #7639 from adafruit/8.0.x
...
Merge 8.0.x up to main
2023-02-24 19:32:09 -05:00
Scott Shawcroft
b79661d631
Alphabetize, fix typo and remove incorrect comment
2023-02-23 14:34:54 -08:00
Scott Shawcroft
1acf65ee22
Fix pwmio
on iMX RT.
...
It now handles deinit, never_reset and sharing tracking. PWM
now runs in the WAIT state as well during a time.sleep().
_reset_ok() was removed because it was called in one spot right
before deinit().
Some PWMOut were also switched to a bitmap for use instead of
reference count. That way init and deinit are idempotent.
Fixes #6589 . Fixes #4841 . Fixes #4541 .
2023-02-22 11:22:39 -08:00
Scott Shawcroft
de5f58a61d
Merge branch 'main' into banglejs2
2023-02-21 12:04:28 -08:00
Scott Shawcroft
a8b34bd067
Merge pull request #7549 from gamblor21/gif_displayio_support
...
Animated GIF support
2023-02-21 11:39:29 -08:00