Phil Howard
2baa25acc7
VL53L8CX: MicroPython bindings.
2024-04-16 15:28:36 +01:00
Phil Howard
2274a09cd1
VL52L8CX: C++ bindings for manufacturer driver.
2024-04-16 15:18:38 +01:00
Phil Howard
bf99ae4863
TEST: Bump VL52L5CX driver from 1.3.0 to 1.3.11.
2024-04-12 17:59:16 +01:00
Phil Howard
9aaed0af03
CI: TEST: Add 1023/1024 split Pico build.
2024-04-12 14:07:41 +01:00
Phil Howard
d2dd69842d
TEST: Enable ulab for generic Pico and W builds.
2024-04-11 17:34:46 +01:00
Phil Howard
d3691b625b
CI: Enable ulab for Tiny 2040 8MB.
...
This build has plenty of room for fancy extras.
Replaces #570
2024-04-11 17:08:55 +01:00
Phil Howard
15c170e160
CI: Add linker script for tiny2040_8mb build.
2024-04-11 17:08:55 +01:00
Phil Howard
3b1c8a958a
CI: Attempt to catch flash overflow.
...
Using a custom patch against MicroPython's CMakeLists.txt this will
optionally use a memmap_mp.ld file from the *board* directory and
allow us to check if the allocated app flash overflows.
Linker scripts need configured on a per board basis.
2024-04-11 17:08:55 +01:00
Phil Howard
b9cdcf1e93
CI: Print memory usage.
...
Add a patch for CMakeLists.txt which adds -Wl,--print-memory-usage so
we can get at least some useful information about which builds are
running close to the limits.
2024-04-11 17:08:55 +01:00
Philip Howard
fd4eb165f8
Merge pull request #930 from pimoroni/patch-misc-ci-fixes
...
Slightly less frustrating MicroPython builds.
2024-04-11 17:08:44 +01:00
Phil Howard
8fc8a8ee06
CI: Rename tiny2040 to tiny2040_8mb.
...
It was not super obvious that this build is specific to the 8mb
version of Tiny 2040.
2024-04-11 17:01:21 +01:00
Phil Howard
3bfb548686
CI: Continue other MicroPython builds if one fails.
...
In almost all cases it's more useful to know if a given build
is likely to succeed rather than have *everything* fail. This
change adjusts the workflow to allow other builds to continue
if one fails.
2024-04-11 17:01:09 +01:00
Philip Howard
9edcdcc126
Merge pull request #919 from pimoroni/patch-pngdec-palette-offset
...
PNGdec: Add support for palette offsets and greyscale copy mode
2024-04-11 16:32:08 +01:00
Philip Howard
e8e550b18b
Merge pull request #929 from pimoroni/patch/wordclock
...
Fixed arg order bug
2024-04-11 14:57:07 +01:00
thirdr
cdb7b4bf2c
fixed arg order bug
2024-04-11 14:02:26 +01:00
Philip Howard
4fc3095433
Merge pull request #925 from pimoroni/patch-actions-nodejs
...
CI: Update actions to fix nodejs deprecation warnings.
2024-04-08 12:58:00 +01:00
Phil Howard
9c5b529754
CI: Update actions to fix nodejs deprecation warnings.
2024-04-08 12:47:14 +01:00
ZodiusInfuser
a87d5581aa
Merge pull request #923 from pimoroni/patch/inventor_encoders
...
Added example for reading speeds from Inventor 2040W's encoders
2024-04-03 14:57:41 +01:00
ZodiusInfuser
44d7875f7e
Relocated example and updated readme
2024-04-03 14:37:26 +01:00
ZodiusInfuser
a90c31fb3b
More explanation of encoder capture
2024-04-03 14:29:17 +01:00
ZodiusInfuser
458b0ac209
Added a speed reading example for inventor
2024-04-03 14:29:01 +01:00
Phil Howard
a537672dd4
PNGdec: Don't convert greys if mode=COPY.
2024-03-28 15:35:05 +00:00
Phil Howard
d34e692f51
PNGdec: Don't add palette_offset twice.
2024-03-28 15:30:32 +00:00
Phil Howard
27b913124c
PNGdec: Add copy support and offset to greyscale.
2024-03-28 15:04:06 +00:00
Phil Howard
c7b788cd1d
PNGdec: Add palette offset arg.
...
Allow index colour PNGs to be copied with a palette offset.
EG: a 4bit PNG could be offset 16 times for as many colour variations.
2024-03-28 15:04:02 +00:00
Philip Howard
c386b3e9cf
Merge pull request #910 from pimoroni/patch-readme-stubs
...
README.md: Add link to pimoroni-pico-stubs.
2024-03-28 10:17:02 +00:00
Philip Howard
a7a2e2bee0
Merge pull request #918 from pimoroni/patch-pngdec-1bit
...
PNGdec: Add greyscale support.
2024-03-27 12:59:25 +00:00
Phil Howard
19fa8864cf
PNGdec: Add greyscale support.
...
Add an optional MODE_PEN to draw the PNG in the current pen colour.
Best used with, but not limited to, 1bit PNG images.
2024-03-27 12:49:09 +00:00
Phil Howard
eab1595352
README.md: Add link to pimoroni-pico-stubs.
2024-03-11 15:04:18 +00:00
Philip Howard
6eb0f90e53
Merge pull request #904 from pimoroni/ci/micropython-1.22.2
...
CI: Bump MicroPython to v1.22.2.
2024-03-06 10:29:16 +00:00
Phil Howard
b0d53dadb3
Hub75: avoid clobbering shared IRQ handlers.
...
MicroPython's DMA class uses shared IRQ handlers, which would be
clobbered by Hub75's use of an exclusive handler.
Additionally clean up some dead code (DMA_IRQ_1??), more epxlicitly
clean up the claimed PIOs and programs, and do not use a fixed
DMA channel. This seems to have fixed a bug whereupon Hub75 would
hardlock on the 5th soft reset.
2024-03-05 10:30:48 +00:00
Phil Howard
ad518064e9
CI: Bump MicroPython to v1.22.2.
2024-02-27 16:43:47 +00:00
Philip Howard
d83107474e
Merge pull request #907 from pimoroni/patch-pngdec-1bit
...
Fixes for PNGDEC on Badger 2040 / Badger 2040 W
2024-02-27 16:42:12 +00:00
Phil Howard
c4f70df1cf
Pen1BitY: Correct RGB to dither lookup conversion.
2024-02-27 13:54:25 +00:00
Phil Howard
10221066dd
PNGDEC: Support for 1bpp.
2024-02-27 13:31:52 +00:00
Philip Howard
ab64fcaccc
Merge pull request #899 from pimoroni/jpegdec/width_height_fix
...
JPEGDEC: Backport width/height changes from pngdec.
2024-02-27 12:21:17 +00:00
Hel Gibbons
32c63c343d
Merge pull request #905 from pimoroni/helgibbons-patch-3
...
Plasma Stick: add link
2024-02-26 14:24:49 +00:00
Hel Gibbons
8d964bce2c
Plasma Stick: add link
2024-02-26 14:08:56 +00:00
ZodiusInfuser
8ca47d6405
Merge pull request #890 from robberwick/motor2040_i2c_pins
...
Add I2C pin definitions to motor2040 and servo2040 headers
2024-02-13 12:00:05 +00:00
Skyler Mansfield
b23a71b889
JPEGDEC: Backport width/height changes from pngdec.
...
Open JPEG file or stream to read width/height before decode.
2024-01-23 16:18:13 +00:00
Philip Howard
6b23c1526d
Merge pull request #898 from pimoroni/patch-tufty2040-567
...
st7789: Remove mystery meat command implicated by #567 .
2024-01-23 15:09:49 +00:00
Phil Howard
c19b2276f1
st7789: Remove mystery meat command implicated by #567 .
...
This should, in theory, fix the weird display corruption bug affecting Tufty 2040.
2024-01-23 13:14:12 +00:00
Philip Howard
392d75b00d
Merge pull request #878 from pimoroni/ci/tooling
...
CI: Move some workflow steps into ci/micropython.sh
2024-01-19 10:32:20 +00:00
Philip Howard
911cbb710e
Merge pull request #877 from pacohope/tz-adjust
...
add adjustment for time zone offset
2024-01-16 14:35:16 +00:00
Philip Howard
4e3e2c836d
Merge pull request #876 from pimoroni/docs/picoscroll
...
update picoscroll docs
2024-01-16 14:27:06 +00:00
Philip Howard
5bd5334379
Merge pull request #813 from andrewjw/andrewjw-patch-1
...
fix: Only set time if the wlan is connected
2024-01-16 14:18:37 +00:00
Philip Howard
9ddbb17a82
Merge pull request #860 from pimoroni/patch-bye-bye-badger
...
Badger2040/2040W: Remove old/incompatible examples.
2024-01-16 14:17:08 +00:00
Phil Howard
5126263f91
Badger2038/2040W: Remove old/incompatible examples.
...
Badger now lives at: https://github.com/pimoroni/badger2040
2024-01-16 14:01:34 +00:00
Philip Howard
0d3fce9b9d
Merge pull request #883 from raybellis/main
...
fix hue errors in plasma_stick_rainbows
2024-01-16 11:32:43 +00:00
Rob Berwick
9e6a0725c0
add `I2C_*` definitions to `servo2040.hpp`
...
Add pin definitions for `I2C_INT`, `I2C_SDA`, and `I2C_SCL` to `servo2040.hpp`
2024-01-08 13:08:44 +00:00