Skip to content

How to port lvgl-micropython to new MCU platforms and adapt to different hardware? #550

Description

@leezisheng

Hi LVGL MicroPython maintainers,
First of all, thank you for developing this excellent project that makes LVGL GUI available for MicroPython-based embedded development!
I am currently working on porting the lvgl-micropython project to different MCU platforms (including domestic Chinese MCUs, new Raspberry Pi Pico series variants, and other third-party embedded boards), and I would like to ask for guidance on the porting process:

  1. What are the core source files / modules that must be modified or implemented when porting lvgl-micropython to a new MCU?
  2. What are the key hardware adaptation points (such as SPI/QSPI bus configuration, display driver integration, touch controller support, pin mapping, timer setup, and memory allocation) that need to be addressed for a new MCU?
  3. Is there an official porting guide, documentation, or reference example for adding support for a new MCU in the lvgl-micropython project?
  4. Are there any common pitfalls, best practices, or checklists to follow during the porting process to avoid common issues like MemoryError, display glitches, touch coordinate misalignment, or firmware build failures?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions