Skip to content

feat: add lilygo t5 e-paper support#180

Merged
orhun merged 12 commits intoratatui:mainfrom
pyaillet:feat/add_lilygo_epd47
Mar 21, 2026
Merged

feat: add lilygo t5 e-paper support#180
orhun merged 12 commits intoratatui:mainfrom
pyaillet:feat/add_lilygo_epd47

Conversation

@pyaillet
Copy link
Copy Markdown
Contributor

Hi!

Thank you for making mousefood :)

Here is a PR to add support for lilygo T5 e-paper.
I am not sure about the color mapping part, for the rest I mainly followed what was done for other e-ink display.

I wanted to follow the PR template but was not able to find it.

IMG_20260311_210956

Copy link
Copy Markdown
Member

@orhun orhun left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the PR! I just added some comments.

Also, do you mind updating the top-level README.md about this?
It would be great to also tackle #170 (e.g. #171)

@orhun
Copy link
Copy Markdown
Member

orhun commented Mar 13, 2026

Btw have you tried rendering anything more impressive than a block and text on the screen? I'm just curious about how it might look and possible limitations.

@orhun
Copy link
Copy Markdown
Member

orhun commented Mar 13, 2026

We should also update CI for checking whether the example compiles :)

@pyaillet
Copy link
Copy Markdown
Contributor Author

pyaillet commented Mar 14, 2026

I gave a shot at adding the CI for the new example.

It's a bit tricky, because of the lilygo-epd47 driver being tied to the esp32s3 microcontroller.
Then compiling with all-features pulls the need to compile with the espressif fork rather than the default toolchain which does not know about xtensa.

I will try to figure a way to solve this, but any idea is welcome :)

@pyaillet
Copy link
Copy Markdown
Contributor Author

In fact, I realize it's even worst than what I thought, it's not the example compilation that fails but the whole project build with all-features.
I need to find a way to fix this.

@pyaillet
Copy link
Copy Markdown
Contributor Author

I reworked the dependencies to make it work.

@orhun orhun requested review from j-g00da and orhun March 19, 2026 20:41
@orhun orhun force-pushed the feat/add_lilygo_epd47 branch from 9e534e3 to dffecee Compare March 20, 2026 18:28
Copy link
Copy Markdown
Member

@orhun orhun left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@orhun orhun merged commit 34905a6 into ratatui:main Mar 21, 2026
28 checks passed
@github-actions github-actions bot mentioned this pull request Mar 20, 2026
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.

2 participants