-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display color format / bits per pixel do not have public defines (BSP-283) #145
Comments
@TTauriainenQt yes, these values are constant and specific to the display that is shipped with korvo-2 board. Do you need to change these values? |
We need these values for the drawing engine as we have to know the framebuffer format in which we are drawing into. Now we have to use hardcoded values in our code and it would be nice to get them directly from the BSP header. |
Actually instead of ESP_LCD_COLOR_SPACE_BGR we would need to know the endianess. In case of Korvo-2 (and ESP-BOX) the framebuffer format needs to be big endian as the display interface uses such format. |
Display color format / bits per pixel is not available from display.h or from esp-bsp.h ( via board specific header ).
In the BSP implementation these values are hardcoded.
Example from Korvo-2 BSP:
esp-bsp/esp32_s3_korvo_2/esp32_s3_korvo_2.c
Lines 235 to 236 in 160c0d6
The text was updated successfully, but these errors were encountered: