terry0012 commented on PR #3253:
URL: https://github.com/apache/nuttx-apps/pull/3253#issuecomment-3696570490

   > @xiaoxiang781216 , it is important to let the community know that only 
version 9.4 of LVGL will be usable. Perhaps someone in the community will be 
able to devote some time to developing a multi-version solution for LVGL.
   > 
   > there is an error
   > 
   > ```
   > 
====================================================================================
   > Configuration/Tool: lckfb-szpi-esp32s3/lvgl
   > 2025-12-17 10:12:51
   > 
------------------------------------------------------------------------------------
   >   Cleaning...
   >   Configuring...
   >   Building NuttX...
   > In file included from 
/github/workspace/sources/apps/graphics/lvgl/lvgl/src/drivers/lv_drivers.h:32,
   >                  from 
/github/workspace/sources/apps/graphics/lvgl/lvgl/lvgl.h:134,
   >                  from lvgldemo.c:31:
   > Error: 
/github/workspace/sources/apps/graphics/lvgl/lvgl/src/drivers/display/st7789/lv_st7789.h:31:9:
 error: unknown type name 'lv_lcd_send_cmd_cb_t'
   >    31 | typedef lv_lcd_send_cmd_cb_t lv_st7789_send_cmd_cb_t;
   >       |         ^~~~~~~~~~~~~~~~~~~~
   > Error: 
/github/workspace/sources/apps/graphics/lvgl/lvgl/src/drivers/display/st7789/lv_st7789.h:32:9:
 error: unknown type name 'lv_lcd_send_color_cb_t'
   >    32 | typedef lv_lcd_send_color_cb_t lv_st7789_send_color_cb_t;
   >       |         ^~~~~~~~~~~~~~~~~~~~~~
   > Error: 
/github/workspace/sources/apps/graphics/lvgl/lvgl/src/drivers/display/st7789/lv_st7789.h:47:69:
 error: unknown type name 'lv_lcd_flag_t'; did you mean 'lv_obj_flag_t'?
   >    47 | lv_display_t * lv_st7789_create(uint32_t hor_res, uint32_t 
ver_res, lv_lcd_flag_t flags,
   >       |                                                                    
 ^~~~~~~~~~~~~
   >       |                                                                    
 lv_obj_flag_t
   > ```
   
   @cederom @simbit18 
   In lvgl v9.4.0 and master branch, the config LV_USE_GENERIC_MIPI is changed 
to depends on Kconfig, but not lvgl internal config 
(https://github.com/lvgl/lvgl/blob/e9db313f8ccc07e27f6afd0f34fe3cf6f20596f0/src/lv_conf_internal.h#L4336C1-L4356C7)
   
   In lvgl v9.2.0, LV_USE_GENERIC_MIPI is auto selected by lv internal config 
as 
https://github.com/lvgl/lvgl/blob/6757a718a88af58591c90f5ab33ca2770606c314/src/lv_conf_internal.h#L3455-L3461
   
   we need to change the Kconfig to auto select LV_USE_GENERIC_MIPI is ST7789 
enabled.
   I'll fix the bug in Kconfig and upstream to LVGL community.
   CC @xiaoxiang781216 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to