Skip to content

Compile own frozen modules and support for more displays/touch sensors #442

@ste7anste7an

Description

@ste7anste7an

Hi,

I succesfully build the lvgl_micropython for an ESP32 with PSRAM. I was able to integrate my own ext_mod by adding the c code directory to /ext_mod and adding an extra rule to micropython.cmake.

Now, I have two questions:

  1. How could I build a firmware supporting more than 1 display and/or touch driver (e.g. ili9341 and ft7789 and XT2046 and cst816s)? Can I manually add them just before final compilation, or is there a smarter way?

  2. I would like to add some .py modules to be included as frozen modules (.mpy) in the firmware. When I just add them to /lib/micropython/ports/esp32/modules, I do see them endig up in the firmware (when viewing in hexdump), but when using help('modules') they do not show up. How would I get my own forzen modules succesfully integrated?

I like the single make.py that loads, extracts, and build all in one go!

regards,
Stefan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions