Wykres commitów

1533 Commity (main)

Autor SHA1 Wiadomość Data
Phil Howard be5315dab3 PicoVector: Support float types in MicroPython bindings. 2025-04-25 17:33:52 +01:00
Phil Howard ede2bad4f3 PicoVector: Remove malloc from MicroPython bindings. 2025-04-25 17:33:52 +01:00
Phil Howard d188afcb11 PicoGraphics: Add get_clip. 2025-04-25 17:33:52 +01:00
Phil Howard 568f329efc PicoVector: Remove alright_fonts.cpp from cmake. 2025-04-25 17:33:52 +01:00
Phil Howard 116df431fb PicoVector: Break things until they work. 2025-04-25 17:33:52 +01:00
Phil Howard 9c0e696230 PicoVector: alright-fonts bringup. 2025-04-25 17:33:52 +01:00
Phil Howard a7a98ae3aa PicoVector: Suppress errors.
Ignore sign compare and narrowing conversion errors in pretty-poly.h.
2025-04-25 17:33:52 +01:00
Phil Howard d19971d7e0 PicoVector: Rewrite MicroPython bindings. 2025-04-25 17:33:52 +01:00
Phil Howard 354c95ca61 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-04-25 17:33:52 +01:00
Philip Howard a3811b8330
Merge pull request #1075 from pimoroni/feature/python-linting-update
QA/CI: Update and apply Python and MicroPython linting rules.
2025-04-25 17:33:11 +01:00
Phil Howard c7461571ac QA: Lint MicroPython modules. 2025-04-25 17:02:02 +01:00
Phil Howard 42da5174bb QA: Lint MicroPython examples. 2025-04-25 17:01:41 +01:00
Phil Howard f5e830176b Plasma2040/Stick: Remove examples.
Examples and builds have moved here: https://github.com/pimoroni/plasma
2025-04-25 17:00:41 +01:00
Phil Howard d62d09356e Interstate75: Remove examples. 2025-04-25 16:59:05 +01:00
Phil Howard ae6aea3a09 Unicorn: Remove duplicate examples.
These have moved to https://github.com/pimoroni/unicorn.
2025-04-25 16:58:57 +01:00
Hel Gibbons f8548e4d34 Update BME68X and BME690 examples 2025-04-15 11:47:07 +01:00
Hel Gibbons 054fca0d79 compatibility changes for microdot 2.x 2025-03-10 15:15:14 +00:00
thirdr 53e5864101 compatibility changes for use with microdot 2.x 2025-03-03 09:40:42 +00:00
Phil Howard cfa3d1d90d SCD4X: Add calibration commands for #1056. 2025-02-21 10:29:38 +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
Isaac Webb 9883943dd0 Add pin mode definition to fix Button class on Pico 2 2024-12-26 17:08:15 -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
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
Philip Howard 1495805d2b
Merge pull request #947 from pimoroni/test/network-ppp
PPP-enabled Pico build.
2024-10-31 12:19:50 +00:00
Philip Howard fd4b2922e4
Merge pull request #957 from pimoroni/plasma-stick-brightness
add brightness control to default Plasma Stick W example
2024-10-31 12:13:53 +00:00
Philip Howard b8f4bd3f67
Merge pull request #966 from pimoroni/examples-fix-adc
Examples: Update ADC()
2024-10-31 12:13:24 +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
Phil Howard ef936ba907 RPI_PICO_PPP: Lint lte module. 2024-10-31 11:19:22 +00:00
Phil Howard a1be7a6327 RPI_PICO_PPP: Add lte module. 2024-10-31 11:19:22 +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 81455d129d RPI_PICO_PPP: Tweak flash/fw alloc to fit PPP support. 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
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
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
Tobias 6d6a1e2b7d Allow spritesheets for PenRGB565 2024-10-24 17:45:35 +02:00
Philip Howard 3b03a30963
Merge pull request #1008 from pimoroni/feature/sdk-2.0.0
More fixes for SDK 2.0.0
2024-10-24 12:10:06 +01:00
Hel Gibbons 8632d4983e
Plasma Stick 2040 W: add link 2024-10-21 12:47:00 +01: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
thirdr f1c361bb82 Pico Display 2.x: compatibility note 2024-09-27 09:52:01 +01:00
thirdr 61ca10eaca Pico Display 2.x: Fixed button function 2024-09-26 15:53:03 +01:00
Philip Howard 970046e84a
Merge pull request #982 from pimoroni/examples/menus
Pico Display 2.x: example menus
2024-08-18 12:41:43 +01:00
Phil Howard bb3f88fce1 Tinyweb: Python linting. 2024-08-13 09:41:02 +01:00
Phil Howard 65983ec6d8 Tinyweb: Sync with upstream.
Fixes #978.

Includes the following changes:

Adjust log.exc to log.exception
7669f03cdc
Logging module dropped support for exc. These adjustments use the exception method instead.

force lowercase headers and force uppercase method
b4393ac65a

add compatibility for micropython above 1.19.0
d067b98dfd
* uasyncio is renamed to asyncio
* directly use core from asyncio

Co-authored-by: Stephen Jefferson <stephen@sjefferson.co.uk>
Co-authored-by: eyJhb <eyjhb@eyjhb.dk>
Co-authored-by: Fabian Clemenz <fclemenz@outlook.com>
2024-08-13 09:34:02 +01:00
thirdr ad6fd1c2d8 Pico Display 2.x: example menus 2024-08-12 15:17:49 +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 34d8714398
Picographics: Update README.md
Text rotation now works with bitmap fonts :)
2024-07-30 14:32:04 +01:00
Lee Porte 4893df676f Add Garbage Collection to weather example
The existing weather example was resulting in `OSError: [Errno 12]
ENOMEM` when executing subsequent calls to the open-meteo API.
2024-07-24 20:19:26 +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 5d4115152c
Docs: update GFX Pack readme 2024-07-15 16:39:37 +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
Hel Gibbons b5d496bc90 Examples: Update ADC() 2024-07-02 12:45:29 +01:00
Hel Gibbons f587cd23c3 AS7343: make MicroPython pins consistent 2024-06-14 17:27:53 +01:00
Hel Gibbons 209c3d1c04 add basic AS7343 example 2024-06-14 15:29:14 +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 a7e48edff5 RV3028: MicroPython docs 2024-06-05 10:25:38 +01:00
Phil Howard 7d0bb04d6d Keybow2040: Basic-ish USB examples. 2024-06-04 19:55:24 +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
Phil Howard 7b7d9fe383 CI: Update MicroPython patch for > v1.22.2. 2024-06-04 19:55:24 +01:00
Phil Howard ccd00f6289 Ulab: Bump to 6.5.2 for MicroPython 1.23.0 compatibility. 2024-06-04 19:54:52 +01:00
Phil Howard 517f8ae1cd global: Remove the STATIC macro.
Reflect the changes proposed in micropython/micropython#13763.
2024-06-03 13:44:23 +01:00
Phil Howard 84cabe077d MicroPython: Switch QRCode to micropython/edge branch.
Includes fixes for:

* "mp_obj_malloc_with_finaliser" replacing "m_new_obj_with_finaliser"
* "STATIC" macro dropped in favour of "static"
2024-06-03 11:40:29 +01:00
Phil Howard 47e3aed88f MicroPython: Switch to mp_obj_malloc_with_finaliser. 2024-06-03 11:40:29 +01:00
Philip Howard bf6fa4bc45
Merge pull request #916 from pimoroni/examples/audio
i2s audio examples
2024-06-03 11:35:59 +01:00
Philip Howard 0b133c750e
Merge pull request #931 from pimoroni/driver/as7343
AS7343: New driver for the 14 channel spectrometer
2024-06-03 11:34:45 +01:00
Philip Howard 981a38b989
Merge pull request #928 from pimoroni/examples/pngdec
Examples/pngdec
2024-05-30 23:32:14 +01:00
thirdr a387e45098 linting fix 2024-05-30 13:32:48 +01:00
thirdr 452d700ba1 Improved XML parsing/bug fix from Pico Vision 2024-05-30 13:29:48 +01:00
Scott Dutton b3a0c4fb9d
Add link to png 2024-05-21 11:13:42 +01:00
thirdr f962c3cd3c linting 2024-05-13 12:27:23 +01:00
thirdr b5a040f6cc correct layout on pico display 1 & 2 2024-05-13 12:27:23 +01:00
thirdr d790d3d344 fixed background colour 2024-05-13 12:18:36 +01:00
thirdr ba7b8388bf fixed background colour 2024-05-13 12:18:36 +01:00
thirdr 829f688285 offset palette example 2024-05-13 12:18:36 +01:00
thirdr 8fb17a3c26 adjustment to scale and location 2024-05-13 12:18:36 +01:00
thirdr 4db7cc61ab png palette offset example 2024-05-13 12:18:36 +01:00
thirdr c510a3c875 Changed the png used 2024-05-13 12:18:36 +01:00
thirdr 425f132096 png decode example for tufty 2024-05-13 12:18:36 +01:00
thirdr 76683acb0d png decode example for display pack 2024-05-13 12:18:36 +01:00
thirdr 7c287192de Error handling 2024-05-13 12:18:36 +01:00
thirdr f15c657b44 pngdec example for inky 2024-05-13 12:18:36 +01:00
coadkins 37c4d22527
Add PNG File subsection to Pico Graphics documentation
I added a subsection for PNG File support in Pico Graphics by copying and adapting the text from these release notes - https://github.com/pimoroni/pimoroni-pico/releases/tag/v1.20.4 - about the PNGdec functionality.
2024-05-08 11:22:07 -04:00
thirdr 3998b0c8bf simple example for Pico Audio Pack 2024-04-22 15:35:53 +01:00
Connor Linfoot 32c10482d9
Add support for 96x48 display to Interstate75 (#867)
* Add DISPLAY_INTERSTATE75_96X48
2024-04-17 13:41:02 +01:00
Phil Howard 8bb17087d9 AS7343: Tufty 2040 spectrometer example. 2024-04-15 11:57:40 +01:00
Phil Howard 6fcbaf5616 AS7343: MicroPython bindings. 2024-04-15 11:53:34 +01:00