Skip to content
Development
Skill

/lvgl-integration

Use when integrating, porting, configuring, or debugging LVGL, littlevGL, display drivers, input devices, ticks, draw buffers, or embedded GUI performance

From plugin
aix-skills
3876 skills

Claude Code

$ npx -y skills add easyzoom/aix-skills --skill lvgl-integration --agent claude-code

SKILL.md

lvgl-integration.SKILL.md
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

1. Bring up display flush. Fill the screen with solid colors before creating complex widgets.

1. Configure draw buffers. Buffer size, color format, stride, and cache/DMA policy must match the display path.

1. Provide a reliable tick. LVGL needs a monotonic tick and regular handler execution.

1. Add input after display. Touch/encoder/keypad should be calibrated and tested independently.

1. Bound memory. Configure heap, widget count, image assets, fonts, and buffers for the target RAM.

1. 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:

1. Asks for LVGL version, display controller, color format, buffer config, rotation, and touch driver. 1. Tests solid colors and flush-ready before widgets. 1. Calibrates touch transform after display orientation is correct.

Read more
@easyzoom
Ships withaix-skills

AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.

Stars on GitHub

Momentum

stars in total
38
Star history of easyzoom/aix-skills on GitHub, a chart by star-history.com

Other skills on aix-skills.

8051-mcu-debug

8051-mcu-debug

Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…

@easyzoom@easyzoomInstall Skill
avem-integration

avem-integration

Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…

@easyzoom@easyzoomInstall Skill
ble-gatt-integration

ble-gatt-integration

Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…

@easyzoom@easyzoomInstall Skill
bootloader-debug

bootloader-debug

Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…

@easyzoom@easyzoomInstall Skill
canbus-integration

canbus-integration

Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…

@easyzoom@easyzoomInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about lvgl-integration.

Which coding agents can use lvgl-integration?
lvgl-integration installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.