Expand Up@@ -124,8 +124,8 @@ typedef struct _lv_global_t { uint32_tlog_last_log_time; #endif #ifLV_USE_THEME_BASIC struct_my_theme_t*theme_basic; #ifLV_USE_THEME_SIMPLE struct_my_theme_t*theme_simple; #endif #ifLV_USE_THEME_DEFAULT ...
*---*//*A simple, impressive and very complete theme*/#defineLV_USE_THEME_DEFAULT 1#ifLV_USE_THEME_DEFAULT// 该值配置为1设置为深色模式,背景色默认为黑色。// 该值为0时设置为浅色模式,背景色默认为白色/*0: Light mode; 1: Dark mode*/#defineLV_THEME_DEFAULT_DARK 1/*1: Enable grow on...
cp -f 302_lvgl/examples/porting/lv_port_disp_template.h 302_lvgl/lv_port_disp.h 1. 2. 3. 4. 复制 1.3.拷贝配置文件 复制vendor/openvalley/niobeu4/demo/302_lvgl/lv_conf_template.h为vendor/openvalley/niobeu4/demo/302_lvgl//lv_conf.h 参考指令: cd vendor/openvalley/niobeu4/demo/ cp ...
lv_disp_drv_t disp_drv;/*Descriptor of a display driver*/lv_disp_drv_init(&disp_drv);/*Basic initialization*/disp_drv.flush_cb= my_disp_flush;/*Set your driver function*/disp_drv.buffer= &disp_buf;/*Assign the buffer to the display*/lv_disp_drv_register(&disp_drv);/*Finally reg...
(TIMER1_IRQn,0,2);登录后复制timer_enable(TIMER1);登录后复制}登录后复制voidTIMER1_IRQHandler()登录后复制{登录后复制IF (timer_interrupt_flag_get(TIMER1, TIMER_INT_UP) != RESET)登录后复制{登录后复制lv_tick_inc(1);//lvgl的1ms心跳登录后复制timer_interrupt_flag_clear(TIMER1, TIMER_INT_UP...
*You can use DMA or any hardware acceleration to do this operation in the background but 'lv_disp_flush_ready()' has to be called when finished./ static void disp_flush(lv_disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p) ...
cd vendor/openvalley/niobeu4/demo/cp -f302_lvgl/lv_conf_template.h 302_lvgl/lv_conf.h 完成以上目录结构如图: 2.源码修改 2.1 配置make menuconfig相关信息 在vendor/openvalley/niobeu4/demo/Kconfig.liteos_m.applications最后添加 default"302_lvgl"if NIOBEU4_APPLICATION_302 ...
refactor: rename LV_THEME_BASIC to LV_THEME_SIMPLE 1年前 examples refact(anim_timeline): refact anim timeline design (#5061) 1年前 scripts refactor(image): add magic to image header (#5051) 1年前 src fix(freetype): fix compile error with freetype outline (#5094) ...
lv_conf.h 修改配置 #define LV_USE_DEMO_BENCHMARK 1 测试结果为 FPS: 100 左右 5、错误解决 第一次运行会报以下错误 [root@milkv-duo]~# ./demo -sh: ./demo: not found 经过milk-v 论坛查询,得知此错误由于缺少了一个动态链接库。在 milk-v duo 开发板上运行如下命令即可正常运行。 [root@milk...
How to Use Design Considerations Examples NXP PXP and VGLite GPU DMA2D GPU New widgetWidgets Base object (lv_obj) Overview Coordinates Parents and children Display and Screens Events Styles Flags Groups Extended click area Events Keys Example Base objects with custom styles Make an object draggable...