lvgl-integration
Use when integrating, porting, configuring, or debugging LVGL, littlevGL, display drivers, input devices, ticks, draw buffers, or embedded GUI performance
DeepseekModel
官方收录技能
质量 良好 · 64
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=easyzoom-aix-skills-skills-lvgl-integration-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name lvgl-integration description Use when integrating, porting, configuring, or debugging LVGL, littlevGL, display drivers, input devices, ticks, draw buffers, or embedded GUI performance LVGL Integration Overview Use this skill to integrate LVGL by proving four porting contracts: display flush, input device read, tick/timebase, and memory/draw buffer configuration. UI bugs often come from driver timing or buffer ownership, not widget logic. When To Use Use this skill when: The user wants to add or debug LVGL/littlevGL on an MCU or embedded Linux display. The issue involves blank screen, wrong colors, tearing, touch offset, slow refresh, memory faults, tick handling, or display flush callbacks. The project has display, touch, encoder, keypad, RTOS, or DMA/cache constraints. Do not use this skill when the display hardware has no proven signal. Use hardware-interface-debug first. First Questions Ask for: LVGL major version and target platform. Display controller, resolution, color format, interface, and framebuffer/draw buffer strategy. Input devices: touch, buttons, encoder, keypad, or none. Tick source and lv_timer_handler scheduling. RAM budget, heap policy, RTOS use, DMA/cache involvement. Current symptom and minimal screen test result. Integration Checklist Bring up display flush. Fill the screen with solid colors before creating complex widgets. Configure draw buffers. Buffer size, color format, stride, and cache/DMA policy must match the display path. Provide a reliable tick. LVGL needs a monotonic tick and regular handler execution. Add input after display. Touch/encoder/keypad should be calibrated and tested independently. Bound memory. Configure heap, widget count, image assets, fonts, and buffers for the target RAM. Verify refresh performance. Measure frame time, flush completion, and whether lv_disp_flush_ready is called correctly. Common Failures Blank screen because flush callback never calls ready. Wrong colors from RGB/BGR or 16-bit endian mismatch. Touch coordinates need rotation/calibration transform. UI freezes because lv_timer_handler is not called regularly. DMA reads stale cache lines or writes to non-DMA-capable memory. Fonts/images exceed flash or RAM budgets. Verification Before claiming LVGL works: State LVGL version, resolution, color format, buffer size, and tick period. Confirm solid color flush, a label/button screen, and input event if applicable. Confirm lv_timer_handler schedule and flush-ready behavior. Confirm memory usage and DMA/cache policy when relevant. Example User: LVGL 移植后屏幕花屏,触摸也偏。 Agent: Asks for LVGL version, display controller, color format, buffer config, rotation, and touch driver. Tests solid colors and flush-ready before widgets. Calibrates touch transform after display orientation is correct.
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |