Skip to content

Add support for LilyGo T5 4.7" E-Paper S3 Pro#332

Open
jetsharklambo wants to merge 2 commits intousetrmnl:mainfrom
jetsharklambo:add-lilygo-t5s3-support
Open

Add support for LilyGo T5 4.7" E-Paper S3 Pro#332
jetsharklambo wants to merge 2 commits intousetrmnl:mainfrom
jetsharklambo:add-lilygo-t5s3-support

Conversation

@jetsharklambo
Copy link
Copy Markdown

Summary

This PR adds support for the LilyGo T5 4.7" E-Paper S3 Pro board in TRMNL firmware.

The changes are limited to board definition, build configuration, board-specific config, and LilyGo-specific display initialization.

Changes

  • Add boards/lilygo_t5s3_pro.json
  • Add lilygo_t5s3_pro environment in platformio.ini
  • Add LilyGo board defines in include/config.h
  • Add LilyGo pin configuration in src/DEV_Config.h
  • Add LilyGo-specific display init path in src/display.cpp
  • Update FastEPD dependency to the commit required for T5S3 Pro panel support ( Issue #29 can go back to main branch after next release)

Notes

  • LilyGo-specific display code is isolated behind #ifdef BOARD_LILYGO_T5S3_PRO
  • No SPIFFS/filesystem changes are included
  • No unrelated boot/logo/debug/editor changes are included

Testing

Tested on LilyGo T5S3 Pro:

  • Boot succeeds
  • Wi‑Fi provisioning succeeds
  • Device recovers and completes image download/render after provisioning
  • Subsequent image download/render works
  • Sleep/wake works

Hardware

  • ESP32-S3
  • 16MB flash
  • 8MB PSRAM
  • 960x540 4.7" e-paper display

Max and others added 2 commits April 13, 2026 12:58
Use getBuffer() for bb_epaper builds and currentBuffer() for FastEPD builds.

Also gate LilyGo-specific buffer diagnostics behind BOARD_LILYGO_T5S3_PRO so
the default trmnl target compiles cleanly in CI.
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