Skip to content

Support display primitives on the Raspberry Pi Pico#373

Merged
MaartenS11 merged 5 commits into
mainfrom
feat/dt-pico-display
May 22, 2026
Merged

Support display primitives on the Raspberry Pi Pico#373
MaartenS11 merged 5 commits into
mainfrom
feat/dt-pico-display

Conversation

@MaartenS11
Copy link
Copy Markdown
Member

@MaartenS11 MaartenS11 commented May 20, 2026

Displays can now be connected on spi0 and use the existing display primitives to draw rectangles and text.

This PR only adds device tree data so that Zephyr knows where to find the display when running on a Raspberry Pi Pico.

Also adds dummy primitives to the emulator for the display primitives added in a previous PR.

@MaartenS11
Copy link
Copy Markdown
Member Author

MaartenS11 commented May 20, 2026

Seems like Zephyr has changed the return type of one of the functions from int to void. zephyrproject-rtos/zephyr@0dcf6a3

I think we might want to pin the Zephyr version in the CI because now it's just using the most recent version at all times which is good in some way, but requires us to adjust for every single change on the main branch of the Zephyr repo. But maybe we'll just let it be for now, and we'll see how many breaking changes are made over time.

Fixed in #375, this way Zephyr 4.5 won't break WARDuino when it releases.

@MaartenS11 MaartenS11 force-pushed the feat/dt-pico-display branch from 9c0a8b3 to e7eb69a Compare May 20, 2026 09:43
@MaartenS11
Copy link
Copy Markdown
Member Author

I also noticed that the emulator does not have dummy display primitives. I have also added these here.

@MaartenS11 MaartenS11 force-pushed the feat/dt-pico-display branch from e8513a7 to 1afe6ea Compare May 21, 2026 09:54
@MaartenS11 MaartenS11 merged commit 418d962 into main May 22, 2026
19 checks passed
@MaartenS11 MaartenS11 deleted the feat/dt-pico-display branch May 22, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant