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

DMA2D causes hard fault in lv_draw_stm32_dma2d_blend_fill() function #3

Open
DWWelch opened this issue Jul 26, 2024 · 4 comments
Open

Comments

@DWWelch
Copy link

DWWelch commented Jul 26, 2024

I found the problem with the lv_draw_stm32_dma2d_blend_fill() function. You need to add the following to the DMA2D configuration in the function to prevent the hard fault:

DMA2D->OPFCCR = LV_DMA2D_COLOR_FORMAT;

Dan

@kisvegabor
Copy link
Member

Thank you for pointing it out!

Could you send a pull request?

@liamHowatt
Copy link

I see that being done here and a few other places in _lv_draw_stm32_dma2d_blend_fill. Is there a place where it was left out accidentally?

@liamHowatt
Copy link

Oh I see, it's correct in LVGL release/v8.4 but not the submodule version of this port. Maybe we can use the latest version of v8.

@kisvegabor
Copy link
Member

Oh, nice! I think we should do this:

  • create a release/v8.4 branch
  • create the release/v9.0, release/v9.1, release/v9.2 branches. Hopefully in v9.2 we will have your new DMA2D driver.

I'll do it when testing this DMA2D of v9.

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

No branches or pull requests

3 participants