Skip to content
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

Add address_little_endian and fix display memory reuse #7891

Merged
merged 6 commits into from
Apr 26, 2023

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Apr 21, 2023

Add address_little_endian for epaper displays with little endian
(low byte first) addresses.

Also clears allocated display and display bus memory so it has a
known state. The acep member wasn't always set so it varied
accidentally.

Fixes #7560. May fix #7778. Fixes #5119.

Add address_little_endian for epaper displays with little endian
(low byte first) addresses.

Also clears allocated display and display bus memory so it has a
known state. The acep member wasn't always set so it varied
accidentally.

Fixes micropython#7560. May fix micropython#7778. Fixes micropython#5119.
@tannewt tannewt requested a review from dhalbert April 24, 2023 19:43
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

I did not see any code issues, but I smoke-tested this on a PYPortal, CLUE, MONSTER M4SK, and a Macropad (I2C display). All but the Macropad were fine. On the Macropad, there is some kind of rolling/flickering effect. The first time I loaded it, the screen was unreadable. The second time, I could see the REPL, but there was a rolling effect down from the top.

@tannewt
Copy link
Member Author

tannewt commented Apr 25, 2023

Thanks for the testing! I didn't fully move Display over to the core attributes. Fixed now.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

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

Retested on macropad; all fine now. Also thanks for redoing the validations.

@dhalbert dhalbert merged commit 34f565d into adafruit:main Apr 26, 2023
340 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants