LV_LINUX_FBDEV_BUFFER_SIZE 1080 LV_USE_LINUX_DRM 0 LV_USE_SDL 0 LV_USE_WAYLAND 0 LV_USE_EVDEV 1 LV_USE_DEMO_WIDGETS 1 LV_USE_DEMO_KEYPAD_AND_ENCODER 1 @@ -62,4 +86,5 @@ LV_USE_DEMO_FLEX_LAYOUT 1 LV_USE_DEMO_MUL
#define LV_LINUX_FBDEV_BUFFER_COUNT 1 #define LV_LINUX_FBDEV_BUFFER_SIZE 60 #endif /*Use Nuttx to open window and handle touchscreen*/ #define LV_USE_NUTTX 0 #if LV_USE_NUTTX #define LV_USE_NUTTX_LIBUV 0 /*Use Nuttx custom init API to open window and handle touchscr...
(); /*Linux frame buffer device init*/ fbdev_init(); /*A small buffer for LittlevGL to draw the screen's content*/ static lv_color_t buf[DISP_BUF_SIZE]; /*Initialize a descriptor for the buffer*/ static lv_disp_draw_buf_t disp_buf; lv_disp_draw_buf_init(&disp_buf, buf, ...
#define LV_LINUX_FBDEV_RENDER_MODE LV_DISPLAY_RENDER_MODE_PARTIAL #define LV_LINUX_FBDEV_BUFFER_COUNT 0 #define LV_LINUX_FBDEV_BUFFER_SIZE 60 #endif /*Use Nuttx to open window and handle touchscreen*/ #define LV_USE_NUTTX 0 #if LV_USE_NUTTX #define LV_USE_NUTTX_LIBUV ...
int main(void) { /*LittlevGL init*/ lv_init(); /*Linux frame buffer device init*/ fbdev_init(); /*A small buffer for LittlevGL to draw the screen's content*/ static lv_color_t buf[DISP_BUF_SIZE]; /*Initialize a descriptor for the buffer*/ static lv_disp_buf_t disp_buf; lv_...
119 + /*The target buffer size for simple layer chunks.*/ 120 + #define LV_DRAW_LAYER_SIMPLE_BUF_SIZE (24 * 1024) /*[bytes]*/ 121 + 122 + /* The stack size of the drawing thread. 123 + * NOTE: If FreeType or ThorVG is enabled, it is recommended to set it to 32KB or...
#define LV_LINUX_FBDEV_BUFFER_SIZE 60 #endif /*Use Nuttx to open window and handle touchscreen*/ #define LV_USE_NUTTX 0 #if LV_USE_NUTTX #define LV_USE_NUTTX_LIBUV 0 /*Use Nuttx custom init API to open window and handle touchscreen*/ #define LV_USE_NUTTX_CUSTOM_INI...
Linux frame buffer device (dev/fbx) *---*/ #ifndef USE_ # define USE_FBDEV 1 #endif #ifUSE_FBDEV # define FBDEV_PATH "/dev/fb0" #endif /*--- * FreeBSD framebuffer device (/dev/fbx) *...*/ #ifndef USEBSD_FBDEV # define USE_BSD_FBDEV 0 #endif #if USE_...
#define LV_LINUX_FBDEV_BUFFER_SIZE 60 #define LV_LINUX_FBDEV_MMAP 1 #endif /** Use Nuttx to open window and handle touchscreen */ #define LV_USE_NUTTX 0 #if LV_USE_NUTTX #define LV_USE_NUTTX_INDEPENDENT_IMAGE_HEAP 0 /** Use independent image heap for default draw bu...
#define LV_LINUX_FBDEV_BUFFER_SIZE 60 #endif /*Use Nuttx to open window and handle touchscreen*/ #define LV_USE_NUTTX 0 #if LV_USE_NUTTX #define LV_USE_NUTTX_LIBUV 0 /*Use Nuttx custom init API to open window and handle touchscreen*/ #define LV_USE_NUTTX_CUSTOM_INI...