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

stm32_dma2d: (fix) remove unused functions #50

Conversation

CharlesDias
Copy link

@CharlesDias CharlesDias commented Jan 30, 2024

When the DMA2D is enabled, the build system shows [-Werror=unused-function] error message related to the functions below:

  • _lv_gpu_stm32_dma2d_invalidate_cache
  • _lv_draw_stm32_dma2d_copy_buffer
  • lv_gpu_stm32_dma2d_wait_cb
  • lv_draw_stm32_dma2d_img

These functions are not used, and the compiler error breaks the CI. See PR zephyrproject-rtos/zephyr#68254.

When the DMA2D is enabled, the build system shows [-Werror=unused-function]
error message related to the functions below:

- _lv_gpu_stm32_dma2d_invalidate_cache
- _lv_draw_stm32_dma2d_copy_buffer
- lv_gpu_stm32_dma2d_wait_cb
- lv_draw_stm32_dma2d_img

These functions are not used.

Signed-off-by: Charles Dias <[email protected]>
@dolence
Copy link

dolence commented Feb 5, 2024

Is DMA2D working on STM32 LVGL?

@CharlesDias
Copy link
Author

Is DMA2D working on STM32 LVGL?

I tested on STM32H7B3I DK board and worked great after enable some configuration. You can check the PR zephyrproject-rtos/zephyr#68254

@faxe1008
Copy link
Contributor

faxe1008 commented Feb 6, 2024

Closing this in favor of merging upstream changes:
lvgl/lvgl#5561

@faxe1008 faxe1008 closed this Feb 6, 2024
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.

3 participants