Phil Howard
f19465587a
PicoVector: Revert the tile buffer to be fixed.
...
Ensure that MicroPython doesn't ever place the tile buffer into PSRAM
and trash performance.
2024-11-18 13:58:54 +00:00
Phil Howard
a6524a7fbe
PicoVector: Runtime buffer allocation.
2024-11-15 12:42:44 +00:00
Phil Howard
225ecfcff9
PicoVector: Prefix some pretty-poly variables.
2024-11-14 21:31:52 +00:00
Phil Howard
96beb08d04
PicoGraphics: Non-blocking Inky update for #936 .
2024-10-31 13:59:47 +00:00
Phil Howard
f2d84fa321
Plasma: Add support for GPIOs >=32.
...
For both APA102 and WS2812 the pins used on the same PIO must be in the same range.
The GPIO base offset applies to the whole PIO and not individual state machines.
This means that for APA102 both data and clock must be in the same pin range,
ie: either 16-48 inclusive or 0-31 inclusive.
2024-10-31 11:59:31 +00:00
Phil Howard
03a8d51526
PicoGraphics: Add Presto.
2024-10-31 11:59:31 +00:00
Phil Howard
49b496d29a
PicoVector: Remove (ifdef guard) debug functions.
2024-10-31 11:59:31 +00:00
Phil Howard
a292905d4d
PicoVector: Refactor text multiline support.
...
Drop dependence on null terminated strings, and for a final linebreak.
Bound all text processing using the text length.
2024-10-31 11:59:31 +00:00
Phil Howard
5bc852ebd0
PicoGraphics: RGB565 skip layers if not enabled.
2024-10-31 11:59:31 +00:00
Phil Howard
352bd47117
PicoVector: Improve text rendering and control.
2024-10-31 11:59:31 +00:00
Phil Howard
adb9a1ee0b
PicoGraphics: Add layer support to PicoVector tile renderer.
2024-10-31 11:59:31 +00:00
Phil Howard
a123cfae52
PicoVector: Big refactor, ppp primitives.
...
* Remove Polygon types in favour of primitives .circle, .rectangle etc
* Add a new Transform type for building up transformation matrices
* Add support to set/clear transform on drawing
2024-10-31 11:59:31 +00:00
Phil Howard
841225efbf
PicoVector: Update C++ examples.
2024-10-31 11:59:31 +00:00
Phil Howard
6f092a29e0
PicoVector: Rewrite around new linked-lists poly.
2024-10-31 11:59:31 +00:00
Phil Howard
be0d617942
PicoVector: Use tile renderer for all pens.
2024-10-31 11:59:31 +00:00
Phil Howard
740e351493
PicoVector: Support float types in MicroPython bindings.
2024-10-31 11:59:31 +00:00
Phil Howard
7d04ea78a0
PicoVector: Remove malloc from MicroPython bindings.
2024-10-31 11:59:31 +00:00
Phil Howard
263fe406c3
PicoGraphics: Add get_clip.
2024-10-31 11:59:31 +00:00
Phil Howard
dcc24fdceb
PicoVector: Fix x16 anti-aliasing.
2024-10-31 11:59:31 +00:00
Phil Howard
031956a099
PicoGraphics: Add RGB565 alpha blending support.
2024-10-31 11:59:31 +00:00
Phil Howard
94d14ed970
PicoVector: Remove alright_fonts.cpp from cmake.
2024-10-31 11:59:31 +00:00
Phil Howard
8a719c214e
PicoVector: C++ basic bringup.
2024-10-31 11:59:31 +00:00
Phil Howard
469833670e
PicoVector: render text that doesn't end with a linebreak.
2024-10-31 11:59:31 +00:00
Phil Howard
58dcc62de0
PicoVector: Fix out of bounds drawing.
...
pretty-poly.h is not giving us fully clipped rectangles, so revert to the
slower bounds checked pixel for now.
2024-10-31 11:59:31 +00:00
Phil Howard
739c77cdde
PicoVector: fix pointer arithmatic in af_load_font_file.
...
Pointers were being incremented as if they were bytes, rather than larger
containers.
2024-10-31 11:59:31 +00:00
Phil Howard
742c2cb8eb
PicoVector: Break things until they work.
2024-10-31 11:59:25 +00:00
Phil Howard
1fe1d3ce30
PicoVector: alright-fonts bringup.
2024-10-31 11:59:15 +00:00
Phil Howard
27fd61b5c0
PicoVector: Swap rotate translation order.
2024-10-31 11:59:04 +00:00
Phil Howard
0354b8bd7a
PicoVector: Vendor pretty-poly and tweak rotation.
2024-10-31 11:58:55 +00:00
Phil Howard
da262acec0
PicoVector: Suppress errors.
...
Ignore sign compare and narrowing conversion errors in pretty-poly.h.
2024-10-31 11:42:47 +00:00
Phil Howard
6f2d4bfff5
PicoVector: Rewrite MicroPython bindings.
2024-10-31 11:42:47 +00:00
Phil Howard
6c136e0be8
PicoVector: Rewrite around new C pretty-poly.h.
2024-10-31 11:42:47 +00:00
Phil Howard
d528c6ff1b
PicoGraphics: Support multiple layers in more types.
2024-10-31 11:42:47 +00:00
Phil Howard
3de60d1ddc
PicoGraphics: Layers.
...
Add preliminary support for multiple layered drawing surfaces.
Allows, for example, static content to be loaded into one layer and
remain unmodified while the above layer contains animations.
Particularly useful for drawing PNG or JPEG UI elements which are
then overdrawn with text or animated elements, without paying the
cost of loading/decoding every frame.
2024-10-31 11:42:47 +00:00
Philip Howard
9c7ecdc438
Merge pull request #1022 from SteveClement/examples_placecats
...
fix: [url] placekitten.com is down, someone created a drop in replacement, placecats.com
2024-10-31 11:38:30 +00:00
Philip Howard
12b4e79cb6
Merge pull request #1024 from pimoroni/ci/micropython-1.24.0
...
Bump to MicroPython v1.24.0
2024-10-31 10:06:12 +00:00
Phil Howard
d4ededab35
Wakeup: Port wakeup runtime functionality to SDK 2.0.0.
2024-10-31 09:34:41 +00:00
Phil Howard
078f3e6a39
PicoGraphics: Support for Explorer.
2024-10-31 09:34:41 +00:00
Phil Howard
3e16e1228f
CI: Bump MicroPython to v1.24.0.
2024-10-31 09:34:36 +00:00
Steve Clement
15bdeebb71
fix: [url] placekitten.com is down, someone created a drop in replacement, placecats.com
2024-10-27 11:15:09 +01:00
Philip Howard
24971349fc
Merge pull request #1021 from pimoroni/patch-plasma-weather
...
Fix linting fail.
2024-10-25 16:41:03 +01:00
Phil Howard
7485f8e6c6
Fix linting fail.
2024-10-25 16:13:59 +01:00
Philip Howard
3f50bf7ef0
Merge pull request #974 from LeePorte/gc-addition-to-weather
...
Add Garbage Collection to weather example
2024-10-25 16:01:56 +01:00
Philip Howard
c2418ee2fb
Merge pull request #1020 from pimoroni/patch-misc
...
A roundup of not necessarily related fixes from other branches
2024-10-25 15:44:34 +01:00
Philip Howard
6ac9bc0f5f
Merge pull request #959 from waffshappen/main
...
Allow spritesheets for PenRGB565
2024-10-25 15:20:43 +01:00
Philip Howard
58089a4929
Merge pull request #1018 from pimoroni/patch-upload-release-assets
...
CI: Switch to action-gh-release.
2024-10-25 15:05:09 +01:00
Phil Howard
2b25e791a7
UC8151: Do *not* power off display.
...
Leave the IC powered so that it drains residual voltage into its circuits, rather than the display itself.
Or so the theory holds.
2024-10-25 15:02:56 +01:00
Phil Howard
02aa32bc36
CI: Update py_decl to 0.0.4.
...
Gives more detailed reports about firmware/flash size and overlap.
2024-10-25 15:02:45 +01:00
Phil Howard
3587b1be9f
CI: Switch to action-gh-release.
...
Switch from the long deprecated upload-release-asset to action-gh-release
and attempt to replicate the same behaviour.
Avoids nodejs and set-output deprecation warnings:
- https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
- https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2024-10-25 11:24:38 +01:00
Tobias
6d6a1e2b7d
Allow spritesheets for PenRGB565
2024-10-24 17:45:35 +02:00