-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
espressif: Enable the _eve module #9243
Conversation
Signed-off-by: Tuan Nguyen <[email protected]>
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.
To do this in general, do it in ports/espressif/mpconfigport.mk
. Right now you've enabled it on some boards, but many are omitted. But it might not fit on some boards.
We have enabled this on certain boards by request, but it's not enabled by default in general. |
The switch must be in the boards/[board_name]/mpconfigport.mk file because:
|
I understand. How did you choose which boards to add |
I have selected all the boards from vendors: Adafruit, Arduino, Espressif, and AI-Thinker because these are development boards, allowing users to try them with an EVE module. |
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 the discussion. I've noted one board that is designed for driving other displays and shouldn't be on this list.
@tannewt how do you feel about this addition?
|
||
CIRCUITPY__EVE = 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 board is already for driving a particular kind of display, so let's not add _eve
to this.
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.
I removed this line from espressif/boards/adafruit_qualia_s3_rgb666/mpconfigboard.mk.
The configuration is refactored to espressif/mpconfigport.mk at commit 8d57867
I'm happy to see eve enabled on espressif. I agree with you that the enabling should be refactored into mpconfigport. The other thing to consider is whether it is on by default for future boards.
Disable EVE on these boards instead. There is likely other display functionality disabled too.
Do something similar to: circuitpython/ports/espressif/mpconfigport.mk Lines 132 to 137 in ca2a24e
That way you can set a reasoned default for future boards. |
- Refactored build configurations into mpconfigport Signed-off-by: Tuan Nguyen <[email protected]>
I have enabled the _eve module by default for all ESP boards with a flash size greater than 2MB as of commit 8d57867. For boards that already have a display, I have still enabled the _eve module for future use. |
Signed-off-by: Tuan Nguyen <[email protected]>
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.
Looks good! Thank you!
Enable the _eve module for espressif mcu.