Wykres commitów

2623 Commity (patch-exception-handling)

Autor SHA1 Wiadomość Data
Phil Howard e6b8e0222d More madness. 2025-05-29 12:11:12 +01:00
Phil Howard 4611cd4ced Add -fdata-sections. 2025-05-28 22:04:10 +01:00
Phil Howard aada2e5e54 Add -ffunction-sections and -Wl,--gc-sections. 2025-05-28 21:57:37 +01:00
Phil Howard 8ff9ef8288 Add --no-ld-generated-unwind-info. 2025-05-28 21:50:47 +01:00
Phil Howard ed34526c84 mlx90640: drop unused includes. 2025-05-28 21:50:28 +01:00
Phil Howard 25efd312d1 Replace nosys hack with __verbose_terminate_handler. 2025-05-28 21:36:32 +01:00
Philip Howard 8a663768ec
Merge pull request #1081 from pimoroni/patch-blocking-updates
PicoGraphics: Make blocking updates interruptable.
2025-05-28 16:18:08 +01:00
Phil Howard 62b3c4f97e PicoGraphics: Make blocking updates interruptable. 2025-05-28 15:56:18 +01:00
Philip Howard dbd9678221
Merge pull request #975 from mariobodemann/main
fix: initialize the uninitialized
2025-05-28 15:22:09 +01:00
Philip Howard d2c86c22dd
Merge pull request #1051 from ahnlak/measure-text-fix
Don't include the spacing after the final letter when measuring bitmap text
2025-05-28 15:17:38 +01:00
Philip Howard cfee94a69d
Merge pull request #1077 from pimoroni/ci/rp2350
CI: Add Pico 2 and Pico 2 W builds.
2025-05-27 14:06:34 +01:00
Philip Howard dc93a19848
Merge pull request #1078 from pimoroni/patch-af-unicode
PicoVector: Fix find_glyph char to uint16_t.
2025-05-22 16:36:02 +01:00
Phil Howard fd21d61bea PicoVector: Fix find_glyph char to uint16_t.
Allow find_glyph to find 16-bit unicode codepoints (icons, yay!).
2025-05-22 16:00:59 +01:00
Phil Howard db65c4ba73 Examples: Exclude encoder wheel clock example from RP2350 builds.
Borrows a check against the hardware_rtc target from Pico Examples.
2025-05-21 09:51:44 +01:00
Phil Howard 6e73375cd4 Examples: Remove unused hardware_rtc from Inky Frame examples. 2025-05-21 09:51:03 +01:00
Phil Howard 4bbbab86f7 CI: Add Pico 2 and Pico 2 W builds. 2025-05-20 14:12:07 +01:00
Philip Howard 21ec6a23ba
Merge pull request #1019 from pimoroni/feature/picovector2-and-layers
PicoVector Enhancements & PicoGraphics Layers
2025-05-12 13:54:50 +01:00
Phil Howard 841253437a PicoGraphics: Make Inky block by default as intended. 2025-05-09 17:11:33 +01:00
Phil Howard fba0f1c962 PicoVector: Add tracked memory alloc, track the node buffer.
With a low GC threshold the node buffer was being collected (despite guards against this)
and causing further drawing operations to be corrupted.

Add a new tracked malloc method and use it for node buffers and font data.

Tweak pp_poly_add_path to accept a point count, avoiding many successive rellocs when
dealing with a known quantity of points (copying from an af_glyph_t.)
2025-05-09 17:11:27 +01:00
Phil Howard 8117066bb5 PicoVector: Fix bug in RGB888 blend.
Move the source pen out for a tiny performance boost.
2025-04-25 17:55:30 +01:00
ihaanaho 7a894dc512 PicoVector: Add support for utf-8 characters. 2025-04-25 17:43:13 +01:00
Phil Howard a2e8127f57 PimoroniBus: SPIBus fix unused pin arguments.
Fixes #1074.
2025-04-25 17:39:18 +01:00
Phil Howard 75f15c6a66 BME690: Add MP_ERROR_TEXT() around errors. 2025-04-25 17:39:18 +01:00
Phil Howard a5d96397fc MicroPython: Replace MICROPY_HW_PIN_RESERVED with hal function. 2025-04-25 17:39:18 +01:00
Phil Howard d6b42b5abd CI: Bump MicroPython to v1.25.0. 2025-04-25 17:39:07 +01:00
Phil Howard b8d0f36caf BME69X: Add C driver and MicroPython bindings.
This is just a straight copy and paste of BME68X, dropping in the BME69X
Sensor API and wishing upon a star that it works.
2025-04-25 17:33:53 +01:00
Mike Bell eafb2db34b PicoVector: Set optimization flags. 2025-04-25 17:33:53 +01:00
Phil Howard c7776ee4ae Plasma: Make PIO and pin args optional. 2025-04-25 17:33:53 +01:00
Phil Howard cd2486b3d4 Plasma: Add is_busy method. 2025-04-25 17:33:53 +01:00
Phil Howard 0a4801da70 Plasma: Expose non-blocking update to MicroPython. 2025-04-25 17:33:53 +01:00
Phil Howard a03ed44db1 PimoroniBus: Support machine.Pin. 2025-04-25 17:33:53 +01:00
Phil Howard 6845972ffe PimoroniBus: Switch to mp_obj_malloc. 2025-04-25 17:33:53 +01:00
Phil Howard 9c2775228d PimoroniBus: Clean up print function.
Use mp_printf to avoid fragmented output and converion into mp types.
2025-04-25 17:33:53 +01:00
Phil Howard 5ba5b29d39 MicroPython: Switch everything else to mp_obj_malloc. 2025-04-25 17:33:53 +01:00
Phil Howard b12d0aa8ab plasma: Support pins given as machine.Pin obj. 2025-04-25 17:33:53 +01:00
Phil Howard b6f9027090 plasma: Drop pin definitions from C module.
Remove pin definitions in anticipation of them moving to pins.csv.

Eg:

from plasma2040 import BUTTON_A
machine.Pin(BUTTON_A)

Should become:

machine.Pin("BUTTON_A")
2025-04-25 17:33:53 +01:00
Phil Howard 613e3cdd38 Pimoroni I2C: Switch to mp_obj_malloc. 2025-04-25 17:33:53 +01:00
Phil Howard 26a8ce40f5 Pimoroni I2C: Support machine.Pin args. 2025-04-25 17:33:53 +01:00
Mike Bell d84a1e3470 PicoVector: Faster polygon rendering. 2025-04-25 17:33:53 +01:00
Phil Howard 12228c4036 ulab: Bump from 6.5.2 to 6.7.3. 2025-04-25 17:33:53 +01:00
Phil Howard cd2e412ef4 MicroPython: Add MP_ERROR_TEXT() for mp_raise_msg() calls. 2025-04-25 17:33:53 +01:00
Phil Howard 5ed7913a2c MicroPython: Fix errors reporting an errno. 2025-04-25 17:33:53 +01:00
Phil Howard 5aaf5d3608 MicroPython: Add MP_ERROR_TEXT() around errors.
This is required for MicroPython error text compression which is
going to be enabled by default for RP2 builds.

We have a lot of error messages, so the potential flash gain here
is worth the effort of making this work.
2025-04-25 17:33:53 +01:00
Phil Howard a22c966ddd CI: Remove Unicorn boards.
These have moved to: https://github.com/pimoroni/unicorn
2025-04-25 17:33:53 +01:00
Phil Howard 8f5c04ba48 PicoVector: Basic documentation. 2025-04-25 17:33:53 +01:00
Phil Howard 9588ee1c26 PicoVector: Make Polygon().path chainable. 2025-04-25 17:33:53 +01:00
Phil Howard cce0a7dabe Hershey Fonts: Fix default value setting for HERSHEY_FONTS. 2025-04-25 17:33:53 +01:00
Phil Howard c58142cf0b Unicorns: Disable Hershey fonts to reclaim some bytes. 2025-04-25 17:33:53 +01:00
Phil Howard fbe2851eaf PicoVector: Improve transform handling.
* Store a reference to transform, so `set_transform(Transform())` is not GC'd until it is replaced
* Transformations return the transform, allowing chaining: `transform.rotate().scale().translate()`
* A new `get_transform` method for getting the currently set transform.
2025-04-25 17:33:53 +01:00
Phil Howard a2b91340e2 PicoVector: Don't force iterated points to int(). 2025-04-25 17:33:53 +01:00