-
Notifications
You must be signed in to change notification settings - Fork 109
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
LVGL v9 example for ESP32_S3_LCD_EV_BOARD (BSP-474) #309
Comments
I've just discovered the |
Hi @kisvegabor, we have prepared all boards to LVGL9 except ESP32_S3_LCD_EV_BOARD. This board is not supported in |
Oh, what an unlucky coincidence. 🙁 |
I would like add it into plan to next quarter (Q2). We still don't support LVGL9 in default, we are waiting for some changes for platforms, if we enable LVGL9 now, we will break all examples. We want to handle lot of things inside LVGL port instead of in example |
A big distributor company (I'm not sure if I can mention the name here) asked me to prepare a demo with that board for Embedded World hence Q2 is too late for this case. Anyway, I think we only need to change the LVGL API calls, so we can update the project locally. |
@kisvegabor Which controller does it use? I just completed a sample using the latest |
How can I check it? I don't have the board with me now. Maybe I can just read the part number from an IC? 🙂 |
The Espressif page for the board talks about different displays. So, I am guessing you can interchange displays for use. So you need to check with your customer/vendor. |
This board has RGB connection between chip and LCD (there is no controller for data). This is the reason, why it is not inside ESP LVGL port yet. It is more complicated than classic LCD controller. |
I have the 800x480 board. We will take look next week. |
@espzav @kisvegabor , I have uploaded ESP32_S3_LCD_EV_BOARD's support for the latest esp_lvgl_port V9 in this branch. |
Thank you @espressif2022! I've tried it, but got this error:
Am I missing something? |
Hello, did you compile it in the example directory of esp-bsp? |
I cloned your repo again to have a clean start and now it compiles butuses v8.3.11. I've changed this line to |
I'm sorry, some new commits was submitted last night. The version dependency is determined by the board now, here. @espzav ,hello, I have a time difference here, so I can't reply in time. Can you help me confirm it? |
Has the |
Ah, shame on me. I forgot the delete the Now compiles with v9. Thank you! Today evening I'll try using my LVGL fork and compile it with some Lottie animations. |
I'm getting closer. Compiled and flushed, but the initialization fails on an assert: [08:48:19:491] <0x1b>[0;32mI (871) LVGL: Starting LVGL task<0x1b>[0m␍␊
[08:48:19:499] <0x1b>[0;32mI (874) bsp_probe: Detect sub_board3 with 800x480 LCD (ST7262), Touch (GT1151)<0x1b>[0m␍␊
[08:48:19:504] <0x1b>[0;32mI (882) bsp_sub_board: Initialize RGB panel<0x1b>[0m␍␊
[08:48:19:537] ␍␊
[08:48:19:537] assert failed: lvgl_port_add_disp esp_lvgl_port_disp.c:77 (disp_cfg->io_handle != NULL)␍␊ So the |
I test it with Board3 does not require SPI initialization commands, so the handle of IO_handel here is empty. |
I've just commented out the assert and now it works. There is a compiler bug which prevents from building Lottie too, however the new demo is already working. |
I'm about to add a 800x480 (16 bit) wallpaper, but it overflows the app partion. What is the recommended way to workaround it (if possible)? I know that I can create a CSV, but I'm not sure if this the best way. |
The recommended way is use own partition CSV. For example like here: https://github.com/espzav/Simple-LVGL-Player/blob/master/partitions.csv |
Thank you, it worked!
|
If you have bigger flash, you can change it in menuconfig to |
Our examples support LVGL v9 by default now! |
Hi,
I'm preparing an LVGL demo ESP32_S3_LCD_EV_BOARD for Embedded World. I wonder if there is a ready to use LVGL v9 based example project for this board.
Just to share my excitement, the demo contains some Lottie animations too, and I'm very curious how they run the this board. 😁
The text was updated successfully, but these errors were encountered: