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

Moving SDRAM.begin() on Arduino_H7_Video - Artifacts Issue Fix #1000

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

Jorgetrujilloroman
Copy link
Contributor

This PR fixes issues like the reported here

@leonardocavagnis leonardocavagnis self-assigned this Nov 28, 2024
@leonardocavagnis leonardocavagnis self-requested a review December 3, 2024 08:41
Copy link
Member

@leonardocavagnis leonardocavagnis left a comment

Choose a reason for hiding this comment

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

Please @Jorgetrujilloroman apply this fix only on GIGA target

#if defined(ARDUINO_GIGA) 
/* Configure SDRAM */
SDRAM.begin(dsi_getFramebufferEnd()); // Moving this line from line 156 to here solves the artifacts issue
#endif

...

#if !defined(ARDUINO_GIGA)
/* Configure SDRAM */
SDRAM.begin(dsi_getFramebufferEnd()); //FIXME: SDRAM init after video controller init can cause display glitch at start-up
#endif

@Jorgetrujilloroman
Copy link
Contributor Author

@leonardocavagnis Done

@leonardocavagnis leonardocavagnis merged commit f7fee48 into arduino:main Dec 10, 2024
11 checks passed
@leonardocavagnis
Copy link
Member

@Jorgetrujilloroman Thanks!

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.

2 participants