Phil Howard
a41aa7954d
PNG/JPEGDEC: Use MP_ROM_QSTR.
2025-01-23 14:08:24 +00:00
Phil Howard
0df3095b06
PicoVector: Fix bug in polygon iterator.
...
list(Polygon) should return a list of points, but crashed with non-empty polygons.
We were advancing to the next path and then retriving an invalid point count for building the tuple.
Save the point count before advancing to the next path.
2025-01-16 16:32:34 +00:00
Phil Howard
3a0b049447
PicoVector: Add arbitrary matrix transform.
2025-01-16 16:32:34 +00:00
Phil Howard
09a06bd0a2
PicoVector: Fix bug in Polygon.regular.
2025-01-16 16:32:34 +00:00
Phil Howard
796e7cf338
PicoGraphics: Check for out of range layers.
2025-01-16 16:32:34 +00:00
Phil Howard
ff1917c2f6
PicoVector: MPY bindings for line and arc.
2025-01-16 16:32:34 +00:00
Phil Howard
b71324bbd4
PicoGraphics/Hub75: Add support for 128x128.
2025-01-16 16:32:34 +00:00
Phil Howard
c9c7f1d634
PicoGraphics: Don't force Presto to RGB565.
2025-01-16 16:32:34 +00:00
Mike Bell
b9f11a3b1d
PicoGraphics: Presto full res option.
2025-01-16 16:32:34 +00:00
Mike Bell
6942bc7329
PicoVector: Add optional text max width and max height.
2025-01-16 16:32:34 +00:00
Phil Howard
234ea41f40
PicoVector: Runtime buffer allocation.
2025-01-16 16:32:34 +00:00
Phil Howard
25f30fba00
PicoGraphics: Non-blocking Inky update for #936 .
2025-01-16 16:32:34 +00:00
Phil Howard
b69ad9b1b3
PicoGraphics: Add Presto.
2025-01-16 16:32:34 +00:00
Phil Howard
e04e6efea6
PicoVector: Remove (ifdef guard) debug functions.
2025-01-16 16:32:34 +00:00
Phil Howard
230d9facab
PicoVector: Refactor text multiline support.
...
Drop dependence on null terminated strings, and for a final linebreak.
Bound all text processing using the text length.
2025-01-16 16:32:34 +00:00
Phil Howard
9989135926
PicoVector: Improve text rendering and control.
2025-01-16 16:32:34 +00:00
Phil Howard
d4e0d660b9
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
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
5ce870fd3f
PicoVector: Remove alright_fonts.cpp from cmake.
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
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
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
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
185bea2065
SCD4X: Support low power periodic measurements.
2024-11-18 10:58:16 +00:00
Phil Howard
b79814cae3
SCD4X: scd4x_get_data_ready_status to scd4x_get_data_ready_flag.
...
The function name and behaviour has changed, moving the bitwise check
into the API and making it an implementation detail.
2024-11-18 10:43:00 +00:00
Phil Howard
a05a225262
Wakeup: Move wakeup pin assert and latch out of patches.
2024-10-31 11:19:22 +00:00
Phil Howard
6cfcd80037
PPP: This old chestnut.
2024-10-31 11:19:22 +00:00
Phil Howard
d24c2225ca
CI: PPP-enabled Pico build.
2024-10-31 11:19:11 +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
Tobias
6d6a1e2b7d
Allow spritesheets for PenRGB565
2024-10-24 17:45:35 +02:00
Phil Howard
6376282c47
MicroPython: Drop Pico Wireless support.
...
With PPP support added to MicroPython this would be better
handled by creating a PPP-compatible firmware for Pico Wireless
and using the PPP module instead... I think.
2024-10-02 10:21:48 +01:00
Phil Howard
2f5b47ac12
Pico Wireless: Fixup for GCC 13.x.
...
These changes are giving me "how did this ever work?" vibes.
2024-10-02 10:14:31 +01:00
Hel Gibbons
d06956dd8d
Merge pull request #973 from pimoroni/examples/pico-display-2-8
...
Pico Display 2.8": Update examples
2024-08-01 14:42:27 +01:00
Hel Gibbons
34d8714398
Picographics: Update README.md
...
Text rotation now works with bitmap fonts :)
2024-07-30 14:32:04 +01:00
Hel Gibbons
24d6de8f1e
Docs: Update readmes
2024-07-16 15:25:28 +01:00
Philip Howard
3fefcb8609
Merge pull request #968 from pimoroni/patch-remove-exceptions-patch
...
Move nano specs hack into our module cmake files.
2024-07-04 11:08:11 +01:00
Philip Howard
a8cc54e89d
Merge pull request #955 from pimoroni/docs/rv3028
...
Documentation: RV3028
2024-07-03 16:44:59 +01:00
Phil Howard
e0d9510769
Move nano specs hack into our module cmake files.
...
We've been maintaining a downstream patch to disable C++ exception
handling, which gives us some headroom before our builds get too big and
overwrite themselves at runtime.
Forgetting to apply this patch is a constant source of debugging
frustration. It turns out it can just be added to our USER_C_MODULES cmake
files instead, where it will implicitly be included when building against
our modules.
2024-07-03 16:18:46 +01:00
thirdr
a7e48edff5
RV3028: MicroPython docs
2024-06-05 10:25:38 +01:00
Phil Howard
392890e99b
RP_PICO_USB: New USB-enabled version of the stock Pico firmware.
...
⚠️ Warning: flash/firmware split is now 1Mb/1Mb to accomodate USB libs.
BACK UP YOUR PICO before flashing this build. It *will* trash your filesystem.
* Add new RP_PICO_USB board
* Use commit 932f76c6ba64c5a3e68de3324556d9979f09303b for 932f76c6ba
2024-06-04 19:55:24 +01:00