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

Align dma buffers #248

Merged
merged 2 commits into from
May 5, 2023
Merged

Align dma buffers #248

merged 2 commits into from
May 5, 2023

Conversation

mickeprag
Copy link
Contributor

The size of the buffers used by DMA must be word aligned. If the width of the display is not aligned we increase the buffer slightly.

For instance the display ED060KC1 has a width of 1448 pixels. The DMA buffer would be 362 bytes (1448/4) and this will not work with the ESP32 DMA driver. Instead the buffer will be increased to 364 bytes.

Also a small fix for faulty boards which made the power on code loop forever.

mickeprag added 2 commits May 3, 2023 08:44
If the TPS65185 are unable to start the PWRGOOD signal will never assert.
The size of the buffers used by DMA must be word aligned. If the
width of the screen is not aligned we increase the buffer slightly.
@vroland
Copy link
Owner

vroland commented May 5, 2023

Looks good to me, thank you!

@vroland vroland merged commit 221f068 into vroland:master May 5, 2023
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