Skip to content

Conversation

@shlomozippel
Copy link

Summary

The esp32 port hardcodes USER_C_MODULES to point to lv_binding_micropython and breaks the ability to pass in additional user modules via command line. This PR fixes that issue

Testing

I successfully built the esp32 port both with and without additional user modules

Copy link
Collaborator

@PGNetHun PGNetHun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all these changes, it's super.
I have added only a few comments that need to be resolved, before merging to main.

[submodule "user_modules/lv_binding_micropython"]
path = user_modules/lv_binding_micropython
url = https://github.com/lvgl/lv_binding_micropython.git
url = https://github.com/hero-not-found/lv_binding_micropython.git
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please change back to original LVGL binding repo
  2. Create a separate PR in binding repo with your changes, and add link to it in this PR's description field (or comment).
image

boards/ESP32_GENERIC_S3/sdkconfig.board
)

set(LV_CFLAGS -DLV_COLOR_DEPTH=16 -DLV_COLOR_16_SWAP=1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is display-dependent code, please remove this line.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it worth to include HW display drivers here in this file?
Like ili9341 or xpt2046 or TWatch...
I think this file could be simplified to initialize only SDL.

@shlomozippel
Copy link
Author

Apologies - this PR was supposed to only include a single commit. I can clean up the other stuff and submit separately. Closing this PR for now and opening a new one with just the USER_C_MODULES change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants