Repository navigation
feat(panel): add 160×50 screen profile + ESP32‑S3 embedded‑graphics demo - #2
Merged
Merged
Conversation
…ndscape rendering\n\n- Keep init sequence 1:1 with vendor sample (RST timing, all registers, MADCTL=0x00, 2A/2B, 0x11/0x29/0x2C)\n- Render with logical 160x50 using robust rotation mapping (Landscape)\n- Apply column offset X_OFFSET=15 to match 0x2A start 0x000F\n- Remove debug logs and calibration corner markers for a clean demo\n\nNo changes outside examples directory.
- esp32s3: rename to examples/esp32s3-160-50-direct-spi; update package/bin names - stm32g4: rename to 160×40 variants: * examples/stm32g4-160-40 * examples/stm32g4-160-40-embedded-graphics * examples/stm32g4-160-40-direct-spi * examples/stm32g4-160-40-90-complex-patterns * examples/stm32g4-160-40-direct-spi-90-complex-patterns - update all README paths and notes to reflect new names - update scripts/build-all.sh and CI workflow matrices - fix cross-references (esp32s3 readme -> stm32g4-160-40-direct-spi) Note: changes are limited to examples/ + docs/workflows references.
… example - Introduce feature flag panel_160x50 to select narrow 50x160 panel init (MADCTL=0x00, X offset=15) - Align init/GIP/Gamma/VREG/SOU with direct-SPI vendor script - Fix address windowing: physical (50x160) and dx/dy applied in init and flush - Add example examples/esp32s3-160-50-embedded-graphics with ESP-IDF app descriptor and full demo set - Provide minimal SpiDevice adapter and avoid embassy time-queue conflict BREAKING CHANGE: default Config now 160x40; FRAME_BUF_SIZE/MAX_FRAME_PIXELS updated
…or esp32s3-160-50-embedded-graphics\n- Rewrite direct-SPI README to English and cross-reference demos\n- Update root README with panel_160x50, offsets, ESP32-S3 examples, and migration notes
IvanLi-CN
force-pushed
the
feat/panel-160x50-adaptation
branch
from
September 26, 2025 16:37
157341f to
129a072
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support and a complete demo for the new 160×50 GC9D01 panel variant.
What’s included
panel_160x50selecting the narrow 50×160 panel initflush()Configupdated to 160×40 logical (breaking for old FRAME_* constants)examples/esp32s3-160-50-embedded-graphicsesp_app_descfor espflashWhy
examples/esp32s3-160-50-direct-spi, fixing right-edge blanking and orientation/offset inconsistencies on the 160×50 module.Notes
SpiDeviceadapter to avoid embassy time-queue linking conflicts.BREAKING CHANGE
Config::frame_bytes()orframe_pixels()instead.