Skip to content

Support display primitives on the Raspberry Pi Pico#373

Open
MaartenS11 wants to merge 3 commits into
mainfrom
feat/dt-pico-display
Open

Support display primitives on the Raspberry Pi Pico#373
MaartenS11 wants to merge 3 commits into
mainfrom
feat/dt-pico-display

Conversation

@MaartenS11
Copy link
Copy Markdown
Member

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.

@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.

Displays can now be connected using spi0 and use the existing display primitives to draw rectangles and text.
@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.

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