-
Notifications
You must be signed in to change notification settings - Fork 185
esp32: allow external USER_C_MODULES from command line #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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.
@@ -70,4 +70,4 @@ | |||
url = https://github.com/arduino/arduino-lib-mpy.git | |||
[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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -8,3 +8,7 @@ set(SDKCONFIG_DEFAULTS | |||
boards/sdkconfig.spiram_sx | |||
boards/ESP32_GENERIC_S3/sdkconfig.board | |||
) | |||
|
|||
set(LV_CFLAGS -DLV_COLOR_DEPTH=16 -DLV_COLOR_16_SWAP=1) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Summary
The esp32 port hardcodes
USER_C_MODULES
to point tolv_binding_micropython
and breaks the ability to pass in additional user modules via command line. This PR fixes that issueTesting
I successfully built the esp32 port both with and without additional user modules