Skip to content

let LV_COLOR_FORMAT_RGB565_SWAPPED be a valid color format#768

Open
sandynomad wants to merge 1 commit into
espressif:masterfrom
sandynomad:rga_swap_patch
Open

let LV_COLOR_FORMAT_RGB565_SWAPPED be a valid color format#768
sandynomad wants to merge 1 commit into
espressif:masterfrom
sandynomad:rga_swap_patch

Conversation

@sandynomad
Copy link
Copy Markdown

@sandynomad sandynomad commented Apr 28, 2026

ESP-BSP Pull Request checklist

Note: For new BSPs create a PR with this link.

  • Version of modified component bumped
  • CI passing

Change description

Please describe your change here

In "esp_lvgl_port" the colorspace to be used is set in lvcl_port_display_cfg_t.

To change the endian of the color space with some ICs (ie: ST77916) it is necessary to enable swapping.

This patch permits LV_COLOR_FORMAT_RGB565_SWAPPED to be a valid color space (set in color_format).

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Greg Wickham seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@espzav
Copy link
Copy Markdown
Collaborator

espzav commented Apr 28, 2026

@sandynomad Thank you for this fix. Please solve pre-commit (https://docs.espressif.com/projects/esp-idf/en/latest/esp32/contribute/install-pre-commit-hook.html) and I will merge it.

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.

3 participants