Skip to content

Commit

Permalink
boards: stm32h7b3i_dk: Move LV_DRAW_DMA2D_HAL_INCLUDE to the soc
Browse files Browse the repository at this point in the history
Moves the LV_DRAW_DMA2D_HAL_INCLUDE to the soc instead of the development
kit since the hal include is the same across all boards using the soc.

Signed-off-by: Fabian Blatz <[email protected]>
  • Loading branch information
faxe1008 authored and kartben committed Jan 8, 2025
1 parent 337d271 commit 910ec59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 0 additions & 3 deletions boards/st/stm32h7b3i_dk/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ config CACHE_MANAGEMENT
config LV_USE_DRAW_DMA2D
default y

config LV_DRAW_DMA2D_HAL_INCLUDE
default "stm32h7xx.h"

config STM32_LTDC_FB_NUM
default 2

Expand Down
7 changes: 7 additions & 0 deletions soc/st/stm32/stm32h7x/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ config ROM_START_OFFSET
default 0x400 if BOOTLOADER_MCUBOOT
default 0x0 if !BOOTLOADER_MCUBOOT

if LVGL

config LV_DRAW_DMA2D_HAL_INCLUDE
default "stm32h7xx.h"

endif # LVGL

endif # SOC_SERIES_STM32H7X

0 comments on commit 910ec59

Please sign in to comment.