Skip to content

Commit 910ec59

Browse files
faxe1008kartben
authored andcommitted
boards: stm32h7b3i_dk: Move LV_DRAW_DMA2D_HAL_INCLUDE to the soc
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]>
1 parent 337d271 commit 910ec59

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

boards/st/stm32h7b3i_dk/Kconfig.defconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ config CACHE_MANAGEMENT
2525
config LV_USE_DRAW_DMA2D
2626
default y
2727

28-
config LV_DRAW_DMA2D_HAL_INCLUDE
29-
default "stm32h7xx.h"
30-
3128
config STM32_LTDC_FB_NUM
3229
default 2
3330

soc/st/stm32/stm32h7x/Kconfig.defconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,11 @@ config ROM_START_OFFSET
1414
default 0x400 if BOOTLOADER_MCUBOOT
1515
default 0x0 if !BOOTLOADER_MCUBOOT
1616

17+
if LVGL
18+
19+
config LV_DRAW_DMA2D_HAL_INCLUDE
20+
default "stm32h7xx.h"
21+
22+
endif # LVGL
23+
1724
endif # SOC_SERIES_STM32H7X

0 commit comments

Comments
 (0)