Skip to content

Conversation

@leandrolanzieri
Copy link
Contributor

Contribution description

This enables using monochrome displays via the Display Device Generic API and the u8g2 package.

I've tested this on two displays with the 1306 driver. In the examples below there's a random counter that updates a label and a line plot on the left.

I2C

i2c.webm

SPI

(ignore PCB marking, connection is a 4-wire SPI :)

spi.webm

Testing procedure

The test application tests/pkg/lvgl should work after adapting it to the correct resolution.

Issues/PRs references

Depends on #21725

@leandrolanzieri leandrolanzieri added the Type: new feature The issue requests / The PR implemements a new feature for RIOT label Sep 17, 2025
@github-actions github-actions bot added Area: pkg Area: External package ports Area: sys Area: System labels Sep 17, 2025
@crasbe crasbe added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR State: waiting for other PR State: The PR requires another PR to be merged first labels Sep 17, 2025
@riot-ci
Copy link

riot-ci commented Sep 17, 2025

Murdock results

✔️ PASSED

1dae523 pkg/lvgl: allow monochrome displays

Success Failures Total Runtime
10516 0 10516 14m:49s

Artifacts

Copy link
Contributor

@crasbe crasbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, only style related.

@leandrolanzieri
Copy link
Contributor Author

Fixed!

@leandrolanzieri leandrolanzieri added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR and removed CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Sep 18, 2025
@crasbe
Copy link
Contributor

crasbe commented Sep 18, 2025

You can just restart a CI run without resetting and setting the tags in Github:
image
or
image

@leandrolanzieri
Copy link
Contributor Author

You can just restart a CI run without resetting and setting the tags in Github:

I never noticed that, because it's only available when logged in :)

@crasbe crasbe removed the State: waiting for other PR State: The PR requires another PR to be merged first label Sep 22, 2025
Copy link
Contributor

@crasbe crasbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please squash :)

@crasbe crasbe enabled auto-merge September 22, 2025 11:31
@crasbe crasbe added this pull request to the merge queue Sep 22, 2025
Merged via the queue into RIOT-OS:master with commit db7a67b Sep 22, 2025
25 checks passed
@leandrolanzieri
Copy link
Contributor Author

Thanks for the review!

@leandrolanzieri leandrolanzieri deleted the pr/lvgl_monochrome branch September 23, 2025 08:20
@mguetschow
Copy link
Contributor

This is great, thanks a lot @leandrolanzieri ! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: pkg Area: External package ports Area: sys Area: System CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: new feature The issue requests / The PR implemements a new feature for RIOT

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants