Wykres commitów

2505 Commity (3f46772e44caa348ac6b722eb182f517e64a508b)

Autor SHA1 Wiadomość Data
Phil Howard 3f46772e44 PicoVector: Update C++ examples. 2025-01-16 16:32:34 +00:00
Phil Howard 34cd133cd1 PicoVector: Rewrite around new linked-lists poly. 2025-01-16 16:32:34 +00:00
Phil Howard 5c03d8e30a PicoVector: Use tile renderer for all pens. 2025-01-16 16:32:34 +00:00
Phil Howard 80c52183fc PicoVector: Support float types in MicroPython bindings. 2025-01-16 16:32:34 +00:00
Phil Howard 8212fb715b PicoVector: Remove malloc from MicroPython bindings. 2025-01-16 16:32:34 +00:00
Phil Howard d6862fd49d PicoGraphics: Add get_clip. 2025-01-16 16:32:34 +00:00
Phil Howard 7fd72fe06c PicoVector: Fix x16 anti-aliasing. 2025-01-16 16:32:34 +00:00
Phil Howard 03ada256ed PicoGraphics: Add RGB565 alpha blending support. 2025-01-16 16:32:34 +00:00
Phil Howard 5ce870fd3f PicoVector: Remove alright_fonts.cpp from cmake. 2025-01-16 16:32:34 +00:00
Phil Howard 22850357ef PicoVector: C++ basic bringup. 2025-01-16 16:32:34 +00:00
Phil Howard e35678e4c0 PicoVector: render text that doesn't end with a linebreak. 2025-01-16 16:32:34 +00:00
Phil Howard 89fc6256d3 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.
2025-01-16 16:32:34 +00:00
Phil Howard 26c310fbe4 PicoVector: fix pointer arithmatic in af_load_font_file.
Pointers were being incremented as if they were bytes, rather than larger
containers.
2025-01-16 16:32:34 +00:00
Phil Howard 29ee929d14 PicoVector: Break things until they work. 2025-01-16 16:32:34 +00:00
Phil Howard dc251a42bf PicoVector: alright-fonts bringup. 2025-01-16 16:32:34 +00:00
Phil Howard c5af1752ce PicoVector: Swap rotate translation order. 2025-01-16 16:32:34 +00:00
Phil Howard 1603b64af9 PicoVector: Vendor pretty-poly and tweak rotation. 2025-01-16 16:32:34 +00:00
Phil Howard 6a8a7c4a0c PicoVector: Suppress errors.
Ignore sign compare and narrowing conversion errors in pretty-poly.h.
2025-01-16 16:32:34 +00:00
Phil Howard d479923133 PicoVector: Rewrite MicroPython bindings. 2025-01-16 16:32:34 +00:00
Phil Howard f7a33ade4e PicoVector: Rewrite around new C pretty-poly.h. 2025-01-16 16:32:34 +00:00
Phil Howard a340b47e69 PicoGraphics: Support multiple layers in more types. 2025-01-16 16:32:34 +00:00
Phil Howard 3a9cdc8f39 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.
2025-01-16 16:32:34 +00:00
Philip Howard aa1e3f18b7
Merge pull request #1029 from pimoroni/feature/scd4x-low-power
SCD4X: API bump and possible low power support
2025-01-15 11:59:00 +00:00
Philip Howard f7c45a9983
Merge pull request #1042 from jaeheonshim-forks/inky-blocking-fix
Fix: Properly implement non-blocking update functions for the Inky Frame
2025-01-15 11:33:56 +00:00
Philip Howard d014b289d6
Merge pull request #1049 from pimoroni/patch-pixel-span
PicoGraphics: Fix overflow bug in p4 pixel span.
2025-01-15 09:01:45 +00:00
Phil Howard 19689b4414 PicoGraphics: Fix overflow bug in p4 pixel span.
A properly aligned zero length pixel span would cause a single
pixel to be drawn, the length overflowed and a subsequent
2GB of pixels drawn by the main loop.

Add a simple check to discard any attempt to draw zero length spans.

Fixes pimoroni/pimoroni-pico-rp2350#32
2025-01-14 12:16:12 +00:00
Philip Howard a90abba9db
Merge pull request #1046 from pimoroni/docs/readme-rp2350-warning
README: Added link to RP2350 repo
2025-01-08 11:48:29 +00:00
Philip Howard 324b15ae2f
Merge pull request #1043 from isaac-webb/main
Fix Button class on Pico 2W
2025-01-08 11:48:10 +00:00
thirdr c44de41033 README: Added link to RP2350 repo 2025-01-07 09:45:06 +00:00
Isaac Webb 9883943dd0 Add pin mode definition to fix Button class on Pico 2 2024-12-26 17:08:15 -05:00
Jaeheon Shim 3811195374 Honor 'blocking' parameter in inky_frame and inky_frame_7 update functions 2024-12-24 16:57:48 -05:00
Jaeheon Shim cb06a20cb4 Remove duplicate busy_wait() in update function of inky73 2024-12-24 16:57:08 -05:00
Hel Gibbons e8260bf521
Merge pull request #1041 from pimoroni/examples/rp2350-display-pack
Display Pack: Make button example work with RP2350 boards
2024-12-24 13:50:07 +00:00
Hel Gibbons 77e6a9db6d update display pack button example to work with RP2350 boards 2024-12-24 12:39:29 +00:00
Philip Howard 63461337b1
Merge pull request #1006 from PiPicoDev/display_28
Add Pico Display Pack 2.8 and fix SPI for st7789 on Pico2
2024-12-11 17:24:40 +00:00
Philip Howard 5475bcb93a
Merge pull request #1034 from Daft-Freak/patch-1
picographics: update text docs
2024-12-11 17:22:36 +00:00
Charlie Birks 193fe81441
picographics: update text docs 2024-12-05 14:18:19 +00:00
Philip Howard 17d180dd37
Merge pull request #1033 from Daft-Freak/patch-1
hub75: don't enable an unrelated IRQ
2024-12-04 16:56:28 +00:00
Charlie Birks e70c40b706
hub75: also don't disable that IRQ 2024-12-04 16:07:37 +00:00
Charlie Birks 0bf63ca881
hub75: don't enable an unrelated IRQ
DREQs are not IRQs, `DREQ_PIO0_TXn` happens to align with `TIMER_IRQ_n` so this enabled a timer IRQ.
2024-12-04 14:17:13 +00:00
Philip Howard 1991fdde2c
Merge pull request #1032 from pimoroni/inky-patches
Patches for Inky on SDK 2.1.0 + MicroPython edge
2024-12-03 12:55:31 +00:00
Phil Howard 9290243910 CI: Fix ccache.
As per the docs ~/.ccache is only used if it exists.

It wont exist unless it's cached.

It wont cache unless it exists.

Create it, to break the cycle.
2024-12-03 12:17:10 +00:00
Phil Howard cae1b1381d Inky Frame: Remove MicroPython build and examples.
Inky Frame has a new home at: https://github.com/pimoroni/inky-frame
2024-12-03 11:49:28 +00:00
Phil Howard 2b7b9efac7 Wakeup: Remove runtime init hook. 2024-12-03 11:36:36 +00:00
Phil Howard 030b59c0d1 pcf85063a: Set PICO_INCLUDE_RTC_DATETIME for MicroPython. 2024-12-03 11:36:24 +00:00
Phil Howard 74b995f19a CI: Workaround silly mpy-cross build wart. 2024-12-03 11:36:03 +00:00
Philip Howard be3e7ba83a
Merge pull request #1030 from pimoroni/patch-pcf85063a-rp2350
pcf85063a: RP2350 Fixes
2024-11-26 10:05:15 +00:00
Phil Howard b6f657f9fc pcf85063a: Set PICO_INCLUDE_RTC_DATETIME.
And remove set_datetime and get_datetime gracefully when it's not set.

This is a temporary work-around for RP2350 lacking an RTC and not
requiring the datetime_t type. These functions should be re-implemented
in terms of C standards.
2024-11-25 13:19:44 +00:00
Phil Howard c08f496ecf pcf85063a: Drop hardware_rtc.
With datetime_t moved to types there is no need to include this as a dependency.
2024-11-25 12:33:54 +00:00
Phil Howard 185bea2065 SCD4X: Support low power periodic measurements. 2024-11-18 10:58:16 +00:00