Commit Graph

2423 Commits

Author SHA1 Message Date
Phil Howard 53a0e0b9a9 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-08-12 13:29:19 +01:00
Phil Howard 4ff30e8491 PicoVector: Update C++ examples. 2024-08-12 13:15:41 +01:00
Phil Howard 30e07031be PicoVector: Rewrite around new linked-lists poly. 2024-08-12 13:15:41 +01:00
Phil Howard 7ca54fa1f5 PicoVector: Use tile renderer for all pens. 2024-08-12 13:15:41 +01:00
Phil Howard df562bffa4 PicoVector: Support float types in MicroPython bindings. 2024-08-12 13:15:41 +01:00
Phil Howard f50d2e5b5e PicoVector: Remove malloc from MicroPython bindings. 2024-08-12 13:15:41 +01:00
Phil Howard 7869758b58 PicoGraphics: Add get_clip. 2024-08-12 13:15:41 +01:00
Phil Howard b9543270e1 PicoVector: Fix x16 anti-aliasing. 2024-08-12 13:15:41 +01:00
Phil Howard c0f9e08c84 PicoGraphics: Add RGB565 alpha blending support. 2024-08-12 13:15:41 +01:00
Phil Howard c084df6433 PicoVector: Remove alright_fonts.cpp from cmake. 2024-08-12 13:15:41 +01:00
Phil Howard aac61cb69f PicoVector: C++ basic bringup. 2024-08-12 13:15:41 +01:00
Phil Howard e567b48910 PicoVector: render text that doesn't end with a linebreak. 2024-08-12 13:15:41 +01:00
Phil Howard 2a86aa3d56 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-08-12 13:15:41 +01:00
Phil Howard 086e3c0ffa PicoVector: fix pointer arithmatic in af_load_font_file.
Pointers were being incremented as if they were bytes, rather than larger
containers.
2024-08-12 13:15:41 +01:00
Phil Howard 71aa70d877 TEST: PicoVector: Break things until they work. 2024-08-12 13:15:41 +01:00
Phil Howard 9f558c6296 TEST: PicoVector: alright-fonts bringup. 2024-08-12 13:15:41 +01:00
Phil Howard ddac27eac8 TEST: PicoVector: Swap rotate translation order. 2024-08-12 13:15:41 +01:00
Phil Howard e4901fd75b TEST: PicoVector: Vendor pretty-poly and tweak rotation. 2024-08-12 13:15:41 +01:00
Phil Howard e98b7e0adf PicoVector: Suppress errors.
Ignore sign compare and narrowing conversion errors in pretty-poly.h.
2024-08-12 13:15:41 +01:00
Phil Howard 5d46e80b27 PicoVector: Rewrite MicroPython bindings. 2024-08-12 13:15:41 +01:00
Phil Howard 5c2f9d722b PicoVector: Rewrite around new C pretty-poly.h. 2024-08-12 13:15:41 +01:00
Philip Howard c6384ce9d5
Merge pull request #980 from pimoroni/feature/sdk-2.0.0
CI: Bump Pico SDK to 2.0.0. 🎉
2024-08-12 13:02:32 +01:00
Phil Howard 0e45dcb908 PSRAM Display: Remove broken assert. 2024-08-08 17:07:58 +01:00
Phil Howard 705de7be3f mlx90640: Add hardware/clocks for set_sys_clock_khz. 2024-08-08 17:07:00 +01:00
Phil Howard 9088320a7d CI: Bump Pico SDK to 2.0.0. 2024-08-08 16:38:39 +01:00
Philip Howard 91cbf142a5
Merge pull request #979 from pimoroni/patch-pin-sdk-version
CI: Pin SDK version to 1.5.1.
2024-08-08 12:38:32 +01:00
Phil Howard 001626127c CI: Pin SDK version to 1.5.1.
This should have been done forever ago!
2024-08-05 09:56:17 +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 1135bd542b Pico Display 2.8 - remove text examples 2024-08-01 14:27:09 +01:00
Hel Gibbons a771aa9b25
Merge pull request #977 from pimoroni/helgibbons-patch-3
Picographics: Update README.md
2024-07-31 12:28:17 +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
Hel Gibbons 534c51bf55 Examples: fix typo in starfield.py 2024-07-16 14:08:58 +01:00
Hel Gibbons afd652bdab Examples: update for Pico Display 2.8" 2024-07-16 14:06:47 +01:00
Hel Gibbons 3315b4991c
Merge pull request #972 from pimoroni/helgibbons-patch-3
Docs: update GFX Pack readme
2024-07-15 16:49:33 +01:00
Hel Gibbons 5d4115152c
Docs: update GFX Pack readme 2024-07-15 16:39:37 +01:00
Hel Gibbons bb51ce5ad0
Merge pull request #969 from pimoroni/helgibbons-patch-3
docs: add link to readme
2024-07-04 15:48:15 +01:00
Hel Gibbons b11458ebca
docs: add link to readme 2024-07-04 15:19:30 +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
Philip Howard 9c79fbff61
Merge pull request #961 from pimoroni/patch-as7343-examples
AS7343 examples tidy
2024-07-03 16:44:24 +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
Hel Gibbons f587cd23c3 AS7343: make MicroPython pins consistent 2024-06-14 17:27:53 +01:00
Hel Gibbons 0868fa6dc3 AS7343: correct I2C pins 2024-06-14 17:17:42 +01:00
Hel Gibbons a8c2364fb0 AS7343: move C example to correct directory 2024-06-14 17:15:18 +01:00
Hel Gibbons 209c3d1c04 add basic AS7343 example 2024-06-14 15:29:14 +01:00
Hel Gibbons f18f1ba259
Merge pull request #960 from johnbintz/patch-1
Add SPI import to SD card upload example
2024-06-14 11:27:52 +01:00
John Bintz f495fb8b70
Add SPI import to SD card upload example
As the code exists now, you won't be able to mount the SD card due to the missing import.
2024-06-14 06:08:11 -04:00
thirdr 5ab626e983 RV3028: C/C++ Library docs 2024-06-11 16:12:35 +01:00
Philip Howard 7a2ebe5c0d
Merge pull request #952 from pimoroni/test/revert-1.23.0
TEST: Revert to v1.23.0.
2024-06-06 19:15:17 +01:00