Skip to content

Commit

Permalink
[lvgl][ci] add lvgl 8.3-latest check
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterywolf committed Oct 5, 2024
1 parent f28b84a commit b9c3bdf
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 4 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# scons: --strict

CONFIG_BSP_USING_LVGL=y
CONFIG_BSP_USING_LVGL_DEMO=y
CONFIG_PKG_LVGL_USING_LATEST=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# scons: --strict

CONFIG_BSP_USING_LVGL=y
CONFIG_BSP_USING_LVGL_DEMO=y
CONFIG_PKG_LVGL_USING_V8_3_LATEST=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# scons: --strict

CONFIG_BSP_USING_LVGL=y
CONFIG_BSP_USING_LVGL_DEMO=y
CONFIG_PKG_LVGL_USING_V080311=y
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# scons: --strict

CONFIG_BSP_USING_LVGL=y
CONFIG_BSP_USING_LVGL_DEMO=y
CONFIG_PKG_LVGL_USING_V8_4_LATEST=y
4 changes: 2 additions & 2 deletions bsp/stm32/stm32f407-rt-spark/board/ports/lvgl/lv_port_disp.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#define MY_DISP_VER_RES 240
#endif

#if (PKG_LVGL_VER_NUM >= 0x0803FF)
#if (PKG_LVGL_VER_NUM >= 0x090000)
#define LV_DISP_TYPE lv_display_t
#define lv_COLOR_TYPE uint8_t
#else
Expand Down Expand Up @@ -101,7 +101,7 @@ void lv_port_disp_init(void)
* Register the display in LVGL
*----------------------------------*/

#if (PKG_LVGL_VER_NUM >= 0x0803FF)
#if (PKG_LVGL_VER_NUM >= 0x090000)

lv_display_t *display = lv_display_create(MY_DISP_HOR_RES, MY_DISP_VER_RES);
lv_display_set_buffers(display, buf_1, NULL, sizeof(buf_1), LV_DISPLAY_RENDER_MODE_PARTIAL); /*Initialize the display buffer.*/
Expand Down

0 comments on commit b9c3bdf

Please sign in to comment.