[lvgl][ci] add lvgl 8.3-latest check
This commit is contained in:
parent
f28b84aa1f
commit
b9c3bdf7eb
|
@ -1,2 +0,0 @@
|
||||||
CONFIG_BSP_USING_LVGL=y
|
|
||||||
CONFIG_PKG_LVGL_USING_LATEST_VERSION=y
|
|
|
@ -1,2 +1,5 @@
|
||||||
|
# scons: --strict
|
||||||
|
|
||||||
CONFIG_BSP_USING_LVGL=y
|
CONFIG_BSP_USING_LVGL=y
|
||||||
CONFIG_BSP_USING_LVGL_DEMO=y
|
CONFIG_BSP_USING_LVGL_DEMO=y
|
||||||
|
CONFIG_PKG_LVGL_USING_LATEST=y
|
|
@ -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
|
|
@ -0,0 +1,5 @@
|
||||||
|
# scons: --strict
|
||||||
|
|
||||||
|
CONFIG_BSP_USING_LVGL=y
|
||||||
|
CONFIG_BSP_USING_LVGL_DEMO=y
|
||||||
|
CONFIG_PKG_LVGL_USING_V080311=y
|
|
@ -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
|
|
@ -26,7 +26,7 @@
|
||||||
#define MY_DISP_VER_RES 240
|
#define MY_DISP_VER_RES 240
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (PKG_LVGL_VER_NUM >= 0x0803FF)
|
#if (PKG_LVGL_VER_NUM >= 0x090000)
|
||||||
#define LV_DISP_TYPE lv_display_t
|
#define LV_DISP_TYPE lv_display_t
|
||||||
#define lv_COLOR_TYPE uint8_t
|
#define lv_COLOR_TYPE uint8_t
|
||||||
#else
|
#else
|
||||||
|
@ -101,7 +101,7 @@ void lv_port_disp_init(void)
|
||||||
* Register the display in LVGL
|
* 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_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.*/
|
lv_display_set_buffers(display, buf_1, NULL, sizeof(buf_1), LV_DISPLAY_RENDER_MODE_PARTIAL); /*Initialize the display buffer.*/
|
||||||
|
|
Loading…
Reference in New Issue